public abstract class AbstractPolychoricCorrelation extends java.lang.Object implements PolychoricCorrelation
Modifier and Type | Field and Description |
---|---|
protected double[] |
columnThresholds |
protected double[][] |
data |
protected double |
fmin |
protected boolean |
incremental |
protected double |
N |
protected int |
ncol |
protected org.apache.commons.math3.distribution.NormalDistribution |
norm |
protected int |
nrow |
protected double |
rho |
protected double[] |
rowThresholds |
protected TwoWayTable |
table |
Constructor and Description |
---|
AbstractPolychoricCorrelation() |
Modifier and Type | Method and Description |
---|---|
protected double[] |
cumulativeColumnSums() |
protected double[] |
cumulativeRowSums() |
protected double[] |
extractColumnThresholds(double[] par,
boolean uncmin) |
protected double |
extractRho(double[] par,
boolean uncmin) |
protected double[] |
extractRowThresholds(double[] par,
boolean uncmin) |
double[] |
getColumnThresholds() |
protected double[] |
getParameterArray(double rho,
double[] rc,
double[] cc) |
double[] |
getRowThresholds() |
void |
increment(char x,
char y) |
void |
increment(int x,
int y) |
void |
increment(long x,
long y) |
protected void |
initialize() |
protected double |
logLikelihood(double[] rowThresholds,
double[] colThresholds,
double rho) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
print, value
protected double[][] data
protected int nrow
protected int ncol
protected double N
protected double[] rowThresholds
protected double[] columnThresholds
protected double rho
protected double fmin
protected boolean incremental
protected TwoWayTable table
protected org.apache.commons.math3.distribution.NormalDistribution norm
protected void initialize()
protected double[] cumulativeRowSums()
protected double[] cumulativeColumnSums()
protected double[] getParameterArray(double rho, double[] rc, double[] cc)
protected double extractRho(double[] par, boolean uncmin)
protected double[] extractRowThresholds(double[] par, boolean uncmin)
protected double[] extractColumnThresholds(double[] par, boolean uncmin)
protected double logLikelihood(double[] rowThresholds, double[] colThresholds, double rho)
public double[] getRowThresholds()
getRowThresholds
in interface PolychoricCorrelation
public double[] getColumnThresholds()
getColumnThresholds
in interface PolychoricCorrelation
public void increment(int x, int y)
public void increment(char x, char y)
public void increment(long x, long y)