Perhaps the most important assumption of any time series model is that the underlying process is the same across all observations in the sample. It is, therefore, necessary to analyze carefully time series data that include periods of violent change. A tool that is particularly useful in this regard is the Chow test.
The Chow test is commonly used to test for structural change in some or all of the parameters of a model in cases where the disturbance term is assumed to be the same in both periods.
The Chow test is an application of the F-test, and it requires the sum of squared errors from three regressions - one for each sample period and one for the pooled data.
In an investigation of the demand for food in the United States, researchers may want to determine whether the structure of the demand equation changed after World War II.
The data for this study include yearly observations on per capita food consumption, the price of food, and per capita income for the years 1927-1941 and 1948-1962 (Maddala 1992). There are no observations for the war years between 1942 and 1947. The DATA step creates a SAS data set named FOOD, reads data values into the variables YEAR, Q, P, and Y, and creates the constant term ONE and the log transformations LNQ, LNP, LNY.
data food;
input year q p y @@;
retain one 1;
lnq = log(q);
lnp = log(p);
lny = log(y);
datalines;
27 88.9 91.7 57.7
28 88.9 92.0 59.3
29 89.1 93.1 62.0
...
;
run;
Once the FOOD data set is created, the interactive data analysis feature of SAS/INSIGHT software can be used to check the data for errors and to explore graphically possible relationships among the variables.
In this case, a 3-D Rotating Plot of the variables LNQ, LNP, and LNY show a break between the observations before 15 and after 16 corresponding to the years 1927-1941 and 1948-1962. This evidence suggests that a test for a structural break in a model for the demand for food may be appropriate.
The AUTOREG procedure specifies a linear regression of the log of per capita food consumption on the log price of food, the log of per capita income, and a constant term (automatically included). The CHOW= option in the model statement performs Chow tests at the specified breakpoints. The breakpoint candidates 15, 16, and 17 corresponding to the years 1941, 1948, and 1949 are chosen from the preceding analysis.
proc autoreg data=food;
model lnq = lnp lny / chow=(15 16 17);
run;
R2 is a measure for the appropriateness of the model. The value of 0.973 implies that LNP and LNY together explain more than 90% of the variation in LNQ.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Ready to level-up your skills? Choose your own adventure.