Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Regstats function does not give the same results for 'quadratic' model and for the same model defined manually?
Posted:
Feb 23, 2013 7:59 AM


As a short reminder: http://www.mathworks.com/help/stats/regstats.html
I tried to use 'quadratic' model and the same model defined manually, i.e. by using the matrix of model terms. Unfortunately, the results obtained in these two ways differ significantly. Thereby, the second way (manually defined matrix) seems to be erroneous one.
Any ideas? Thanks in advance.
P.S. The manually defined matrix is fine, i.e. I didn't make a mistake in defining it.



