Package com.opttek.optquest
Class COptQuestChiSquareRandomVariable
java.lang.Object
com.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestUserControlledVariable
com.opttek.optquest.COptQuestChiSquareRandomVariable
A random variable with a chi-squared distribution: the sum of the squares of
df independent standard normal values. df, the degrees of freedom, is a
positive integer. The mean is df.
The engine draws a new value at the start of every replication. The probability
distribution is COptQuestChiSquareDistribution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestChiSquareRandomVariable(String name, int df) Constructs a new chi-squared random variable with the specified name and degrees of freedom. -
Method Summary
Methods inherited from class com.opttek.optquest.COptQuestUserControlledVariable
GetReplicationStatistic, GetReplicationStatisticValue, SetExclusiveRange, SetLowerBound, SetReplicationStatistic, SetUpperBoundMethods inherited from class com.opttek.optquest.COptQuestVariable
equals, GetDOELowerBound, GetDOEUpperBound, GetExclusiveLowerBoundAt, GetExclusiveUpperBoundAt, getID, GetLowerBound, GetName, GetNumberOfExclusiveRanges, GetStepSize, GetSuggestedValue, GetUpperBound, getVarRange, hashCode, isZeroOne, SetName
-
Constructor Details
-
COptQuestChiSquareRandomVariable
Constructs a new chi-squared random variable with the specified name and degrees of freedom.- Parameters:
name- the name/identifier of this random variable (used for reporting, logging, or display purposes)df- the degrees of freedom for the chi-squared distribution (must be a positive integer ≥ 1)- Throws:
COptQuestException
-