Learn R Programming

reliaR (version 0.01)

pp.lfr: Probability versus Probability (PP) plot for the linear failure rate(LFR) distribution

Description

The function pp.lfr() produces a PP plot for the linear failure rate(LFR) based on their MLE or any other estimate. Also, a reference line can be sketched.

Usage

pp.lfr(x, alpha.est, beta.est, main = " ", line = FALSE, ...)

Arguments

x
vector of observations
alpha.est
estimate of the parameter alpha
beta.est
estimate of the parameter beta
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.lfr() carries out a PP plot for the linear failure rate(LFR).

References

Bain, L.J. (1974). Analysis for the Linear Failure-Rate Life-Testing Distribution, Technometrics, 16(4), 551 - 559.

Lawless, J.F.(2003). Statistical Models and Methods for Lifetime Data, John Wiley and Sons, New York.

Sen, A. and Bhattacharya, G.K.(1995). Inference procedure for the linear failure rate mode, Journal of Statistical Planning and Inference, 46, 59-76.

See Also

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

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & beta for the data(sys2)
## Estimates of alpha & beta using 'maxLik' package
## alpha.est = 1.77773e-03,  beta.est = 2.77764e-06

pp.lfr(sys2, 1.777673e-03, 2.777640e-06, main = " ", line = TRUE)

Run the code above in your browser using DataLab