Learn R Programming

NORMT3 (version 1.0.4)

dst: Density function of sphered Student's t distribution

Description

Evaluates probability density function of sphered Student's t distribution on nu degrees of freedom. This is just the standard Student's t distribution rescaled to have unit variance.

Usage

dst(x, nu = 3)

Arguments

x

Where to evaluate the density

nu

The degrees of freedom

Value

The appropriate probability density.

Details

Description says it all.

References

Nason, G.P. (2001) Robust projection indices. Journal of the Royal Statistical Society, Series B, 63, 551--567.

See Also

dnorm, dnormt3

Examples

Run this code
# NOT RUN {
dst(0)
#
# Should be  2/pi = 0.6366198
#
x <- seq(from=-5, to=5, length=100)
plot(x, dst(x), type="l")	# Produces a density plot
# }

Run the code above in your browser using DataLab