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

Description Usage Arguments Value References See Also Examples

View source: R/loggamma.R

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

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

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

Examples

1
2
3
4
5
6
7
## 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)

Example output

$Cor.Coeff
[1] 0.9823703

$Determination.Coeff
[1] 96.50513

reliaR documentation built on May 1, 2019, 9:51 p.m.

Related to pp.log.gamma in reliaR...