Package edu.cmu.tetrad.util
Class RowCorrelationEffN.Result
java.lang.Object
edu.cmu.tetrad.util.RowCorrelationEffN.Result
- Enclosing class:
RowCorrelationEffN
Represents the result of an average pairwise row correlation estimation, containing the adjusted average row
correlation value, the effective sample size, and the number of row pairs used in the computation.
This class is immutable and its fields are final to ensure thread safety.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleThe adjusted average pairwise row correlation value, computed as rho_hat and clamped to the range [0, 1).final doubleThe effective sample size, calculated as N / (1 + (N-1) * rho_hat).final intThe number of row pairs used in the calculation. -
Method Summary
-
Field Details
-
avgRowCorrelation
public final double avgRowCorrelationThe adjusted average pairwise row correlation value, computed as rho_hat and clamped to the range [0, 1). This value is an estimate of the average linear correlation between pairs of rows within a dataset, after applying adjustments to restrict it within the specified bounds for stability and interpretability. -
effN
public final double effNThe effective sample size, calculated as N / (1 + (N-1) * rho_hat). -
pairsUsed
public final int pairsUsedThe number of row pairs used in the calculation.
-
-
Method Details
-
toString
Returns a string representation of the result, including the adjusted average row correlation value (rho_hat), the effective sample size (Neff), and the number of row pairs used in the computation.
-