Package edu.cmu.tetrad.util
Class EssLikePython.Result
java.lang.Object
edu.cmu.tetrad.util.EssLikePython.Result
- Enclosing class:
EssLikePython
Encapsulates the results of an estimation process, including average row correlation, effective sample size
(ESS), and the number of rows used in the computation.
avgRowCorr represents the average off-diagonal value of the row-row correlation matrix derived during the estimation process.
ess is the effective sample size, calculated as N / (1 + (N-1)*avgRowCorr), which may optionally be clamped.
mRowsUsed indicates the number of rows sampled and used in the computation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleRepresents the average off-diagonal value of the row-row correlation matrix computed during an estimation process.final doubleRepresents the effective sample size (ESS) calculated as N / (1 + (N-1)*avgRowCorr).final intRepresents the number of rows used in the computation. -
Method Summary
-
Field Details
-
avgRowCorr
public final double avgRowCorrRepresents the average off-diagonal value of the row-row correlation matrix computed during an estimation process. This value is used to assess the interdependence between rows in the data and influences other derived statistics such as the effective sample size (ESS). -
ess
public final double essRepresents the effective sample size (ESS) calculated as N / (1 + (N-1)*avgRowCorr). This statistic is used to adjust the sample size based on the average row correlation of the dataset. The value may optionally be clamped to a specific range, depending on the application context. -
nRowsUsed
public final int nRowsUsedRepresents the number of rows used in the computation.
-
-
Method Details
-
toString
Returns a string representation of the Result object, which includes the average row correlation (avgRowCorr), effective sample size (ESS), and the number of rows used in the computation (m).
-