powered by
pcomppareto returns the CDF of a composite distribution with a Pareto upper tail at x, with a specified distribution at the lower tail.
pcomppareto
pcomppareto( x, spec, alpha = 1, theta = 1, lower.tail = TRUE, log.p = FALSE, ... )
an object of the same length of x as the CDF evaluated at x
A scalar or vector of positive values at which the CDF needs to be evaluated
The selection of the lower tail (head) distribution
The shape parameter of the Pareto distribution
The scale parameter of Pareto, also serve as the location parameter of the composite model
logical; if FALSE, the upper tail probability is provided
logical; if TRUE, probability p are given as log(p)
The parameter of the lower tail (head) distribution
x<-1:100 pcomppareto(x, "lnorm", 0.4, 1, meanlog = 1, sdlog = 0.8) pcomppareto(x, "weibull", alpha = 1.5, theta = 1.5, shape = 2, scale = 2)
Run the code above in your browser using DataLab