powered by
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.
shape1
shape2
scale
location
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)
vector of quantiles.
vector of probabilities.
number of observations.
shape parameter.
scale parameter.
location parameter.
logical; if TRUE, probabilities p are given as log(p).
logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x].
dkappa4 gives the density, pkappa4 gives the distribution function, qkappa4 gives the quantile function, and rkappa4 generates random deviates.
dkappa4
pkappa4
qkappa4
rkappa4
See References
Hosking, J.R.M. (1994). The four-parameter kappa distribution. IBM Journal of Research and Development, 38(3), 251-258.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab