Record Class GRegressionPag.BootstrapResult
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.GRegressionPag.BootstrapResult
- Record Components:
treatment- The treatment.outcome- The outcome.effect- The estimate on the full sample.standardError- The bootstrap standard error.numFailed- Replications discarded because the fit or the adjustment search failed.
- Enclosing class:
GRegressionPag
-
Constructor Summary
ConstructorsConstructorDescriptionBootstrapResult(Node treatment, Node outcome, double effect, double standardError, int numFailed) Creates an instance of aBootstrapResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleeffect()Returns the value of theeffectrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thenumFailedrecord component.outcome()Returns the value of theoutcomerecord component.doubleReturns the value of thestandardErrorrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetreatmentrecord component.
-
Constructor Details
-
BootstrapResult
public BootstrapResult(Node treatment, Node outcome, double effect, double standardError, int numFailed) Creates an instance of aBootstrapResultrecord class.- Parameters:
treatment- the value for thetreatmentrecord componentoutcome- the value for theoutcomerecord componenteffect- the value for theeffectrecord componentstandardError- the value for thestandardErrorrecord componentnumFailed- the value for thenumFailedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
treatment
-
outcome
-
effect
-
standardError
public double standardError()Returns the value of thestandardErrorrecord component.- Returns:
- the value of the
standardErrorrecord component
-
numFailed
-