Box-Cox {rmutil} | R Documentation |
Box-Cox Distribution
Description
These functions provide information about the Box-Cox
distribution with location parameter equal to m
, dispersion
equal to s
, and power transformation equal to f
: density,
cumulative distribution, quantiles, log hazard, and random generation.
The Box-Cox distribution has density
where is the location parameter of the distribution,
is the dispersion,
is the family
parameter,
is the indicator function, and
.
gives a truncated normal distribution.
Usage
dboxcox(y, m, s=1, f=1, log=FALSE)
pboxcox(q, m, s=1, f=1)
qboxcox(p, m, s=1, f=1)
rboxcox(n, m, s=1, f=1)
Arguments
y |
vector of responses. |
q |
vector of quantiles. |
p |
vector of probabilities |
n |
number of values to generate |
m |
vector of location parameters. |
s |
vector of dispersion parameters. |
f |
vector of power parameters. |
log |
if TRUE, log probabilities are supplied. |
Author(s)
J.K. Lindsey
See Also
dnorm
for the normal or Gaussian distribution.
Examples
dboxcox(2, 5, 5, 2)
pboxcox(2, 5, 5, 2)
qboxcox(0.1, 5, 5, 2)
rboxcox(10, 5, 5, 2)
[Package rmutil version 1.1.10 Index]