dpearson7: Evaluate the density for the Pearson VII distribution with...

Description Usage Arguments Details Value References See Also Examples

View source: R/pearson7.R

Description

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

Usage

1
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 μ, scale σ, and shape 3/2 has density

f(x)=1/(2σ)[1+{(x-μ)/σ}^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

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

pearson7 documentation built on July 2, 2020, 3:59 a.m.

Related to dpearson7 in pearson7...