Dear Statalist,
For my thesis I try to examine the effect when a firm generates more renewable energy on its cost of capital. In this I want to see what the difference in effects are in the period 2002-2010 and 2011-2018, and I have made interaction terms of my variable with a dummy that is 1 for period 1 (2002-2010) and a dummy that is 1 for period 2 (2011-2018). My question is regarding how I need to regress this, because I thought that I could do this in one model or in 2 where every time period is regressed separately, but the outcomes differ wildly. My supervisor told me the results should be the same but this isn't the case.
My sample consists of 140 firms and 17 years (2002-2018) and is unbalanced. I use Stata 15.1 MP.
The first method I tried was:
xtreg beta re_genperiod1 re_genperiod2 firmsizeperiod1 firmsizeperiod2, fe robust
The second method was:
xtreg beta re_genperiod1 firmsizeperiod1, fe robust
and:
xtreg beta re_genperiod2 firmsizeperiod2, fe robust
The third is:
xtreg betaperiod1 re_genperiod1 firmsizeperiod1, fe robust
and:
xtreg betaperiod2 re_genperiod2 firmsizeperiod2, fe robust
the outcomes differ widly from p-values of 0.00 to that of 0.413, etc.
Can someone explain why his is and which model is the correct one?
Thank you very much!
Julian
Related Posts with Fixed-effect model: how to regress with 2 sample periods
Cleaning dataHi, first post on stata forum here: Hello. I have a survey dataset with lots of -5, -4, -3, -2, -1 f…
Panel Data CEO-firm fixed effectsDear Statalists, I am new to Stata. I have one inquiry on performing the CEO-firm fixed effects for…
Command -ritest- for randomization inference in Stata now available from SSC.Thanks to Kit Baum, -ritest- is now available for download from SSC. -ritest- is a module to conduct…
Regressions on each sample after propensity score matchingDear All I have not used propensity score matching before. I read lots of materials but I am still c…
Cannot relabel sts graph groupsI wonder if anyone might kindly assist with an issue I have encountered in the labeling of groups in…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed-effect model: how to regress with 2 sample periods
Post a Comment