KAPPA4 | R Documentation |
Density, distribution function, quantile function and random generation for the four-parameter kappa distribution with shape1, shape2, scale, and location parameters equal to shape1
, shape2
, scale
, and location
, respectively.
dkappa4(x,shape1,shape2,scale=1,location=0,log=FALSE) pkappa4(q,shape1,shape2,scale=1,location=0,lower.tail=TRUE,log.p=FALSE) qkappa4(p,shape1,shape2,scale=1,location=0,lower.tail=TRUE,log.p=FALSE) rkappa4(n,shape1,shape2,scale=1,location=0)
x,q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. |
shape1 |
shape parameter. |
shape2 |
shape parameter. |
scale |
scale parameter. |
location |
location parameter. |
log,log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x]. |
See References
dkappa4
gives the density, pkappa4
gives the distribution function, qkappa4
gives the quantile function, and rkappa4
generates random deviates.
Hosking, J.R.M. (1994). The four-parameter kappa distribution. IBM Journal of Research and Development, 38(3), 251-258.
x <- rkappa4(1000,.1,.2,12,110) hist(x,freq=FALSE,col='gray',border='white') curve(dkappa4(x,.1,.2,12,110),add=TRUE,col='red4',lwd=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.