logobanner1
research label grad course label undergrad course label other labelbook linkarticles linkworking paper linkAdvanced Quantitative Political Methodology
	        linkmax likelihood linkvisualizing data linkpanel data linkPolitical Science as Social Science
	       LinkIntro to Soc Stat linkCase-Based Stat linkPolitical Economy Seminar linkSoftware linkData
	        link

Panel Data Analysis
for Comparative Research

Essex 2G

A survey of regression models for time series and time series cross-section data, with emphasis on modeling dynamics and panel structures. Participants will gain a basic understanding of the theory behind TSCS models and a working understanding of how to estimate, select, and interpret them, with a focus on the problems facing students of political economy, international relations, and comparative politics.



Essex 2G

Panel Data Analysis
for Comparative Research

Offered every Summer at the
University of Essex


For my University of  Washington
     course, click Panel Data again.


Syllabus  



Summer 2022

Class meets:
MTWThF 10:00–13:30
Taught in person at ESS

Lectures           Click on lecture titles to view slides or the buttons to download them as PDFs.

Topic 1

Course Introduction / Review of Linear Regression and Simulation    

Students looking to brush up on matrix algebra may want to read through Kevin Quinn’s matrix algebra review. Finally, in conjunction with these slides I discuss examples that can be found in slides on labor standards in Africa and intimate partner homicide in the US.


Lab 1

Introduction to R    

This lab comes with three example scripts. First, there is an R code and data for exploratory data analysis using histograms and boxplots. Next, there is an R code and data for a simple bivariate linear regression. Finally, there is an R code and data for a multiple regression example.


Interested students can find detailed instructions for downloading, installing, and learning my recommended software for quantitative social science here. Focus on steps 1.1 and 1.3 for now, and then, optionally, step 1.2. (Note: These recommendations may seem dated, as many students prefer to use RStudio as an integrated design environment in combination with RMarkdown. You are free to follow that model, which minimizes start-up costs. I still prefer a combination of Emacs, the plain R console, and Latex/XeLatex for my own productivity, with occasional use of Adobe Illustrator for graphics touch-up.)


Topic 2

Basic Concepts for Time Series: Trends, Lags, and Cycles    

The univariate time series simulation function for R mentioned in the lecture is available here; this function allows for deterministic trends, stationary and nonstationary ARMA processes, and additive or multiplicative seasonality. Also available is a simpler but less flexible R script showing simulation and diagnostics of stationary processes using built-in functions.


Topic 3

Models of Stationary Time Series    

Example code and csv data for estimating and interpreting ARMA models in R.


Topic 4

Models of Non-stationary Time Series    

Example code for estimating and interpreting ARIMA and ECM models in R. You will also need these presidential approval data and this helper function for plotting counterfactual time series using R base graphics.


Topic 5

Basic Concepts for Panel Data    

For the curious, the R script used to construct the example plots in the first half of this lecture is here.


Topic 6

Panel Data Models with Many Time Periods    

Panel ARIMA and fixed effects models in R: example code and csv data for estimating and interpreting panel models with a large number of periods and a small number of cross-sectional units.


Topic 7

Panel Data Models with Few Time Periods    

Panel GMM models (Arellano-Bond/Blundell-Bond) in R: example code, helper functions, and csv data for estimating and interpreting panel models with a small number of periods and a large number of cross-sectional units. On Nickell bias: a script to plot the asymptotic results of Nickell (1981) as well as a helper file and two Monte Carlo scripts (large N / large β and large N / small β) to produce the finite sample results in the lecture slides.


Topic 8

Heteroskedasticity in Panel Data    


Topic 9

In-Sample Simulation for Panel Data Models  

Example code for simulating in-sample unit-by-unit from a panel data model. Uses the cigarette data and helper functions from Topic 7.


Advanced Topic 1

Missing Data and Multiple Imputation for Panel Data    


Advanced Topic 2

Panel Data with Binary Dependent Variables    


Student Assignments

Course Problem Set  

Problems may be turned in at any time during the course

Data for problems 1, 3, and 4 in comma-separated variable format. Data for problem 4. Data for problem 5. Data for Bonus Problem A. Data for Bonus Problems B and C. Data for Bonus Problem D.



University of Washington link

CSSS Center for Statistics and the Social Sciences link

Designed by
Chris Adolph & Erika Steiskal

Copyright 2011–2022
Privacy · Terms of Use

Jefferson (2007-2011)