Content deleted Content added
m clean up |
Scottie 000 (talk | contribs) Fixed how the math looks and change notation for hypergeometric and polylogarithm functions |
||
Line 61:
=== Distribution ===
The [[probability density function]] (pdf) of the EL distribution is given by
:<math>
where <math>p\in (0,1)</math> and <math>\beta >0</math>. This function is strictly decreasing in <math>x</math> and tends to zero as <math>x\rightarrow \infty</math>. The EL distribution has [[mode|modal value]] given, at x=0, by
The EL reduces to the [[exponential distribution]] with parameter <math>\beta</math>, as <math>p\rightarrow 1</math>.▼
The [[cumulative distribution function]] is given by▼
and hence, the [[median]] is given by▼
▲exponential distribution with parameter <math>\beta</math>, as <math>p\rightarrow 1</math>.
:<math>x_\text{median}=\frac{\ln(1+\sqrt{p})}{\beta}</math>.
▲The distribution function is given by
▲:<math>F_X(x;p,\beta)=1-\frac{\ln(1-(1-p) e^{-\beta x})}{\ln p},</math>
▲and hence, the median is given by
▲:<math>\mathrm{median}=\frac{\ln(1+\sqrt{p})}{\beta}</math>.
=== Moments ===
The [[moment generating function]] of <math>X</math> can be determined from the pdf by direct integration and is given by
: <math>M_X(t) = E(e^{tX}) = -\frac{\beta(1-p)}{\ln p (\beta-t)}
where <math>F_{2,1} </math> is a [[hypergeometric function]]. This function is also known as ''Barnes's extended hypergeometric function''. The definition of <math>F_{N,D}({n,d},z)</math> is
▲: <math>M_X(t) = E(e^{tX}) = -\frac{\beta(1-p)}{\ln p (\beta-t)} \operatorname{hypergeom}_{2,1}\left(\left[1,\frac{\beta-t}{\beta}\right],\left[\frac{2\beta-t}{\beta}\right],1-p\right),</math>
: <math>F_{
where <math>
▲: <math>F_{p,q}({n,d},\lambda)=\sum_{k=0}^\infty \frac{\lambda^k \prod_{i=1}^p\Gamma(n_i+k)\Gamma^{-1}(n_i)}{\Gamma(k+1)\prod_{i=1}^q\Gamma(d_i+k)\Gamma^{-1}(d_i)}</math>
▲where <math>{n}=[n_1, n_2, ..., n_p]</math>, <math>p</math> is the number of
The moments of <math>X</math> can be derived from <math>M_X(t)</math>. For
<math>r\in\mathbb{N}</math>, the raw moments are given by
:<math>E(X^r;p,\beta)=-r!\frac{
where <math>
follows (Lewin, 1981) <ref>Lewin, L., 1981, Polylogarithms and Associated Functions, North
Holland, Amsterdam.</ref>
:<math>
Hence the [[mean]] and [[variance]] of the EL distribution
are given, respectively, by
:<math>E(X)=-\frac{
:<math>\operatorname{Var}(X)=-\frac{2
=== The survival, hazard and mean residual life functions ===
The [[survival function]] (also known as the reliability
function) and [[hazard function]] (also known as the failure rate
Line 118 ⟶ 108:
The mean residual lifetime of the EL distribution is given by
: <math>m(x_0;p,\beta)=E(X-x_0|X\geq x_0;\beta,p)=-\frac{\operatorname{
=== Random number generation ===
|