Learn R Programming

Distributacalcul (version 0.2.2)

V_erlang: Variance of the Erlang distribution

Description

Variance of the Erlang distribution with shape parameter \(n\) and rate parameter \(\beta\).

Usage

V_erlang(shape, rate = 1/scale, scale = 1/rate)

Arguments

shape

shape parameter \(n\), must be positive integer.

rate

\(\beta\) is the rate parameter, must be positive.

scale

alternative parameterization to rate parameter, scale = 1 / rate.

Value

Function :

Invalid parameter values will return an error detailing which parameter is problematic.

Details

The Erlang distribution with shape parameter \(n\) and rate parameter \(\beta\) has density: $$f\left(x\right) = \frac{\beta^{n}}{\Gamma(n)} x^{n - 1}% \mathrm{e}^{-\beta x}$$ for \(x \in \mathcal{R}^+\), \(\beta > 0\), \(n \in \mathcal{N}^+\)

See Also

Other Erlang Distribution: E_erlang(), Elim_erlang(), Etronq_erlang(), MGF_erlang(), Mexcess_erlang(), SL_erlang(), TVaR_erlang(), VaR_erlang(), derlang(), kthmoment_erlang(), perlang()

Examples

Run this code
# NOT RUN {
# With scale parameter
V_erlang(shape = 2, scale = 5)

# With rate parameter
V_erlang(shape = 2, rate = 0.2)

# }

Run the code above in your browser using DataLab