Suppose that we model our data as

If we split our data into two groups, then we have

and

The null hypothesis of the Chow test asserts that
,
, and
, and there is the assumption that the model errors
are independent and identically distributed from a normal distribution with unknown variance.
Let
be the sum of squared residuals from the combined data,
be the sum of squared residuals from the first group, and
be the sum of squared residuals from the second group.
and
are the number of observations in each group and
is the total number of parameters (in this case 3, i.e. 2 independent variables coefficients + intercept). Then the Chow test statistic is

The test statistic follows the F-distribution with
and
degrees of freedom.
The same result can be achieved via dummy variables.
Consider the two data sets which are being compared. Firstly there is the 'primary' data set i={1,...,
} and the 'secondary' data set i={
+1,...,n}. Then there is the union of these two sets: i={1,...,n}. If there is no structural change between the primary and secondary data sets a regression can be run over the union without the issue of biased estimators arising.
Consider the regression:

Which is run over i={1,...,n}.
D is a dummy variable taking a value of 1 for i={
+1,...,n} and 0 otherwise.
If both data sets can be explained fully by
then there is no use in the dummy variable as the data set is explained fully by the restricted equation. That is, under the assumption of no structural change we have a null and alternative hypothesis of:


The null hypothesis of joint insignificance of D can be run as an F-test with
degrees of freedom (DoF). That is:
.
Remarks
- The global sum of squares (SSE) is often called the Restricted Sum of Squares (RSSM) as we basically test a constrained model where we have
assumptions (with
the number of regressors).
- Some software like SAS will use a predictive Chow test when the size of a subsample is less than the number of regressors.