studentdistribution: The Student Distribution

density_tR Documentation

The Student Distribution

Description

Density, (cumulative) distribution function and random generation for Student distribution.

Usage

density_t(df, x)

cdf_t(df, x)

random_t(df, n)

Arguments

df

degrees of freedom.

x

vector of quantiles.

n

number of observations.

Examples

# T with 2 degrees of freedom.
z <- density_t(2, .01 * seq(-100, 100, 1))
# T with 2 degrees of freedom. 100 random
z <- random_t(2, 100)

palatej/rjd3toolkit documentation built on Oct. 30, 2024, 10:46 p.m.