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
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
Viktoria Spaiser, firstname.lastname@example.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.