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.

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)
# }