Binomial
class Binomial(pSuccess: Double = 0.5, nTrials: Int = 1, name: String? = null) : Distribution, DiscretePMFInRangeDistributionIfc, LossFunctionDistributionIfc, ThirdOrderLossFunctionIfc, RVParametersTypeIfc(source)
Constructors
Properties
Functions
Link copied to clipboard
G1(x) = Emax(X - x, 0).
Link copied to clipboard
Gets the parameters
Sets the parameters
Link copied to clipboard
open override fun randomVariable(streamNumber: Int, streamProvider: RNStreamProviderIfc): BinomialRV
Promises to return a random variable that uses the supplied stream number using the supplied stream provider
Link copied to clipboard
G2(x) = (1/2) * Emax(X - x, 0) * max(X - x - 1, 0).
Link copied to clipboard
G3(x) = (1/6) * Emax(X - x, 0) * max(X - x - 1, 0) * max(X - x - 2, 0).