Learn R Programming

reliaR (version 0.2)

pp.log.gamma: Probability versus Probability (PP) plot for the log-gamma(LG) distribution

Description

The function pp.log.gamma() produces a PP plot for the log-gamma(LG) based on their MLE or any other estimate. Also, a reference line can be sketched.

Usage

pp.log.gamma(x, alpha.est, lambda.est, main = " ", line = FALSE, ...)

Value

The function pp.log.gamma() carries out a PP plot for the log-gamma(LG).

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.

References

Klugman, S., Panjer, H. and Willmot, G. (2004). Loss Models: From Data to Decisions, 2nd ed., New York, Wiley.

Lawless, J. F., (2003). Statistical Models and Methods for Lifetime Data, 2nd ed., John Wiley and Sons, New York.

See Also

qq.log.gamma for QQ plot and ks.log.gamma function;

Examples

Run this code
## Load data sets
data(conductors)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(conductors)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 0.0088741, lambda.est = 0.6059935

pp.log.gamma(conductors, 0.0088741, 0.6059935, main = " ", line = TRUE)

Run the code above in your browser using DataLab