Learn R Programming

reliaR (version 0.01)

abic.lfr: Akaike information criterion (AIC) and Bayesian information criterion (BIC) for linear failure rate(LFR) distribution

Description

The function abic.lfr() gives the loglikelihood, AIC and BIC values assuming an linear failure rate(LFR) distribution with parameters alpha and beta.

Usage

abic.lfr(x, alpha.est, beta.est)

Arguments

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

Value

The function abic.lfr() 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.lfr for PP plot and qq.lfr for QQ plot

Examples

Run this code
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & beta for the data(sys2)
## Estimates of alpha & beta using 'maxLik' package
## alpha.est = 1.77773e-03,  beta.est = 2.77764e-06

## Values of AIC, BIC and LogLik for the data(sys2)
abic.lfr(sys2, 1.777673e-03, 2.777640e-06)

Run the code above in your browser using DataLab