AmritSd / Institutional-ownership-impact-on-stocks-near-one-dollar

0 stars 1 forks source link

Create lagged fama-french factors #5

Open AmritSd opened 1 year ago

AmritSd commented 1 year ago

Create a df of lagged fama-french factors

AmritSd commented 1 year ago

Because the stocks in our portfolio are volatile. When we regress them against the fama-french factors, we may underestimate them. Thus we regress them against the current factors and their lagged versions.

The regression formula is: R_s - rf = beta_1 SMB + beta_2 HML + beta_3 MKT-rf + beta_4 SMB(t-1) + beta_5 HML(t-1) + beta_6 MKT-rf(t-1)

AmritSd commented 1 year ago

Check the file: data_cleaning/lagged_three_factor.ipynb

AmritSd commented 1 year ago

Input:

Image

Output:

Image