Hyper-Erlang distribution with a fixed phase
Hyper-Erlang distribution with a fixed phase
mixrate()Get mixrate
AHerlangClass$mixrate()A vector of mixrate
shape()Get shape
AHerlangClass$shape()A vector of shapes
rate()Get rate
AHerlangClass$rate()A vector of rates
new()Create a hyper-Erlang distribution with fixed phases
AHerlangClass$new(size, herlang)sizeAn integer of the number of phases
herlangAn instance of HErlang
An instance of AHerlang
copy()copy
AHerlangClass$copy()A new instance
size()The number of components
AHerlangClass$size()The number of components
The degrees of freedom
moment()Moments of HErlang
AHerlangClass$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
AHerlangClass$cdf(q, ...)qA vector of points
...Others
A vector of probabilities
ccdf()Complementary CDF
AHerlangClass$ccdf(q, ...)qA vector of points
...Others
A vector of probabilities
...Others
A sample of HErlang
emfit()Run EM
AHerlangClass$emfit(data, options, ...)dataA dataframe
optionsA list of options
...Others
init()Initialize with data
AHerlangClass$init(data, ...)dataA dataframe
...Others
optionsA list of options
clone()The objects of this class are cloneable with this method.
AHerlangClass$clone(deep = FALSE)deepWhether to make a deep clone.
A mixture of Erlang distributions. A subclass of PH distributions.