CLASS INFORMATION

Tuesday and Thursday, 11:00 - 12:20, Maxwell 402

INSTRUCTOR

Prof. Simon Weschle

Email: swweschl@syr.edu

Student Hours: Tuesday, 1:00 - 3:00, 332 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 and Practical Introduction. Princeton University Press.

I will refer to the book as DSS. You can obtain via Amazon, Princeton University Press, or any other book retailer.

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 on May 6.

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, Website Scraping (We will choose some of those topics based on student interest)
- 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

- Tuesday (1/23): Try to install R and RStudio Instructions can be found in DSS Ch. 1.5 (posted on Blackboard). Then, try to work through DSS Ch. 1.6 (posted on Blackboard).
- Thursday (1/25): DSS 1.7-1.9 (posted on Blackboard).
- Slides: Class 1, Class 2
- Code: Class 1, Class 2
- Data: turnout.csv, STAR.csv

Week 2: Estimating Causal Effects

- Tuesday (1/30): DSS 2.1-2.4
- Thursday (2/1): DSS 2.5-2.6
- Slides: Class 3, Class 4
- Code: Class 3, Class 4
- Data: STAR.csv, minwage.csv, resume.csv
- Review Exercise 1 (due 2/8, submit on Blackboard). You'll need UNpop.csv
- Problem Set 1 (due 2/9, submit on Blackboard). You'll need leaders.csv

Week 3: Inferring Population Characteristics

- Tuesday (2/5): DSS 3.1-3.3
- Thursday (2/7): 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/15, submit on Blackboard).
- Data Analysis Memo 1 (due 2/16, submit on Blackboard). This is the first step towards your Final Data Analysis Project.

Week 4: Inferring Population Characteristics,Continued; Finding and Cleaning Data

- Tuesday (2/13): 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
- Thursday (2/15): Weinberg, Harel, and Abramowitz, Ch. 4 (Blackboard)
- Slides: Class 7, Class 8
- Code: Class 7, Class 8
- Review Exercise 3 (due 2/22, submit on Blackboard).
- Problem Set 2 (due 2/23, submit on Blackboard). You'll need vignettes.csv

Week 5: Finding and Cleaning Data, Continuted

- Tuesday (2/20): Revisit Weinberg, Harel, and Abramowitz, Ch. 4 (Blackboard)
- Thursday (2/22): No class. Work on finding/cleaning data for your final project instead.
- Slides: Class 9
- Code: Class 9
- Review Exercise 4 (due 3/1, submit on Blackboard).
- Data Analysis Memo 2 (due 3/1, submit on Blackboard).

Week 6: Predicting Outcomes Using Linear Regression

- Tuesday (2/27): DSS 4.1-4.4.1
- Thursday (2/29): DSS 4.5
- Slides: Class 10, Class 11
- Code: Class 10, Class 11
- Data: countries.csv, pres08.csv, press12.csv UA_survey.csv
- Review Exercise 5 (due 3/8, submit on Blackboard).
- No problem set this week.

Week 7: Estimating Causal Effects with Observational Data

- Tuesday (3/5): DSS 5.1-5.3
- Thursday (3/7): DSS 5.4
- Slides: Class 11, Class 12
- Code: Class 11, Class 12
- Data: UA_survey.csv, UA_precincts.csv, immig.csv
- Review Exercise 6 (due 3/22, submit on Blackboard).
- Problem Set 3 (due 3/22, submit on Blackboard). You'll need progresa.csv

Week 8: Quantifying Uncertainty

- Tuesday (3/19): DSS 7.1-7.2.2
- Thursday (3/21): DSS 7.2.3-7.3
- Slides: Class 14, Class 15
- Code: Class 14, Class 15
- Data Analysis Memo 3 (due 3/29, submit on Blackboard).

Week 9: Regression Extensions

- Tuesday (3/26): No new reading. Review code from past 2 weeks instead
- Thursday (3/28): The Beginner's Guide to Logistic Regression
- Slides: Class 16, Class 17
- Code: Class 16, Class 17
- Data: cces19.csv, social.csv
- Problem Set 4 (due 4/5, submit on Blackboard). You'll need blackturnout.csv and overallturnout.csv

Week 10: Extensions and Consolidation

- Tuesday and Thursday (4/2 and 4/4): No new reading. Review code from last week instead
- Slides: Class 18, Class 19
- Code: Class 18, Class 19
- Data: pres08.csv, polls08.csv
- Data Analysis Memo 4 (due 4/12, submit on Blackboard).

Week 11: Spatial Data

- Tuesday and Thursday (4/9 and 4/11): No reading. Instead, if you are so inclined, have a look and work though the Analysis Exercise (voluntary, but useful). You'll need mothers.csv
- Code: Class 20, Class 21
- Data: walmart.csv, syracuse_accidents.csv
- Problem Set 5 (due 4/26, submit on Blackboard). You'll need intrade08.csv, polls08_ps5.csv, and pres08.csv

Week 12: Text as Data, Webscraping

- Code: Class 22
- Web Scraping: Code and Explanation
- Data: syracuse_accidents.csv, federalist.zip
- Data Analysis Memo 5 (due 4/26, submit on Blackboard).

Week 13: Text as Data, Webscraping

- Web Scraping: Code and Explanation