Learn R Programming

reliaR (version 0.01)

abic.log.gamma: Akaike information criterion (AIC) and Bayesian information criterion (BIC) for log-gamma(LG) distribution

Description

The function abic.log.gamma() gives the loglikelihood, AIC and BIC values assuming an log-gamma(LG) distribution with parameters alpha and lambda.

Usage

abic.log.gamma(x, alpha.est, lambda.est)

Arguments

x
vector of observations
alpha.est
estimate of the parameter alpha
lambda.est
estimate of the parameter lambda

Value

The function abic.log.gamma() gives the loglikelihood, AIC and BIC values.

References

Akaike, H. (1978). A new look at the Bayes procedure, Biometrika, 65, 53-59.

Claeskens, G. and Hjort, N. L. (2008). Model Selection and Model Averaging, Cambridge University Press, London.

Konishi., S. and Kitagawa, G.(2008). Information Criteria and Statistical Modeling, Springer Science+Business Media, LLC.

Schwarz, S. (1978). Estimating the dimension of the model, Annals of Statistics, 6, 461-464.

Spiegelhalter, D. J., Best, N. G., Carlin, B. P. and van der Linde, A. (2002). Bayesian measures of complexity and fit, Journal of the Royal Statistical Society Series B 64, 1-34.

See Also

pp.log.gamma for PP plot and qq.log.gamma for QQ plot

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

## Values of AIC, BIC and LogLik for the data(conductors)
abic.log.gamma(conductors, 0.0088741, 0.6059935)

Run the code above in your browser using DataLab