Calculate the quantiles of a mixture of two Weibull distributions.

Description

This is a function based on the uniroot to calculate the quantiles of a Weibull mixture model.

Usage

1
quanWbMix(intProb, mixParm)

Arguments

intProb

A vector of the probability below the quantile of interest, e.g. 5%

mixParm

A two-by-three matrix describing the Weibull mixture. See simWbMix.

Value

A two-row matrix: the first row is intProb and the second row is the corresponding quantiles.

See Also

qweibull, simWbMix, emCenWbMix.T1, emCenWbMix.T2

Examples

1
2
3
mmix = rbind(c(0.7, 5, 7),c(0.3, 15, 6))
quanWbMix(c(0.1, 0.5, 0.7), mmix)
quanWbMix(0.1, mmix)