Learn R Programming

reliaR (version 0.01)

qq.log.gamma: Quantile versus quantile (QQ) plot for the log-gamma(LG) distribution

Description

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

Usage

qq.log.gamma(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.log.gamma() carries out a QQ plot for the log-gamma(LG).

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

pp.log.gamma for PP 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

qq.log.gamma(conductors, 0.0088741, 0.6059935, main = " ", line.qt = FALSE)

Run the code above in your browser using DataLab