Package com.opttek.optquest
Class COptQuestNormalRandomVariable
java.lang.Object
com.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestUserControlledVariable
com.opttek.optquest.COptQuestNormalRandomVariable
A random variable with a normal distribution. The values spread symmetrically
around
mean. sigma, which must be greater than 0, is the standard deviation.
About 95 percent of the values are within 2 * sigma of mean.
The engine draws a new value at the start of every replication. The probability
distribution is COptQuestNormalDistribution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestNormalRandomVariable(String name, double mean, double sigma) Constructs a new normal random variable with the specified name, mean, and standard deviation. -
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
-
COptQuestNormalRandomVariable
public COptQuestNormalRandomVariable(String name, double mean, double sigma) throws COptQuestException Constructs a new normal random variable with the specified name, mean, and standard deviation.- Parameters:
name- the name/identifier of this random variable (used for reporting, logging, or display purposes)mean- the mean (location parameter, μ) of the normal distributionsigma- the standard deviation (scale parameter, σ > 0) of the normal distribution- Throws:
COptQuestException
-