![]() | ![]() |
Lectures PDFs of slides are best viewed in Adobe Acrobat, rather than in your browser. Topic 1 Introduction to the Course and to R Supplementary material: R code and data for the GDP example. R code and data from the fertility example. You’ll 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. Topic 2 Review of Matrix Algebra for Regressionand Regression and Graphics in R Supplementary material: We will work through Kevin Quinn’s matrix algebra review (pdf). For a general review of the basic math we’ll need in the course, you can find the lecture notes for the CSSS Math Camp here. R code and csv data for an example of how the base graphics package can create scatterplots and perform linear regression. Topic 3 Linear Regression in Matrix Form andProperties and Assumptions of Linear Regression Supplementary material: You may find useful three review lectures on basic probability theory, discrete distributions, and continuous distributions. Topic 4 Inference and Interpretation of Linear Regression Supplementary material: Example code for estimating a linear regression, extracting confidence intervals for the parameters, and plotting fitted values with a confidence envelope. Topic 5 Specification and Fitting in Linear Regression Topic 6 Outliers and Robust Regression Techniques Topic 7 Time Series: Stochastic Processes Topic 8 Models of Stationary and Non-Stationary Time Series Supplementary material: Example code and csv data for estimating and interpreting ARMA models in R, and example code for estimating and interpreting ARIMA and ECM models. Topic 9 Introduction to Panel Data Analysis Supplementary material: Example code and csv data for estimating and interpreting panel ARIMA models in R. For the curious, the R script used to construct the example plots in the first half of this lecture is here. Student Assignments Problem Set 1 Due Tuesday, April 10, in class Supplementary material: Data for problem 1 in comma-separated variable format. Problem Set 2 Due Tuesday, April 22, in class Supplementary material: Data for problem 1 in comma-separated variable format. Problem Set 3 Due Thursday, May 3, in class Supplementary material: Five R script templates for simulation of the performance of linear regression with different kinds of data: when the Gauss-Markov assumptions apply; when there is an omitted variable; when there is selection on the response variable; when there is heteroskedasticity; and when there is autocorrelation in the response variable. Problem Set 4 Due Thursday, May 24, in class Supplementary material: Data for problem 2 in comma-separated variable format. Final Paper Due June 6, at 5:00 PM, in my mailbox See the syllabus for paper requirements, and see my guidelines and recommendations for quantitative research papers. Labs Lab 1 Introduction to R Lab 1 code and example data, and a page of links to R and LaTeX Resources. Lab 2 Dataframes and Indexing Lab 2 code. Lab 3 Linear Models, Predictions, and Plots Lab 3 code and example data. Lab 4 Loops and Simulation Lab 4 code. Lab 5 Prediction and Presentation Review Lab 5 code. Lab 6 Simulation, Heteroskedasticity, and Outliers Lab 6 code. Lab 7 Logistic Regression Lab 7 code. Lab 8 Introduction to Simulation with simcf Lab 8 code. |
![]() | Department of Political Science Center for Statistics and the Social Sciences | Copyright 2011–2013 Privacy · Terms | Design: Chris Adolph and Erika Steiskal | ![]() |