Weibull
class Weibull(shape: Double = 1.0, scale: Double = 1.0, name: String? = null) : Distribution, ContinuousDistributionIfc, InverseCDFIfc, GetRVariableIfc, RVParametersTypeIfc, MomentsIfc(source)
This class defines a Weibull distribution
Parameters
shape
The shape parameter of the distribution
scale
The scale parameter of the distribution
name
an optional name/label
Constructors
Functions
Link copied to clipboard
The log-density computed directly, so a point far in the tail keeps its true value where pdf would underflow to zero: ln(shape) - shape ln(scale) + (shape - 1) ln x - (x/scale)^shape for x > 0, and the ln(Double.MIN_VALUE) floor where pdf is zero.
Link copied to clipboard
Gets the parameters for the distribution
Sets the parameters for the distribution with shape = parameters0 and scale = parameters1
Sets the parameters
Link copied to clipboard
open override fun randomVariable(streamNumber: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider): WeibullRV
Promises to return a random variable that uses the supplied stream number using the supplied stream provider