TDist: The Student t Distribution In wiqid: Quick and Dirty Estimates for Wildlife Populations

Description

Density, distribution function, quantile function and random generation for the t distribution with df degrees of freedom, using mean and sd instead of a t-statistic. These are wrappers for stats::dt, etc.

Usage

 ```1 2 3 4``` ```dt2(x, mean, sd, df) pt2(x, mean, sd, df, lower.tail=TRUE, log.p=FALSE) qt2(p, mean, sd, df, lower.tail=TRUE, log.p=FALSE) rt2(n, mean, sd, df) ```

Arguments

 `x` vector of parameter values `mean` mean of the t-distribution `sd` standard deviation of the t-distribution `df` degrees of freedom `lower.tail` logical; if TRUE (default), cumulative probabilities up to x, otherwise, above x. `log.p` logical; if TRUE, probabilities p are given as log(p). `p` probability. `n` number of random draws required.

Value

`dt` gives the density, `pt` gives the cumulative probability, `qt` gives the quantile function, and `rt` generates random deviates.

Author(s)

Mike Meredith

See the stats functions `dt`, `pt`, `qt`, `rt`.

Examples

 `1` ```## to do ```

wiqid documentation built on Sept. 10, 2017, 9:02 a.m.