qcomppareto {CompPareto}R Documentation

The quantile function of a composite distribution with Pareto tail

Description

qcomppareto returns the quantile of a composite distribution with a Pareto upper tail given p, with a specified distribution at the lower tail.

Usage

qcomppareto(p, spec, alpha = 1, theta = 1, log.p = FALSE, ...)

Arguments

p

vector of probabilities

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.p

logical; if TRUE, probability p are given as log(p)

...

The parameter of the lower tail (head) distribution

Value

an object of the same length of x as the CDF evaluated at x

Examples

p <-seq(0.01,0.99,b=0.01)
qcomppareto(p, "weibull", alpha = 1.5, theta = 1.5, shape = 2, scale = 2)

[Package CompPareto version 0.1.0 Index]