Solved
New Contributor
Posts: 2

# Proc Autoreg : Chow test on single variable

Hi All, I have below code:- proc autoreg data=Data; model x=/chow=80; run; In this how does F value for Chow test gets computed as only one variable is provided. How would two seperate regression be computed for breakpoint 80. Please help me understand how does Chow test in this case works. Thanks

Accepted Solutions
Highlighted
Solution
‎09-27-2017 02:36 AM
SAS Employee
Posts: 2

## Re: Proc Autoreg : Chow test on single variable

The model you specififed is an intercept only model where the only parameter is the intercept. It is just a special case of a regression model with both intercept and slope parameter. And the computation of Chow test follows the same formula. You split the sample into two subsamples, the first one contains observations from 1 to 79, the second subsample contains observations from 80 and above, and you perform the same regression(intercept only regression) on each of the two subsamples. Instead of testing both the intercept and slope parameter(in the case when you have an independent variable and intercept) are different across the two subsamples, you are now testing(in the case of intercept only model) that the intercept parameter is different in the two subsamples. You can use the formula for Chow test in the documentation to compute the Chow test after spliting the samples:

where is the regression residual vector from the full set model, is the regression residual vector from the first set model, and is the regression residual vector from the second set model, n1 and n2 are the numbers of observations in each of the two subsamples, and k is the number of parameters which is equal to 1 in the case with intercept only model.

All Replies
Highlighted
Solution
‎09-27-2017 02:36 AM
SAS Employee
Posts: 2

## Re: Proc Autoreg : Chow test on single variable

The model you specififed is an intercept only model where the only parameter is the intercept. It is just a special case of a regression model with both intercept and slope parameter. And the computation of Chow test follows the same formula. You split the sample into two subsamples, the first one contains observations from 1 to 79, the second subsample contains observations from 80 and above, and you perform the same regression(intercept only regression) on each of the two subsamples. Instead of testing both the intercept and slope parameter(in the case when you have an independent variable and intercept) are different across the two subsamples, you are now testing(in the case of intercept only model) that the intercept parameter is different in the two subsamples. You can use the formula for Chow test in the documentation to compute the Chow test after spliting the samples:

where is the regression residual vector from the full set model, is the regression residual vector from the first set model, and is the regression residual vector from the second set model, n1 and n2 are the numbers of observations in each of the two subsamples, and k is the number of parameters which is equal to 1 in the case with intercept only model.

☑ This topic is solved.