Learn R Programming

reliaR (version 0.01)

qq.loglog: Quantile versus quantile (QQ) plot for the Loglog distribution

Description

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

Usage

qq.loglog(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.loglog() carries out a QQ plot for the Loglog

References

Pham, H.(2002). A Vtub-Shaped Hazard Rate Function with Applications to System Safety, International Journal of Reliability and Applications. ,Vol. 3, No. l, pp. 1-16.

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

See Also

pp.loglog for PP plot and ks.loglog function;

Examples

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

qq.loglog(sys2, 0.9058689, 1.0028228, line.qt = FALSE)

Run the code above in your browser using DataLab