Learn R Programming

artfima (version 1.5)

print.bestmodels: Print Method for "bestmodels" Object

Description

Methods function for bestModels.

Usage

"print"(x, ...)

Arguments

x
produced by bestModels
...
additional arguments

Value

Data frame with 6 rows and 5 columns. The first column corresonds to best models, second the second best, etc. The rows corresond respectively to the chosen AIC models, AIC values, AIC plausibility, BIC models, BIC values and BIC plausibility

Details

The plausibility is shown. This is defined for AIC by the eqn $p(AIC) = exp(0.5*(min(AIC)-AIC))$, where AIC is the vector of AIC values. Similarly for the BIC.

See Also

bestModels

Examples

Run this code
## Not run:  #takes about 10 seconds
# data(ogden)
# ans<-bestModels(ogden)
# ans
# ## End(Not run)

Run the code above in your browser using DataLab