CLASS INFORMATION

Monday and Wednesday, 2:15 - 3:35, Tolley 104

INSTRUCTOR

Prof. Simon Weschle

Email: swweschl@syr.edu, Phone: 315-443-8678

Student Hours: Monday, 11:00 - 1:00, 530 Eggers or Zoom (see Syllabus for details)

COURSE DESCRIPTION

Data and data analysis are increasingly important for political science research, but also in the public discourse and the workplace. In this class, you will learn how to conduct data analysis yourself. We'll cover topics such as finding data, data cleaning and data manipulation, data visualization, and data analysis. Along the way, we'll learn basic statistical functions and plots in the powerful (and free) statistical program R. Throughout, the class takes an applied approach, so students will develop their own research project and conduct their own data analyses.

TEXTBOOK

Elena Llaudet and Kosuke Imai: Data Analysis for Social Science, A Friendly Introduction.

I will refer to the book as DSS. This is a forthcoming book, and the authors have graciously made advance copies free of charge available for us. You can find a link to the book on Blackboard. Please do not share it or otherwise distribute the book.

ASSIGNMENTS AND GRADING

- Class Participation (15%): To succeed in this course, you have to attend class on a regular basis, come prepared by having worked through the assigned reading, and actively participate and ask questions.
- Class Programming Review Exercises (10%): There will be short weekly review exercises that cover the basic R material we learned. Each exercise is graded as pass/fail, where a pass is worth 1 point and a fail worth 0.
- Problem Sets (30%): There will be 5 to 6 problem sets in which you are asked to use what you have learned in class to analyze different kinds of data. The answers to these problem sets should be typed. They are graded on a scale from 1 to 5, and late submissions will be penalized by 1 point for every 24 hours past the due date. Any extension requests must be made to me personally and as soon as possible.
- Data Analysis Memos (15%): Your main task in this class will be to write a paper with your own data analysis on a question that is of interest to you. To help you along the way, you will submit reports about the individual steps throughout the semester. The memos will cover: your research question and potential confounders, your data, data cleaning, descriptive statistics, bivariate relations, (first) regression results. The memos should be short (2-3 pages) and typed in their entirety. They are graded on a scale from 1 to 5, and late submissions will be penalized by 1 point for every 24 hours past the due date. Any extension requests must be made to me personally and as soon as possible. I will provide feedback to every memo to help you improve your final paper.
- Data Analysis Paper (30%): Your final paper should set out your research question, explain the data and statistical methods you use to investigate it, and describe what, based on your data analysis, the answer is. There is no minimum or maximum paper length. It should be as long as needed, but as short as possible. The papers are due at the beginning of the finals period (May 18).

SYLLABUS

For more detailed information on class policies and all of the fine print, please see the Syllabus.

CLASS TOPICS

Below is a list of topics that the class will cover. The exact week-to-week schedule will be developed and updated throughout the semester to reflect student interest and the pace at which we are progressing.

- Getting Started with R
- Causality with Randomized Experiments
- Finding and Cleaning Data
- Inferring Population Characteristics, Bivariate Relations
- Predicting Outcomes, Causality with Observational Data, Linear Regression
- Spatial Data, Network Data, Text as Data (We will choose some of those topics based on student interest)
- Website Scraping
- Data Analysis Paper Workshop

CLASS SCHEDULE

Below is a continuously updated class schedule. It contains information on what topics we are covering as well as on the readings and assignments. Please check this site EVERY WEEK.

Week 1: Getting Started with R

- Monday (1/24): Try to install R and RStudio before the first class. Instructions can be found in the textbook (DSS, link on Blackboard) on page 7.
- Wednesday (1/26): DSS Ch. 1.6
- Slides: Class 1, Class 2
- Code: Class 1, Class 2
- Data: turnout.csv

Week 2: Getting Started with R, Estimating Causal Effects

- Monday (1/31): DSS 1.7-1.9
- Wednesday (2/2): DSS 2.1-2.6
- Slides: Class 3, Class 4
- Code: Class 3, Class 4
- Data: STAR.csv, minwage.csv, resume.csv
- Review Exercise 1 (due 2/9, submit on Blackboard). You'll need UNpop.csv
- Problem Set 1 (due 2/11, submit on Blackboard). You'll need leaders.csv

Week 3: Inferring Population Characteristics

- Monday (2/7): DSS 3.1-3.3
- Wednesday (2/9): DSS 3.4-3.6
- Slides: Class 5, Class 6
- Code: Class 5, Class 6
- Data: BES.csv, UK_districts.csv, congress.csv
- Review Exercise 2 (due 2/18, submit on Blackboard).
- Data Analysis Memo 1 (due 2/18, submit on Blackboard).

Week 4: Finding and Cleaning Data

- Monday (2/14): Have a look at NYUAD's guide to Political Science datasets here, here, here, and here; as well as at Erik Gahner Larsen's Dataset of Political Datasets
- Wednesday (2/16): Weinberg, Harel, and Abramowitz, Ch. 4 (Blackboard)
- Slides: Class 7, Class 8
- Code: Class 7, Class 8
- Review Exercise 3 (due 2/23, submit on Blackboard).
- Problem Set 2 (due 2/25, submit on Blackboard). You'll need vignettes.csv

Week 5: Predicting Outcomes Using Linear Regression

- Monday (2/21): DSS 4.1-4.4.1
- Wednesday (2/23): DSS 4.5
- Slides: Class 9, Class 10
- Code: Class 9, Class 10
- Data: countries.csv, pres08.csv, press12.csv
- Review Exercise 4 (due 3/2, submit on Blackboard).
- Data Analysis Memo 2 (due 3/4, submit on Blackboard).

Week 6: Estimating Causal Effects with Observational Data

- Monday (2/28): DSS 4.6, 5.1-5.2
- Wednesday (3/2): DSS 5.3
- Slides: Class 11, Class 12
- Code: Class 11, Class 12
- Data: UA_survey.csv, UA_precincts.csv, immig.csv
- Review Exercise 5 (due 3/9, submit on Blackboard).
- Problem Set 3 (due 3/11, submit on Blackboard). You'll need progresa.csv

Week 7: Quantifying Uncertainty

- Monday (3/7): DSS 5.4, 7.1-7.2.2
- Wednesday (3/9): DSS 7.2.3-7.3
- Slides: Class 13, Class 14
- Code: Class 13, Class 14
- Data Analysis Memo 3 (due 3/25, submit on Blackboard).

Week 8: Extensions

- Monday (3/21): No new reading. Review code from past weeks instead
- Wednesday (3/23): The Beginner's Guide to Logistic Regression
- Slides: Class 15, Class 16
- Code: Class 15, Class 16
- Data: cces19.csv, social.csv
- Problem Set 4 (due 4/1, submit on Blackboard). You'll need blackturnout.csv

Week 9: Extensions and Consolidation

- Monday (3/28): DSS 6.7
- Wednesday (3/30): Continue working through the Analysis Exercise
- Slides: Class 17, Class 18
- Code: Class 17, Class 18
- Data: mothers.csv, pres08.csv, polls08.csv, pollsUS08.csv
- Data Analysis Memo 4 (due 4/8, submit on Blackboard).

Week 10: Spatial Data

- Monday (4/4): Quantitative Social Science: An Introduction (QSS) 4.1 (Blackboard)
- Slides: Classes 19 and 20
- Code: Class 19, Class 20
- Data: walmart.csv
- Problem Set 5 (due 4/15, submit on Blackboard). You'll need intrade08.csv, polls08_ps5.csv, and pres08.csv

Week 11: More Spatial Data, Text as Data

- Code: Class 21, Class 22
- Slides: Class 22
- Data: syracuse_accidents.csv, federalist.zip

Week 12: Webscraping

- Guest Lecturer: Sebastian Karcher
- Step-by-Step, Code
- Data Analysis Memo 5 (due 4/29, submit on Blackboard).

Week 13: More Text as Data, Making Nice Graphs

- Code: Class 25, Class 26
- Slides: Class 25
- Data: nyassembly.rda
- Problem Set 6 (due 5/6, submit on Blackboard). You'll need elections.csv, dtm.Rdata, and papers.csv.

Week 14: Review and Final Paper Workshop