bayesfac: Bayesian Model Selection with Bayesian Factor Computation...

Description Author(s)

View source: R/bayesfac.R

Description

bayesfac is the core code of the bayesian model selection in the bdynsys package. It is internally called in the main code bdynsys. It calls the functions polyfitbayes, selectterms and findindexM. It uses the Sum Square Errors from the previous model fitting step in dysymod to identify the best models for each number of modelparameters and computes then the Bayesian factor using a Monte Carlo Simulation for integration for these models, which may be then compared to find the overall best model. It prints the Bayesian factors for the best models for each number of modelparameters.It requires the package caTools.

Author(s)

Viktoria Spaiser, viktoria.sp@web.de


bdynsys documentation built on May 2, 2019, 9:42 a.m.

Related to bayesfac in bdynsys...