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

Description Usage Arguments Examples

View source: R/var_main.r

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

1

Arguments

av_state

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

Examples

1
2
3
4
5
6
7
## 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 July 25, 2018, 11:30 p.m.