Hi everyone!
I'm estimating the effect of 3 phases of the Covid-pandemic on the natural log of reported crime in a first differenced regression, using monthly measures and accounting for seasonality, with 290 panels and 59 time points (strongly balanced).
Hence, my two predictors are indicators and my dependent variable is continuous. Initially, I also had one time-invariant indicator but removed it as I understand that they are unnecessary in a first differenced regression.
In addition, I included an interaction term as I found evidence for a functional form problem without it.
IVs:
pc = 0 1 2 3
se = 1 2 3 4 5 6 7 8 9 10 11 12
I specified two similar regressions which provided slightly different coefficients, with the same sign but some differed in significance, from what I understand is essentially the same specification (see https://www.stata.com/statalist/arch.../msg00606.html )
Code:
xi: reg D.(lnrc i.pc*i.se), nocons tsscons vce(cl id)
Code:
reg D.lnrc i.pc##i.se, nocons tsscons vce(cl id)
I assume that I must have some kind of knowledge gap here or I've made some other mistake.
The slightly different values of the coefficients I can grasp to some extent but it is the difference in significance that baffles me.
Succinctly; Are these two specifications essentially the same in principle, or if not, what are the consequential differences of using the models?
Best regards
Erik Johnson
I'm estimating the effect of 3 phases of the Covid-pandemic on the natural log of reported crime in a first differenced regression, using monthly measures and accounting for seasonality, with 290 panels and 59 time points (strongly balanced).
Hence, my two predictors are indicators and my dependent variable is continuous. Initially, I also had one time-invariant indicator but removed it as I understand that they are unnecessary in a first differenced regression.
In addition, I included an interaction term as I found evidence for a functional form problem without it.
IVs:
pc = 0 1 2 3
se = 1 2 3 4 5 6 7 8 9 10 11 12
I specified two similar regressions which provided slightly different coefficients, with the same sign but some differed in significance, from what I understand is essentially the same specification (see https://www.stata.com/statalist/arch.../msg00606.html )
Code:
xi: reg D.(lnrc i.pc*i.se), nocons tsscons vce(cl id)
Code:
reg D.lnrc i.pc##i.se, nocons tsscons vce(cl id)
I assume that I must have some kind of knowledge gap here or I've made some other mistake.
The slightly different values of the coefficients I can grasp to some extent but it is the difference in significance that baffles me.
Succinctly; Are these two specifications essentially the same in principle, or if not, what are the consequential differences of using the models?
Best regards
Erik Johnson
Comment