Applied Econometrics
Econ 536 - Fall 2016

Routines

Disclaimer: It is a tradition for faculty and teaching assistants of Applied Econometrics to write statistical routines with the single purpose of stimulating students to create their own computational programs. Every year these routines are updated, and consequently they are subject to changes without prior notice. These routines are designed for educational purposes only, and the providers do not assume any responsibility for the outcomes of applying them outside the course.

R Language

Routine

Description

Quantile Smoothing Splines
Accelerated Gradient Descent
Censored Regression Model
Dantzig selector (Candes and Tao, 2005)
Augmented Dickey-Fuller test
Granger causality test
Routine for implementing Johansen's cointegration test
Code for the Figure 1, Lecture 9 (unit root forecast)
A collection of functions for panel estimation
Two-stages least squares
Confidence ellipses and the Malinvaud example
Simulations to illustrate the Hotelling-Secrist effect
Simple version of the Granger-Newbold spurious regression simulation

STATA

Routine

Description

Baseline do-file to help on calculating Akaike and Schwarz Inf. Criteria
Routine for implementing Granger-Newbold spurious regression example
Routine for computing means and deviations from means
Example batch file that estimates a productivity equation (run PQ.do first)