OpenSourceAP / CrossSection

Code to accompany our paper Chen and Zimmermann (2020), "Open source cross-sectional asset pricing"
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3604626
GNU General Public License v2.0
716 stars 215 forks source link

Better deal with lags in ShareVol.do #52

Closed tomz23 closed 2 years ago

tomz23 commented 2 years ago

ShareVol.do actually drops too many observations because it does not properly deal with observations at the beginning of the sample (where there aren't enough lags of the variables).

tomz23 commented 2 years ago

Fixed in https://github.com/OpenSourceAP/CrossSection/commit/7b2f9e3d6ace33e173737a453771127334abd86b