Last active
September 24, 2024 06:02
-
-
Save josef-pkt/6895915 to your computer and use it in GitHub Desktop.
Generalized Method of Moments in Python: Estimating Euler Equations
Hi Josef, how would you modify the code if my Euler equation is the following: E[ I^-1 \sum_{i=1}^{I} \frac{C_{it}}{C_{it-1}}(R_{jt}-R_{ft})]. In other words, consider the Euler equation on household, subscripted by i, level and then taken average over all i's. This is a form of Euler equation listed Brav, Constantinides, and Geczy (2002) Journal of Political Economy paper. Any comment/suggestion to model this would be great help as I am new to Python programming and trying to replicate their results using Python. Thank you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, Josef! Where can I find the data?