powered by
rwdcomppareto returns a random sample of a discrete composite distribution with a Pareto upper tail, with a specified distribution at the lower tail.
rwdcomppareto
rwdcomppareto(n, spec, alpha = 1, theta = 1, ...)
an object of the same length of n
number of observations
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
The parameter of the lower tail (head) distribution
n<-10 rcomppareto(n,"weibull", alpha = 1.5, theta = 1.5, shape = 2, scale = 2)
Run the code above in your browser using DataLab