Learn R Programming

reliaR (version 0.2)

pp.chen: Probability versus Probability (PP) plot for the Chen distribution

Description

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

Usage

pp.chen(x, beta.est, lambda.est, main = " ", line = TRUE, ...)

Value

The function pp.chen() carries out a PP plot for the Chen.

Arguments

x

vector of observations

beta.est

estimate of the parameter beta

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.

References

Castillo, E., Hadi, A.S., Balakrishnan, N. and Sarabia, J.M.(2004). Extreme Value and Related Models with Applications in Engineering and Science, John Wiley and Sons, New York.

Chen, Z.(2000). A new two-parameter lifetime distribution with bathtub shape or increasing failure rate function, Statistics and Probability Letters, 49, 155-161.

Pham, H.(2006). System Software Reliability, Springer-Verlag.

See Also

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

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of beta & lambda for the data(sys2)
## beta.est = 0.262282404, lambda.est = 0.007282371

pp.chen(sys2, 0.262282404, 0.007282371, line = TRUE)

Run the code above in your browser using DataLab