I have a (seemingly) simple question:
Are these essentially the same command?
spxtregress pm25 fire_acres i.month i.year, fe dvarlag(W) errorlag(W)
xsmle pm25 fire_acres i.month i.year, fe wmat(W) emat(W) model(sac)
As expected the coefficients are close in value (though not numerically identical). However, the predictions from these commands are wildly different. It doesn't matter which options I use (rform, xb, etc.)
I know I have not included the required information recommended by the forum, but I was hoping someone knows the answer based on how the commands operate, since the readout is relatively uninformative. If someone is willing to take a gander, I can provide the data, code, and whatever else.
Thanks,
Alex
Are these essentially the same command?
spxtregress pm25 fire_acres i.month i.year, fe dvarlag(W) errorlag(W)
xsmle pm25 fire_acres i.month i.year, fe wmat(W) emat(W) model(sac)
As expected the coefficients are close in value (though not numerically identical). However, the predictions from these commands are wildly different. It doesn't matter which options I use (rform, xb, etc.)
I know I have not included the required information recommended by the forum, but I was hoping someone knows the answer based on how the commands operate, since the readout is relatively uninformative. If someone is willing to take a gander, I can provide the data, code, and whatever else.
Thanks,
Alex

Comment