AHerlangClass | R Documentation |
Hyper-Erlang distribution with a fixed phase
Hyper-Erlang distribution with a fixed phase
A mixture of Erlang distributions. A subclass of PH distributions.
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)
size
An integer of the number of phases
herlang
An 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
df()
Degrees of freedom
AHerlangClass$df()
The degrees of freedom
moment()
Moments of HErlang
AHerlangClass$moment(k, ...)
k
A value to indicate the degrees of moments. k-th moment
...
Others
A vector of moments from 1st to k-th moments
print()
AHerlangClass$print(...)
...
Others
pdf()
AHerlangClass$pdf(x, ...)
x
A vector of points
...
Others
A vector of densities.
cdf()
CDF
AHerlangClass$cdf(q, ...)
q
A vector of points
...
Others
A vector of probabilities
ccdf()
Complementary CDF
AHerlangClass$ccdf(q, ...)
q
A vector of points
...
Others
A vector of probabilities
sample()
Make a sample
AHerlangClass$sample(...)
...
Others
A sample of HErlang
emfit()
Run EM
AHerlangClass$emfit(data, options, ...)
data
A dataframe
options
A list of options
...
Others
init()
Initialize with data
AHerlangClass$init(data, ...)
data
A dataframe
...
Others
options
A list of options
clone()
The objects of this class are cloneable with this method.
AHerlangClass$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.