Pearson Type5
class PearsonType5(shape: Double = 1.0, scale: Double = 1.0, name: String? = null) : Distribution, ContinuousDistributionIfc, InverseCDFIfc, GetRVariableIfc, RVParametersTypeIfc, MomentsIfc(source)
Represents a Pearson Type V distribution, see Law (2007) Simulation Modeling and Analysis, McGraw-Hill, pg 293
Parameters
shape
must be >0
scale
must be > 0
name
an optional label/name
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Computes the natural log of the pdf function evaluated at x. Implementations may want to specify computationally efficient formulas for this function.
Link copied to clipboard
Gets the parameters
Sets the parameters of the distribution
Link copied to clipboard
open override fun randomVariable(streamNumber: Int, streamProvider: RNStreamProviderIfc): PearsonType5RV
Promises to return a random variable that uses the supplied stream number using the supplied stream provider
Link copied to clipboard
Sets the shape and scale parameters