dwdcomppareto {CompPareto} | R Documentation |
dwdcomppareto
returns the pmf of a discrete composite distribution with a Pareto upper tail at a point x, with a specified distribution at the lower tail.
dwdcomppareto(x, spec, alpha, theta, log = FALSE, ...)
x |
A scalar or vector of nonnegative integer values at which the probability mass needs to be evaluated |
spec |
The selection of the lower tail (head) distribution |
alpha |
The shape parameter of the Pareto distribution |
theta |
The scale parameter of Pareto, also serve as the location parameter of the composite model |
log |
logical; if TRUE, probability p are given as log(p) |
... |
The parameter of the lower tail (head) distribution |
an object of the same length of x as the probability mass evaluated at x
x<-1:100
dwdcomppareto(x, "lnorm", 0.4, 1, meanlog = 1, sdlog = 0.8)
dwdcomppareto(x, "weibull", alpha = 1.5, theta = 1.5, shape = 2, scale = 2)