Learn R Programming

reliaR (version 0.01)

pp.loglog: Probability versus Probability (PP) plot for the Loglog distribution

Description

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

Usage

pp.loglog(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.loglog() carries out a PP 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

qq.loglog for QQ 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

pp.loglog(sys2, 0.9058689, 1.0028228, line = TRUE)

Run the code above in your browser using DataLab