dpearson7 {pearson7}R Documentation

Evaluate the density for the Pearson VII distribution with shape parameter 3/2.

Description

Evaluate the density for the Pearson VII distribution with shape parameter 3/2.

Usage

dpearson7(x, mu = 0, sigma = 1, log = FALSE)

Arguments

x

vector of quantiles.

mu

vector of means.

sigma

vector of scales.

log

logical; if TRUE, probabilities p are given as log(p).

Details

If mu is not specified, it assumes the default value of 0. If sigma is not specified, it assumes the default value of 1.

The Pearson VII distribution with location \mu, scale \sigma, and shape 3/2 has density

f(x)=1/(2\sigma)[1+\{(x-\mu)/\sigma\}^2]^{-3/2}.

Value

the density.

References

Hughes, J., Shastry, S., Hancock, W. O., and Fricks, J. (2013) Estimating velocity for processive motor proteins with random detachment. Journal of Agricultural, Biological, and Environmental Statistics, in press.

Pearson, K. (1916) Mathematical contributions to the theory of evolution. xix. second supplement to a memoir on skew variation. Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character, 216, 429–457.

See Also

ppearson7, qpearson7, rpearson7

Examples


curve(dpearson7(x), -5, 5, lwd = 2, n = 500, ylab = "f(x)")
curve(dnorm(x), lwd = 2, lty = 2, n = 500, add = TRUE)


[Package pearson7 version 1.0-3 Index]