Notes and codes

Replication codes 

Romer and Romer (2004) monetary shocks

Replicates the estimation of shocks and computes pseudo shocks until 2007 to account for the "generated regressor problem", folder here

My papers

For the links to the data and codes for the replication of my papers, see the research page

Teaching notes

Simplified hypothesis testing for beginners 


Vector autoregressive model

A step-by-step introduction to VAR models (with simulations on Matlab)  

Identification of VARs using external instruments  

Bayesian VARs, step-by-step derivations of posteriors


I was invited to teach courses based on this material at

Feel free to use this material for your own teaching and research. I am available to lecture on this  topic, either on zoom or in person.

 

Bayesian Econometrics 

Introducing Bayesian Econometrics using 4 examples 

The role of prior beliefs for identified and nonidentified parameters + Interpreting the effective sample size in importance sampling

Probability distributions frequently used in Bayesian Econometrics

Bayesian VARs, step-by-step derivations of posteriors (see link in VAR section above)


Linear Model

Introducing OLS estimation using simulations on Matlab


Practicing Matlab using exercises on selected topics in math

Notes here.  


Some notes that I was asked to put together to explain yields, interest rates, government bonds, and how all this is affected by central bankds. Link here.  


If you find typos and mistakes, please do get in touch


Other stuff