Learn R Programming

reliaR (version 0.01)

pp.exp.power: Probability versus Probability (PP) plot for the Exponential Power distribution

Description

The function pp.exp.power() produces a PP plot for the Exponential Power distribution based on their MLE or any other estimator. Also, a reference line can be sketched.

Usage

pp.exp.power(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.power() carries out a PP plot for the Exponential Power distribution.

References

Smith, R.M. and Bain, L.J.(1975). An exponential power life-test distribution, Communications in Statistics - Simulation and Computation, Vol.4(5), 469 - 481

See Also

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

Examples

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

pp.exp.power(sys2, 0.905868898, 0.001531423, main = '', line = TRUE)

Run the code above in your browser using DataLab