| dfoldedt | R Documentation |
Density function of the (non-standardized) folded t distribution.
dfoldedt(y, mu, s2, v, logged = FALSE)
y |
A vector with positive values. |
mu |
The location parameter, |
s2 |
The |
v |
The degrees of freedom, |
logged |
If you want the logarithm of the density set this equal to TRUE. |
A vector with the (logged) density function values.
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
foldedt.mle
y <- abs( rt(10, 10, 3) )
dfoldedt(y, mu = 3, s2 = 1, v = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.