print_best_models: Prints the best model from the list of accepted models

View source: R/var_main.r

print_best_modelsR Documentation

Prints the best model from the list of accepted models

Description

This functions uses log transformation (logm).If logm is true it gives the best log-transformed model. And if the logm is false it gives the best model without log-transform. The best model is the measured with the lowest AIC+BIC value.

Usage

print_best_models(av_state)

Arguments

av_state

an object of class av_state that was the result of a call to var_main

Examples

## Not run: 
av_state <- load_file("../data/input/pp5 nieuw compleet.sav",log_level=3)
av_state <- var_main(av_state,c('SomBewegUur','SomPHQ'),criterion="BIC",log_level=3)
# av_state is the result of a call to var_main
print_best_models(av_state)

## End(Not run)

roqua/autovar documentation built on Jan. 21, 2023, 7:37 p.m.