halft.mle: MLE of the half t distribution

View source: R/halft.mle.R

halft.mleR Documentation

MLE of the half t distribution

Description

MLE of the half t distribution.

Usage

halft.mle(x)

Arguments

x

A numerical vector with positive real numbers.

Details

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.

Value

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.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

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

See Also

halft1.mle

Examples

x <- abs( rt(1000, 5) )
halft.mle(x)

foldedt documentation built on March 21, 2026, 5:06 p.m.