Learn R Programming

reliaR (version 0.2)

abic.gompertz: Akaike information criterion (AIC) and Bayesian information criterion (BIC) for Gompertz distribution

Description

The function abic.gompertz() gives the loglikelihood, AIC and BIC values assuming an Gompertz distribution with parameters alpha and theta.

Usage

abic.gompertz(x, alpha.est, theta.est)

Value

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

Arguments

x

vector of observations

alpha.est

estimate of the parameter alpha

theta.est

estimate of the parameter theta

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.gompertz for PP plot and qq.gompertz for QQ plot

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & theta for the data(sys2)
## Estimates of alpha & theta using 'maxLik' package
## alpha.est = 0.00121307, theta.est = 0.00173329

## Values of AIC, BIC and LogLik for the data(sys2)
abic.gompertz(sys2, 0.00121307, 0.00173329)

Run the code above in your browser using DataLab