Enum Class MissingDataSpec.EffectiveSampleSizeMode
java.lang.Object
java.lang.Enum<MissingDataSpec.EffectiveSampleSizeMode>
edu.cmu.tetrad.data.missing.MissingDataSpec.EffectiveSampleSizeMode
- All Implemented Interfaces:
Serializable, Comparable<MissingDataSpec.EffectiveSampleSizeMode>, Constable
- Enclosing class:
MissingDataSpec
public static enum MissingDataSpec.EffectiveSampleSizeMode
extends Enum<MissingDataSpec.EffectiveSampleSizeMode>
How the effective sample size used by penalized scores (e.g., the n in BIC) is determined when the analysis
runs on a covariance matrix estimated from incomplete data. With missing entries, the nominal number of rows
overstates the information actually available; these modes offer conservative alternatives.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the full number of rows of the dataset.Use the mean, over variable pairs, of the number of rows on which both variables are observed.Use the minimum, over variable pairs, of the number of rows on which both variables are observed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FULL_N
Use the full number of rows of the dataset. The default; anti-conservative when much data is missing. -
MIN_PAIRWISE
Use the minimum, over variable pairs, of the number of rows on which both variables are observed. The most conservative choice. -
MEAN_PAIRWISE
Use the mean, over variable pairs, of the number of rows on which both variables are observed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-