Hi,
I have the daily data of ten years (from 2008 to 2018) with four variables: 1) Date 2) Firm Name 3) Firm return and 4) Market return. I have to obtain the beta values by running simple market model regression at the end of each month from the previous 12-month daily data. For example, if I want Beta at end of December 2008, then the STATA run a regression from Jan 2008 to Dec 2008 (on daily data) and store / provide beta value at end of (Dec 2008) each month (I guess through use of loop). I have converted the 'Date' into month number (i.e., Jan 2008 daily data is '542' in month column; Feb 2008 is 543 and so on).
Thanks
Related Posts with Storing Beta values by running regression loops on panel data
Help with a detailed specification using multiple imputationHello, I am attempting to estimate a model: Code: logit y x1 x2 x3 where x1 is a dummy variable…
Test differences in firms that adopted org changeHi / Bonjour, I would like to test firms that adopted organization mgmt. change ( yes or no, 1/0) a…
Multilevel analysisHello statalist; I am trying to do a multilevel analysis and when introducing second level variables…
Exogeneity test for nonlinear unbalanced panel with single dummy endogenous explanatory variable using CRE.Hi, I'm essentially following the idea of Dr. Jeff Wooldridge Jeff Wooldridge in trying to test for…
Number of parameters in exploratory factor analysisHi everyone. Below is the output of an exploratory factor analysis using the command factor and the …
Subscribe to:
Post Comments (Atom)
0 Response to Storing Beta values by running regression loops on panel data
Post a Comment