Learn R Programming

reliaR (version 0.01)

pp.moew: Probability versus Probability (PP) plot for the Marshall-Olkin Extended Weibull(MOEW) distribution

Description

The function pp.moew( ) produces a PP plot for the MOEW based on their MLE or any other estimate. Also, a reference line can be sketched.

Usage

pp.moew(x, alpha.est, lambda.est, main = " ", line = FALSE, ...)

Arguments

x
vector of observations
alpha.est
estimate of the parameter alpha
lambda.est
estimate of the parameter lambda
main
the title for the plot.
line
logical; if TRUE, a 45 degree line is sketched.
...
additional arguments to be passed to the underlying plot function.

Value

The function pp.moew( ) carries out a PP plot for the MOEW.

References

Marshall, A. W., Olkin, I. (1997). A new method for adding a parameter to a family of distributions with application to the Weibull and Weibull families. Biometrika,84(3):641-652.

Marshall, A. W., Olkin, I.(2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families. Springer, New York.

See Also

qq.moew for QQ plot and ks.moew function;

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(sys2)
## alpha.est = 0.3035937,  lambda.est = 279.2177754

pp.moew(sys2, 0.3035937, 279.2177754, main = " ", line = TRUE)

Run the code above in your browser using DataLab