tdistribution {lestat} | R Documentation |
A t-distribution
Description
Create an object representing a univariate non-centered t-distribution.
Usage
tdistribution(expectation = 0, degreesoffreedom = 1e+20,
lambda, P = 1)
Arguments
expectation |
The expectation of the distribution. |
degreesoffreedom |
The degrees of freedom parameter. |
lambda |
The natural logarithm of the scale |
P |
An alternative to specifying the logged scale |
Details
The probability density of a t-distribution with expectation \mu
,
degrees of freedom \nu
, and logged scale \lambda
is proportional to
f(x)=(\nu + e^{-2\lambda}(x-\mu)^2)^{-(\nu+1)/2}
Value
A t-distribution.
Author(s)
Petter Mostad <mostad@chalmers.se>
See Also
Examples
dist <- tdistribution(3)
plot(dist)
[Package lestat version 1.9 Index]