com.kutsyy.lvspod
Class OrdinalSpatialBayesianAbstract

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

public abstract class OrdinalSpatialBayesianAbstract
extends OrdinalSpatialAbstractSample


Field Summary
 double alpha1
          Description of the Field
 double alpha2
          Description of the Field
protected  double[] cx
           
protected  double[] expX
          Description of the Field
protected  boolean inteructive
          Description of the Field
protected  int m
          Description of the Field
(package private)  double[] phiSim
          Description of the Field
protected  OrdinalSpatialBayesianPlot Plot
          Description of the Field
protected  Beta rndBeta
          Description of the Field
protected  int run
           
(package private)  double[][] thetaSim
          Description of the Field
protected  OrdinalSpatialCLTrueX TTrueX
          Description of the Field
protected  OrdinalSpatialCLTrueXPLE TTrueXPLE
          Description of the Field
protected  double[] w
          Description of the Field
(package private)  double[] xcxC
           
protected  double[][] xSim
          Description of the Field
(package private)  double[] 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
  OrdinalSpatialBayesianAbstract()
          put your documentation comment here
  OrdinalSpatialBayesianAbstract(int[] y)
           
  OrdinalSpatialBayesianAbstract(int[] y, double[][] z)
           
protected OrdinalSpatialBayesianAbstract(int[] y, double phi, double[] theta, SpatialPoint[] loc, double[] beta, double[][] z, int[][] neighborDefinition)
          OrdinalSpatialEM constructor comment.
protected OrdinalSpatialBayesianAbstract(int[] y, int[] xLocation, int[] yLocation, double[][] z)
          OrdinalSpatialPLEM constructor comment.
  OrdinalSpatialBayesianAbstract(int[] y, int[] xLocation, int[] yLocation, double[][] z, int[][] Neighborgood)
           
 
Method Summary
 double f(double Phi)
          Insert the method's description here.
 double lL()
          put your documentation comment here
protected  double lL(double phi, double[] theta, DoubleMatrix1D beta)
          Insert the method's description here.
protected  void phiGivenX()
          Description of the Method
protected  void piTheta(double[] Theta)
           
protected  void thetaGivenX()
          Description of the Method
 
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, 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
 

Field Detail

alpha1

public double alpha1
Description of the Field

alpha2

public double alpha2
Description of the Field

cx

protected double[] cx

rndBeta

protected Beta rndBeta
Description of the Field

m

protected int m
Description of the Field

run

protected int run

xSim

protected double[][] xSim
Description of the Field

w

protected double[] w
Description of the Field

Plot

protected OrdinalSpatialBayesianPlot Plot
Description of the Field

inteructive

protected boolean inteructive
Description of the Field

TTrueX

protected OrdinalSpatialCLTrueX TTrueX
Description of the Field

TTrueXPLE

protected OrdinalSpatialCLTrueXPLE TTrueXPLE
Description of the Field

expX

protected double[] expX
Description of the Field

thetaSim

double[][] thetaSim
Description of the Field

phiSim

double[] phiSim
Description of the Field

xxC

double[] xxC

xcxC

double[] xcxC
Constructor Detail

OrdinalSpatialBayesianAbstract

public OrdinalSpatialBayesianAbstract()
put your documentation comment here

OrdinalSpatialBayesianAbstract

public OrdinalSpatialBayesianAbstract(int[] y)

OrdinalSpatialBayesianAbstract

public OrdinalSpatialBayesianAbstract(int[] y,
                                      double[][] z)

OrdinalSpatialBayesianAbstract

public OrdinalSpatialBayesianAbstract(int[] y,
                                      int[] xLocation,
                                      int[] yLocation,
                                      double[][] z,
                                      int[][] Neighborgood)

OrdinalSpatialBayesianAbstract

protected OrdinalSpatialBayesianAbstract(int[] y,
                                         double phi,
                                         double[] theta,
                                         SpatialPoint[] loc,
                                         double[] beta,
                                         double[][] z,
                                         int[][] neighborDefinition)
OrdinalSpatialEM constructor comment.
Parameters:
y - int[]
phi - double
theta - double[]
loc - com.kutsyy.lvspod.SpatialPoint[]
beta - cern.colt.matrix.DoubleMatrix1D
z - cern.colt.matrix.DoubleMatrix2D
neighborDefinition - int[][]

OrdinalSpatialBayesianAbstract

protected OrdinalSpatialBayesianAbstract(int[] y,
                                         int[] xLocation,
                                         int[] yLocation,
                                         double[][] z)
OrdinalSpatialPLEM constructor comment.
Parameters:
y - int[]
xLocation - int[]
yLocation - int[]
z - double[][]
Method Detail

lL

public double lL()
put your documentation comment here
Overrides:
lL in class OrdinalSpatialAbstract
Returns:
 

phiGivenX

protected void phiGivenX()
Description of the Method

thetaGivenX

protected void thetaGivenX()
Description of the Method

f

public double f(double Phi)
Insert the method's description here. Creation date: (4/3/2001 1:21:57 AM)
Overrides:
f in class OrdinalSpatialAbstract
Parameters:
x - double
Returns:
double

lL

protected double lL(double phi,
                    double[] theta,
                    DoubleMatrix1D beta)
Insert the method's description here.
Parameters:
phi - double
theta - double[]
beta - double[]
Returns:
double

piTheta

protected void piTheta(double[] Theta)