bestfitmod
is a model fitting function internally called in the code bdynsys
dysymod. It calls the functions polyfitreg
. It creates the testing and training datasubsets for model fitting, passes them on to polyfitreg
and receives back the Sum Square of Errors which are then stored in matrix for each indicator. It returns internally the Sum Square of Error matrices to bdynsys
dysymod. It requires the package caTools
.
Viktoria Spaiser: viktoria.sp@web.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.