Least Square Regression with Polynomial Terms als Predictors and Changes as Dependent Variable (Internal Function)


polyfitreg is a modeling function internally called in the code bdynsysdysymod as well as in bdynsysdysymodbestfitmod. It computes the values for the independed variables, based on polynomial terms and computes all possible regression models with all possible combinations of these independ variables (all possible combinations of polynimal terms) and the changes in the dependent variables which are to be predicted. The function estimates the Betas, computes the Sum Square of Error of all possible models as well as their Log Likelihood and R-squares. It returns internally the Sum Square of Error matrices to bdynsysdysymodbestfit and Betas to bdynsysdysymod.Log Likelihood and R-square are printed.


Viktoria Spaiser: viktoria.sp@web.de

comments powered by Disqus