selectterm: Deriving Best Models and their Polynomial Terms for Bayesian Model Fitting (Internal Function)
Description
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 bdynsys
bayesfac. The model selections is based on the Sum of Square Errors which were computed in the previous model fitting step in bdynsys
dysymod. It returns internally the indexes of the best models polynomial terms to bdynsys
bayesfac.