Record Class RubinsRules.Pooled
java.lang.Object
java.lang.Record
edu.cmu.tetrad.data.missing.RubinsRules.Pooled
- Record Components:
estimate- the mean of the estimatesstandardError- the square root of the total variancedegreesOfFreedom- the degrees of freedom for the t reference distributiont- the estimate over its standard errorpValue- the two-sided p-value for the estimate being zerofractionMissingInformation- the share of the information about the parameter lost to missing datawithinVariance- the average squared standard errorbetweenVariance- the variance of the estimates across data setsmin- the smallest estimatemax- the largest estimate
- Enclosing class:
RubinsRules
public static record RubinsRules.Pooled(double estimate, double standardError, double degreesOfFreedom, double t, double pValue, double fractionMissingInformation, double withinVariance, double betweenVariance, double min, double max)
extends Record
A pooled parameter.
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionPooled(double estimate, double standardError, double degreesOfFreedom, double t, double pValue, double fractionMissingInformation, double withinVariance, double betweenVariance, double min, double max) Creates an instance of aPooledrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thebetweenVariancerecord component.doubleReturns the value of thedegreesOfFreedomrecord component.final booleanIndicates whether some other object is "equal to" this one.doubleestimate()Returns the value of theestimaterecord component.doubleReturns the value of thefractionMissingInformationrecord component.final inthashCode()Returns a hash code value for this object.doublemax()Returns the value of themaxrecord component.doublemin()Returns the value of theminrecord component.doublepValue()Returns the value of thepValuerecord component.doubleReturns the value of thestandardErrorrecord component.doublet()Returns the value of thetrecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of thewithinVariancerecord component.
-
Constructor Details
-
Pooled
public Pooled(double estimate, double standardError, double degreesOfFreedom, double t, double pValue, double fractionMissingInformation, double withinVariance, double betweenVariance, double min, double max) Creates an instance of aPooledrecord class.- Parameters:
estimate- the value for theestimaterecord componentstandardError- the value for thestandardErrorrecord componentdegreesOfFreedom- the value for thedegreesOfFreedomrecord componentt- the value for thetrecord componentpValue- the value for thepValuerecord componentfractionMissingInformation- the value for thefractionMissingInformationrecord componentwithinVariance- the value for thewithinVariancerecord componentbetweenVariance- the value for thebetweenVariancerecord componentmin- the value for theminrecord componentmax- the value for themaxrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
estimate
-
standardError
public double standardError()Returns the value of thestandardErrorrecord component.- Returns:
- the value of the
standardErrorrecord component
-
degreesOfFreedom
public double degreesOfFreedom()Returns the value of thedegreesOfFreedomrecord component.- Returns:
- the value of the
degreesOfFreedomrecord component
-
t
-
pValue
-
fractionMissingInformation
public double fractionMissingInformation()Returns the value of thefractionMissingInformationrecord component.- Returns:
- the value of the
fractionMissingInformationrecord component
-
withinVariance
public double withinVariance()Returns the value of thewithinVariancerecord component.- Returns:
- the value of the
withinVariancerecord component
-
betweenVariance
public double betweenVariance()Returns the value of thebetweenVariancerecord component.- Returns:
- the value of the
betweenVariancerecord component
-
min
-
max
-