Dear community,
I am currently running multiple panel regressions for different time periods. I am attempting to run a Chow Test for the following groups:
Group==0 : data ranging from 1960-2010
Group==1 : data ranging from 2011-2018
The code I run is as follows:
xtreg loggdp sdem loggdp1 loggdp2 loggdp3 loggdp4 if group==0, fe robust
//REG RESULTS
xtreg loggdp sdem loggdp1 loggdp2 loggdp3 loggdp4 if group==1, fe robust
//REG RESULTS
generate sdem0=sdem*group if group==0
generate sdem1=sdem*group if group==1
gen sdem_10=sdem*group
xtreg loggdp sdem1 sdem2 loggdp1 loggdp2 loggdp3 loggdp4 , fe robust
variable sdem2 not found
When I attempt to run the cumulative regression, I receive the error message in red. Any help on this would be appreciated. Thank you!
Sally Silk
I am currently running multiple panel regressions for different time periods. I am attempting to run a Chow Test for the following groups:
Group==0 : data ranging from 1960-2010
Group==1 : data ranging from 2011-2018
The code I run is as follows:
xtreg loggdp sdem loggdp1 loggdp2 loggdp3 loggdp4 if group==0, fe robust
//REG RESULTS
xtreg loggdp sdem loggdp1 loggdp2 loggdp3 loggdp4 if group==1, fe robust
//REG RESULTS
generate sdem0=sdem*group if group==0
generate sdem1=sdem*group if group==1
gen sdem_10=sdem*group
xtreg loggdp sdem1 sdem2 loggdp1 loggdp2 loggdp3 loggdp4 , fe robust
variable sdem2 not found
When I attempt to run the cumulative regression, I receive the error message in red. Any help on this would be appreciated. Thank you!
Sally Silk
Comment