Hyper-Erlang distribution
Hyper-Erlang distribution
mixrate()Get mixrate
HErlangClass$mixrate()A vector of mixrate
shape()Get shape
HErlangClass$shape()A vector of shapes
rate()Get rate
HErlangClass$rate()A vector of rates
new()Create a hyper-Erlang distribution
HErlangClass$new(mixrate, shape, rate)mixrateA vector of initial probability
shapeA vector of shape parameters
rateA vector of rate parameters
An instance of HErlang
copy()copy
HErlangClass$copy()A new instance
size()The number of components
HErlangClass$size()The number of components
The degrees of freedom
moment()Moments of HErlang
HErlangClass$moment(k, ...)kA value to indicate the degrees of moments. k-th moment
...Others
A vector of moments from 1st to k-th moments
...Others
xA vector of points
...Others
A vector of densities.
cdf()CDF
HErlangClass$cdf(q, ...)qA vector of points
...Others
A vector of probabilities
ccdf()Complementary CDF
HErlangClass$ccdf(q, ...)qA vector of points
...Others
A vector of probabilities
...Others
A sample of HErlang
emfit()Run EM
HErlangClass$emfit(data, options, ...)dataA dataframe
optionsA list of options
...Others
init()Initialize with data
HErlangClass$init(data, ...)dataA dataframe
...Others
optionsA list of options
clone()The objects of this class are cloneable with this method.
HErlangClass$clone(deep = FALSE)deepWhether to make a deep clone.
A mixture of Erlang distributions. A subclass of PH distributions.