MATLAB: How to perform the Chow test using MATLAB 7.7 (R2008b)

Econometrics Toolbox

I would like to test whether the coefficients in two linear regressions on different data sets are equal by using the Chow test.

Best Answer

There is no function in MATLAB 7.7 (R2008b) that may be used to perform the Chow test.
As a workaround, you may download 'chow_test.m' from a set of subroutines (Weak form market efficiency tests) available at MATLAB Central that may be used to perform the requisite test:
<http://www.mathworks.com/matlabcentral/fileexchange/9264>
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.