Companion

object Companion

Functions

Link copied to clipboard
fun canMatchMoments(vararg moments: Double): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun negBinomialCCDF(j: Int, r: Double, p: Double, recursive: Boolean = true): Double

Allows static computation of complementary cdf function assumes that distribution's range is {0,1, ...}

Link copied to clipboard
fun negBinomialCDF(j: Int, r: Double, p: Double, recursive: Boolean = true): Double

Allows static computation of the CDF assumes that distribution's range is {0,1, ...}

Link copied to clipboard
fun negBinomialInvCDF(x: Double, r: Double, p: Double, recursive: Boolean = true): Int

Returns the quantile associated with the supplied probability, x assumes that distribution's range is {0,1, ...}

Link copied to clipboard
fun negBinomialLF1(j: Int, r: Double, p: Double, recursive: Boolean = true): Double

Allows static computation of 1st order loss function assumes that distribution's range is {0,1, ...}

Link copied to clipboard
fun negBinomialLF2(j: Int, r: Double, p: Double, recursive: Boolean = true): Double

Allows static computation of 2nd order loss function assumes that distribution's range is {0,1, ...}

Link copied to clipboard
fun negBinomialPMF(j: Int, r: Double, p: Double, recursive: Boolean = true): Double

Allows static computation of prob mass function assumes that distribution's range is {0,1, ...}

Link copied to clipboard
Link copied to clipboard

Computes the cdf at j using a recursive (iterative) algorithm using logarithms

Link copied to clipboard

Computes the probability mass function at j using a recursive (iterative) algorithm using logarithms