com.kutsyy.lvspod
Class OrdinalSpatialBayesianImpSampling

java.lang.Object
  |
  +--com.kutsyy.lvspod.OrdinalSpatialAbstract
        |
        +--com.kutsyy.lvspod.OrdinalSpatialAbstractSample
              |
              +--com.kutsyy.lvspod.OrdinalSpatialBayesianAbstract
                    |
                    +--com.kutsyy.lvspod.OrdinalSpatialBayesianImpSampling
All Implemented Interfaces:
Function, MvFunction

public class OrdinalSpatialBayesianImpSampling
extends OrdinalSpatialBayesianAbstract


Fields inherited from class com.kutsyy.lvspod.OrdinalSpatialBayesianAbstract
alpha1, alpha2, cx, expX, inteructive, m, phiSim, Plot, rndBeta, run, thetaSim, TTrueX, TTrueXPLE, w, xcxC, xSim, xxC
 
Fields inherited from class com.kutsyy.lvspod.OrdinalSpatialAbstract
beta, betaKeep, Brent, EPS, gradient, itotal, K, keepConstant, L, lambda, Loc, M, max_over, Mnbrak, N, NeighborDefinition, p, phi, PHI_LIMIT, phiKeep, phiVar, Powell, rnd, Sigma, sqrtSigma, theta, THETA_BETWEEN, THETA_LIMIT, thetaKeep, thetal, thetaL, thetau, thetaU, TimeSeries, TrueBeta, TruePhi, TrueTheta, TrueX, W, x, xi, xLoc, xx, Y, yLoc, Z
 
Constructor Summary
  OrdinalSpatialBayesianImpSampling()
          OrdinalSpatialBayesianImpSampling constructor comment.
  OrdinalSpatialBayesianImpSampling(int[] y)
          OrdinalSpatialBayesianImpSampling constructor comment.
  OrdinalSpatialBayesianImpSampling(int[] y, double[][] z)
          OrdinalSpatialBayesianImpSampling constructor comment.
protected OrdinalSpatialBayesianImpSampling(int[] y, double phi, double[] theta, SpatialPoint[] loc, double[] beta, double[][] z, int[][] neighborDefinition)
          OrdinalSpatialBayesianImpSampling constructor comment.
protected OrdinalSpatialBayesianImpSampling(int[] y, int[] xLocation, int[] yLocation, double[][] z)
          OrdinalSpatialBayesianImpSampling constructor comment.
  OrdinalSpatialBayesianImpSampling(int[] y, int[] xLocation, int[] yLocation, double[][] z, int[][] neighborgood)
          OrdinalSpatialBayesianImpSampling constructor comment.
 
Method Summary
 void estimate()
          Description of the Method
 void estimate(boolean Inteructive)
          Description of the Method
protected  double lognor(double x)
           
protected  double lognor(double x, double mu, double sd)
          Description of the Method
protected  double XgivenPhiThetaAndLogW(double[] Xi, double Phi, double[] Theta, double[] Beta)
          Description of the Method
 
Methods inherited from class com.kutsyy.lvspod.OrdinalSpatialBayesianAbstract
f, lL, lL, phiGivenX, piTheta, thetaGivenX
 
Methods inherited from class com.kutsyy.lvspod.OrdinalSpatialAbstractSample
ntrc, ntrc, ntrc, simPseudoX
 
Methods inherited from class com.kutsyy.lvspod.OrdinalSpatialAbstract
beta, createEigenvalues, createLoc, createSigma, createW, define, estimate, estimate, estimate, estimate, estimate, f, g, grad, initializeL, ll, lL, lL, ll, makeThetaLU, test, testBeta, testPhi, testPhiBeta, updateY
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

OrdinalSpatialBayesianImpSampling

public OrdinalSpatialBayesianImpSampling()
OrdinalSpatialBayesianImpSampling constructor comment.

OrdinalSpatialBayesianImpSampling

public OrdinalSpatialBayesianImpSampling(int[] y)
OrdinalSpatialBayesianImpSampling constructor comment.
Parameters:
y - int[]

OrdinalSpatialBayesianImpSampling

public OrdinalSpatialBayesianImpSampling(int[] y,
                                         double[][] z)
OrdinalSpatialBayesianImpSampling constructor comment.
Parameters:
y - int[]
z - double[][]

OrdinalSpatialBayesianImpSampling

protected OrdinalSpatialBayesianImpSampling(int[] y,
                                            int[] xLocation,
                                            int[] yLocation,
                                            double[][] z)
OrdinalSpatialBayesianImpSampling constructor comment.
Parameters:
y - int[]
xLocation - int[]
yLocation - int[]
z - double[][]

OrdinalSpatialBayesianImpSampling

public OrdinalSpatialBayesianImpSampling(int[] y,
                                         int[] xLocation,
                                         int[] yLocation,
                                         double[][] z,
                                         int[][] neighborgood)
OrdinalSpatialBayesianImpSampling constructor comment.
Parameters:
y - int[]
xLocation - int[]
yLocation - int[]
z - double[][]
neighborgood - int[][]

OrdinalSpatialBayesianImpSampling

protected OrdinalSpatialBayesianImpSampling(int[] y,
                                            double phi,
                                            double[] theta,
                                            SpatialPoint[] loc,
                                            double[] beta,
                                            double[][] z,
                                            int[][] neighborDefinition)
OrdinalSpatialBayesianImpSampling constructor comment.
Parameters:
y - int[]
phi - double
theta - double[]
loc - com.kutsyy.lvspod.SpatialPoint[]
beta - double[]
z - double[][]
neighborDefinition - int[][]
Method Detail

lognor

protected double lognor(double x)

lognor

protected double lognor(double x,
                        double mu,
                        double sd)
Description of the Method
Parameters:
x - Description of Parameter
mu - Description of Parameter
sd - Description of Parameter
Returns:
Description of the Returned Value

estimate

public void estimate()
Description of the Method
Overrides:
estimate in class OrdinalSpatialAbstract
Parameters:
Inteructive - Description of Parameter

estimate

public void estimate(boolean Inteructive)
Description of the Method
Parameters:
Inteructive - Description of Parameter

XgivenPhiThetaAndLogW

protected double XgivenPhiThetaAndLogW(double[] Xi,
                                       double Phi,
                                       double[] Theta,
                                       double[] Beta)
Description of the Method
Parameters:
Xi - Description of Parameter
Phi - Description of Parameter
Theta - Description of Parameter
Beta - Description of Parameter
Returns:
Description of the Returned Value