Companion
object Companion
Functions
Link copied to clipboard
Creates a DEmpirical based on a probability mass function
Link copied to clipboard
Assigns the probability associated with each cdf value to the integers starting at 0.
Makes a pair array that can be used for the parameters of the DEmpiricalCDF distribution
Assigns the probability associated with each cdf value to the integers starting at start.
Link copied to clipboard
This method takes in an Array of probability points (value, cumulative probability), Eg. X[] = {v1, cp1, v2, cp2, ...}, as the input parameter and makes a 2D array of the value/prob pairs