StudentT: The Student-t Distribution

Description Usage Arguments See Also

Description

Density, distribution function, quantile function and random generation for the Student-t distribution with location/mean mean, scale scale, and degrees of freedom df. See https://en.wikipedia.org/wiki/Location on how to get from the standard t-distribution to the t-distribution with additional location and scale parameters.

Usage

1
2
3
4
5
6
7
dtnew(x, df, mean = 0, scale = 1, log = FALSE)

ptnew(q, df, mean = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)

qtnew(p, df, mean = 0, scale = 1)

rtnew(n, df, mean = 0, scale = 1)

Arguments

x, q

Vector of quantiles.

df

Vector of degrees of freedom.

mean

Vector of location/mean values.

scale

Vector of scale values.

log, log.p

Logical; If TRUE, values are returned on the log scale.

lower.tail

Logical; If TRUE (default), return P(X <= x). Else, return P(X > x) .

p

Vector of probabilities.

n

Number of samples to draw from the distribution.

See Also

TDist


yuekai/UMichBDA documentation built on Oct. 25, 2020, 9:03 p.m.