Dear community,

What is the code to perform a Fama-MacBeth regression in Stata? I understand how this works theoretically, but I do not understand how this is implemented in Stata. My variables are the 5 factors of the Fama French 5 factor model and 25 portfolios double sorted on size and book-to-market value of equity.

Additionally I have another question as well. That is, in order to test the Fama French 5 factor model, you just regress the factors on one of the portfolios right? In other words, is the correct code to test the 5 factor model:

- tsset date (in order to declare dataset to be time-series data with date as the time variable)

- reg me1bm1 markt smb hml rmw cma (where me1bm1 is the portfolio with lowest marketcap and lowest B/M and the other 5 variables are the 5 factors).

When I use this code I get very strange results, namely that almost all intercepts are significant (which is in contradiction with the Fama French papers). Hence, I am wondering whether there is something wrong with this code. I hope you all could help me with these 2 questions!

Yours truly,

Niek

Similar questions and discussions