Hello!
I am a complete newbie to stata and I am trying to run a Fama MacBeth regression using the asreg function in Stata. I keep getting errors when I run the regressions, I believe that my main problem is how my data is set up before importing it to Stata.
Basically, I am looking at the impact that ESG may or may not have on firms performance (stock returns). I have 299 firms from 2014-2018 inclusive with monthly returns and yearly ESG values (unbalanced panel with 16,234 observations). I have imported the Fama French Factors from their website and put all the data into one spreadsheet. I think my problem is the way I set up the "date" and I am getting confused on how I tell stata to regress for each "ID" for each month of the years. Any missing returns or ESG have been removed from the spreadsheet
my code:
xtset ID YrMth
asreg ExcReturns MktRF HML SMB RMW CMA, fmb
and in the result all the factors have been "omitted" and result in 0's
How should my date variable be set up in stata, for example January 2015
I may just be doing this all wrong, and confusing myself on a daily
Any help would be greatly appreciated!
Related Posts with Fama MacBeth with "asreg" in Stata
Absolute value of residualHello Experts A typical measure for firms’ use of earnings management in the finance literature is b…
Year and industry fixed effectsHi guys, In my regression model, I need to control for year and industry fixed effects. However, I'…
My fixed effects regression changes if I omit an omitted variableHello all, I run a fixed effects regression in a linear probability model of self rated health and …
Using Constraints with Movestay commandI want to test Lr test for endogenous switching regression equation (I have used movestay of this), …
Regular survival analysis versus competing risk analysisHi, I have a question regarding my analysis setup for research on the exit-route for strategies ado…
Subscribe to:
Post Comments (Atom)
0 Response to Fama MacBeth with "asreg" in Stata
Post a Comment