Description Usage Arguments Details Value Note Author(s) See Also
Density, distribution function, quantile function, random generation, expected value, variance, median, and raw moments for the shape-decay parameterization of the Weibull distribution.
1 2 3 4 5 6 7 8 |
x,q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
shape, decay |
shape and decay parameters. See Details. |
log, log.p |
logical; if |
lower.tail |
logical; if |
r |
the |
The weisd
distribution with shape
parameter s and decay
parameter d has density
f(x) = s*d*x^(s-1) * exp(-d*x^s)
for x >= 0; s, d > 0. Compared to the usual shape-scale parameterization used in dweibull
etc., with shape
parameter a and scale
parameter b, the relationship between the parameters is given by a = s and b = d^(-1/s), or equivalently, s = a and d = b^(-a).
dweisd
gives the density, pweisd
gives the distribution function, qweisd
gives the quantile function, and rweisd
generates random deviates. eweisd
gives the expected value, vweisd
gives the variance, and medweisd
gives the median for the specified parameters. rmomweisd
gives the r
th raw moment for the specified parameters; for example, rmomweisd(1, 2, 3)
is equivalent to eweisd(2, 3)
.
The distribution function, using the parameters given in Details, has the very simple form
F(x) = 1 - exp(-d*x^s)
from which other functions such as the hazard function are easily derived.
Daniel Dvorkin
mvweisd
for the multivariate version; thetahat
for parameter estimation; Weibull
in package stats
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.