dfoldedt: Density function of the (non-standardized) folded t...

View source: R/dfoldedt.R

dfoldedtR Documentation

Density function of the (non-standardized) folded t distribution

Description

Density function of the (non-standardized) folded t distribution.

Usage

dfoldedt(y, mu, s2, v, logged = FALSE)

Arguments

y

A vector with positive values.

mu

The location parameter, \mu.

s2

The \sigma^2 parameter.

v

The degrees of freedom, v.

logged

If you want the logarithm of the density set this equal to TRUE.

Value

A vector with the (logged) density function values.

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

foldedt.mle

Examples

y <- abs( rt(10, 10, 3) )
dfoldedt(y, mu = 3, s2 = 1, v = 10)

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