public class PolychoricTwoStep extends AbstractPolychoricCorrelation
Modifier and Type | Class and Description |
---|---|
class |
PolychoricTwoStep.TwoStepLikelihoodFunction
Likelihood function for the two-step approximation.
|
columnThresholds, data, fmin, incremental, N, ncol, norm, nrow, rho, rowThresholds, table
Constructor and Description |
---|
PolychoricTwoStep()
Constructor for incrementally updating the data.
|
PolychoricTwoStep(double[][] data)
Constructor for use when data have been summarized in an row x column frequency
table.
|
PolychoricTwoStep(TwoWayTable table)
Constructor for use when data have been summarized in a TwoWayTable.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
print() |
double |
value()
Two-step estimate of the polychoric correlation.
|
cumulativeColumnSums, cumulativeRowSums, extractColumnThresholds, extractRho, extractRowThresholds, getColumnThresholds, getParameterArray, getRowThresholds, increment, increment, increment, initialize, logLikelihood
public PolychoricTwoStep(double[][] data)
data
- a row by column table of frequencies.public PolychoricTwoStep(TwoWayTable table)
table
- a TwoWayTable.public PolychoricTwoStep()