Deriving Best Models and their Polynomial Terms for Bayesian Model Fitting (Internal Function)


selectterms selects/indexes terms which are part of the models to be fitted in the Bayesian fitting procedure. The function is internally called in the code bdynsysbayesfac. The model selections is based on the Sum of Square Errors which were computed in the previous model fitting step in bdynsysdysymod. It returns internally the indexes of the best models polynomial terms to bdynsysbayesfac.


Viktoria Spaiser: