Learn R Programming

reliaR (version 0.01)

qq.exp.power: Quantile versus quantile (QQ) plot for the Exponential Power distribution

Description

The function qq.exp.power() produces a QQ plot for the Exponential Power distribution based on their MLE or any other estimator. Also, a line going through the first and the third quartile can be sketched.

Usage

qq.exp.power(x, alpha.est, lambda.est, main = " ", line.qt = 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.qt
logical; if TRUE, a line going by the first and third quartile is sketched.
...
additional arguments to be passed to the underlying plot function.

Value

The function qq.exp.power() carries out a QQ plot for the Exponential Power distribution.

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.

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

pp.exp.power for PP 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

qq.exp.power(sys2, 0.905868898, 0.001531423, line.qt = FALSE)

Run the code above in your browser using DataLab