Hello everyone!
I am using the user-written command "xtcointreg" to conduct a panel data FMOLS study on the relationship between CO2 emissions and trade openness, controlling for GDP.
The command gives me a result, however when I use stata's "di" command to get the beta coefficient, the number displayed is different compared to the xtcointreg beta. I checked and the display does not come from any previous regression, since I ran 2 xtcointregs followed by di in a row and the display result changes.
Has this happened to anyone? If yes, have you figured out why and which one is the right value?
The beta I get from xtcointreg for lngdp_cap is -0.46, the di command gives me -2.28. Please see screenshot below.
Thank you.
I am using the user-written command "xtcointreg" to conduct a panel data FMOLS study on the relationship between CO2 emissions and trade openness, controlling for GDP.
The command gives me a result, however when I use stata's "di" command to get the beta coefficient, the number displayed is different compared to the xtcointreg beta. I checked and the display does not come from any previous regression, since I ran 2 xtcointregs followed by di in a row and the display result changes.
Has this happened to anyone? If yes, have you figured out why and which one is the right value?
Code:
xtcointreg lnco2cap lngdp_cap env_exp_gdp, dic(aic) di _b[lngdp_cap]
Thank you.
Comment