Dear all,
I have a basic Fama French Model and I need help to save the beta coefficients of each year for each company in a new variable. My dataset contains 1000 companies and 15 years (unbalanced). So I want to store for every company for every year the beta coefficient in a new variable.
My model looks like this:
Y = Alpha + Beta1 x Market + Beta2 x SMB + Beta3 x HML + e
I want to store for every company for every year the beta coefficients in a new variable. Is there a simple way of doing this?
Thank you in advance!
BR
Corn
Related Posts with Storing Fama French Betas in new variable
Unable to obtain marginal effects after cmclogitDear all, I am trying to run the postestimation command for marginal effects after an alternative s…
Dealing with missing dataHi, I use the following equation for calculating return for a portfolio of stocks. gen MOMf3_p1= ( …
Reshaping matched panel dataHi I am working with a panel data of firms (BvDIDnumber/BvDIDnumber_U being the unique firm ID for …
Define subroutine in a .do fileHi, I have a large do file that I would like to break down in several smaller pieces of code that I…
Using Foreach with loop to calculate averageHi, I want to calculate average of a variable X for all households for each 200 categories on varia…
Subscribe to:
Post Comments (Atom)
0 Response to Storing Fama French Betas in new variable
Post a Comment