| halft.mle | R Documentation |
MLE of the half t distribution.
halft.mle(x)
x |
A numerical vector with positive real numbers. |
The half-t distribution with \nu degrees of freedom and scatter parameter \sigma > 0
has density:
f(x) = \frac{2\Gamma\left(\frac{\nu+1}{2}\right)}{\sqrt{\nu\pi}\,\sigma\,\Gamma\left(\frac{\nu}{2}\right)} \left(1 + \frac{x^2}{\nu\sigma^2}\right)^{-\frac{\nu+1}{2}}, \quad x \geq 0.
A list including:
param |
The estimated degrees of freedom and the scatter parameter of the half t distribution. |
loglik |
The value of the maximised log-likelihood. |
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Psarakis and Panaretos (1990). The folded t distribution. Communications in Statistics–Theory and Methods, 19(7): 2717–2734.
https://en.wikipedia.org/wiki/Folded-t_and_half-t_distributions
halft1.mle
x <- abs( rt(1000, 5) )
halft.mle(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.