Learn R Programming

reliaR (version 0.01)

pp.exp.ext: Probability versus Probability (PP) plot for the Exponential Extension(EE) distribution

Description

The function pp.exp.ext() produces a PP plot for the Exponential Extension(EE) based on their MLE or any other estimate. Also, a reference line can be sketched.

Usage

pp.exp.ext(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.exp.ext() carries out a PP plot for the Exponential Extension(EE).

References

Nikulin, M. and Haghighi, F.(2006). A Chi-squared test for the generalized power Weibull family for the head-and-neck cancer censored data, Journal of Mathematical Sciences, Vol. 133(3), 1333-1341.

See Also

qq.exp.ext for QQ plot and ks.exp.ext function;

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(sys2)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 1.0126e+01, lambda.est = 1.5848e-04

pp.exp.ext(sys2, 1.0126e+01, 1.5848e-04, main = " ", line = TRUE)

Run the code above in your browser using DataLab