Debian Codegraph @

easel/esl_stretchexp.tex

raw
1
2 The stretched exponential distribution may be useful for fitting
3 fat-tailed empirical distributions.
4
5 The stretched exponential has a similar functional form as the Weibull
6 distribution, and the Weibull is confusingly sometimes referred to as
7 a ``stretched exponential distribution'' in the literature, but they
8 are not the same. (See the \eslmod{weibull} module.)
9
10 \begin{tabular}{lcll}\hline
11 Variate & $x$ & \ccode{double} & $\mu \leq x < \infty$ \\
12 Location & $\mu$ & \ccode{double} & $-\infty < \mu < \infty$\\
13 Scale & $\lambda$ & \ccode{double} & $\lambda > 0$ \\
14 Shape & $\tau$ & \ccode{double} & $\tau > 0$ \\ \hline
15 \end{tabular}
16
17 The probability density function (PDF) is:
18
19 \begin{equation}
20 P(X=x) = \frac{\lambda \tau}{\Gamma(\frac{1}{\tau})} e^{- [\lambda(x-\mu)]^{\tau}}
21 \label{eqn:stretchexp_pdf}
22 \end{equation}
23
24 The cumulative distribution function (CDF) does not have an analytical
25 expression. It is obtained from the integral:
26
27 \begin{eqnarray*}
28 P(X \leq x) & = & \int_{\mu}^{x} P(X=z) dz\\
29 & = & \frac{\lambda \tau}{\Gamma(\frac{1}{\tau})} \int_\mu^{x} e^{- [\lambda(z-\mu)]^{\tau}} dz\\
30 \label{eqn:stretchexp_cdf1}
31 \end{eqnarray*}
32
33 By change-of-variables $t = [\lambda(z-\mu)]^{\tau}$,
34 $t^{\frac{1}{\tau}} = \lambda(z-\mu)$, $dz = \frac{1}{\lambda \tau}
35 t^{\frac{1}{\tau}-1} dt$, this can be rewritten as:
36
37 \[
38 P(X \leq x) = \frac{1}{\Gamma(\frac{1}{\tau})}
39 \int_0^{[\lambda(x-\mu)]^{\tau}} e^{-t} t^{\frac{1}{\tau}-1} dt
40 \]
41