dist: character vector denoting the distribution of the first-, second- (and third) component respectively. If only two components are provided, the distribution reduces to the two-component distribution.
coeff: named numeric vector holding the coefficients of the first-, second- (and third) component, predeced by coeff1., coeff2. (and coeff3.), respectively. Coefficients for the last component do not have to be provided for the two-component distribution and will be disregarded.
startc: starting values for the lower and upper cutoff, defaults to c(1,1).
log, log.p: logical; if TRUE, probabilities p are given as log(p).
lower.tail: logical; if TRUE (default), probabilities (moments) are P[X≤x](E[xr∣X≤y]), otherwise, P[X>x](E[xr∣X>y])
p: vector of probabilities
r: rth raw moment of the Pareto distribution
truncation: lower truncation parameter
n: number of observations
Returns
dcomposite returns the density, pcomposite the distribution function, qcomposite the quantile function, mcomposite the rth moment of the distribution and rcomposite generates random deviates.
The length of the result is determined by n for rcomposite, and is the maximum of the lengths of the numerical arguments for the other functions.
Details
These derivations are based on the two-composite distribution proposed by if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="bakar2015modelling",package="distributionsrd",cached_env=.Rdpack.currefs) . Probability Distribution Function: