Learn R Programming

reliaR (version 0.01)

pp.logis.exp: Probability versus Probability (PP) plot for the Logistic-Exponential(LE) distribution

Description

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

Usage

pp.logis.exp(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.logis.exp() carries out a PP plot for the Logistic-Exponential(LE).

References

Lan, Y. and Leemis, L. M. (2008). The Logistic-Exponential Survival Distribution, Naval Research Logistics, 55, 252-264.

See Also

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

Examples

Run this code
## Load data sets
data(bearings)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(bearings)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 2.36754, lambda.est = 0.01059

pp.logis.exp(bearings, 2.36754, 0.01059, main = " ", line = TRUE)

Run the code above in your browser using DataLab