Computing for Data Analysis in the Social Sciences

The COMPASS Workshops are a series of free, open-source statistical programming and data science workshops held weekly during the academic year at Princeton University. Supported by the Department of Sociology, Department of Politics, and the Office of the President, the workshops focus on using R with RStudio in a variety of real-world applications relevant to social scientists. Topics covered include data wrangling, data visualization, Monte Carlo simulations, linear regression, social network analysis, and text mining.

The COMPASS Workshops are held on **Tuesdays** from **7:00 to 8:30pm** at **Green Hall Room 1-C-4C (Friend 101 on February 13)** at Princeton University during the academic year. The workshops are open to all students,
staff, and affiliates of Princeton as well as the larger research community. To fully participate in the workshops
attendees should bring a laptop.

To find out more about the workshops, join the COMPASS Workshops mailing list by sending an email to listserv@lists.princeton.edu with "Subscribe COMPASSWORKSHOPS" in the body and all other lines blank including the subject.

February 13 | Introduction to R and RStudio [Friend 101] (Ethan) |
Slides | Data | Code |

February 20 | Data Wrangling in R [Green Hall Room 1-C-4C] (Yunkyu) |
Slides | Data | Code |

February 27 | Base R Graphics (Yunkyu) |
|||

March 6 | Hypothesis Testing (Ethan) |
|||

March 27 | Programming Loops in R (Ethan) |
|||

April 3 | Regression Analysis in R (Yunkyu) |
|||

April 10 | Data Visualization with ggplot2 (Ethan) |
|||

April 17 | Probability and Simulations in R (Yunkyu) |

September 21 | Introduction to R and RStudio (Ethan) |
Slides | Data | Code |

September 28 | Data Wrangling in R (Yunkyu) |
Slides | Data | Code |

October 5 | Base R Graphics (Yunkyu) |
Slides | Data | Code |

October 12 | Programming Loops in R (Ethan) |
Slides | Data | Code |

October 19 | Regression Analysis in R (Yunkyu) |
Slides | Data | Code |

October 26 | Probability and Simulations in R (Yunkyu) |
Slides | Code | |

November 9 | Monte Carlo Simulations in R (Yunkyu) |
Slides | Data | Code |

November 16 | Hypothesis Testing (Ethan) |
Slides | Data | Code |

November 30 | Text Mining in R (Ethan) |
Slides | Data | Code |

December 7 | Data Visualization with ggplot2 (Ethan) |
Slides | Data | Code |

February 15 | Introduction to R and RStudio (Yunkyu) |
Slides | Data 1 | Code | Data 2 |

February 22 | Data Wrangling in R (Yunkyu) |
Slides | Data | Code | |

March 1 | Basic Graphics with ggplot2 (Ethan) |
Slides | Data | Code | |

March 8 | Intermediate Graphics with ggplot2 (Ethan) |
Slides | Data | Code | |

March 29 | Hypothesis Testing in R (Ethan) |
Slides | Data | Code | |

April 12 | Probability and Simulations in R (Yunkyu) |
Slides | Code | ||

April 19 | Text Analysis in R (Ethan) |
Slides | Data | Code | |

April 26 | Regression Analysis in R (Yunkyu) |
Slides | Data | Code |

September 20 | Introduction to R and RStudio (Ethan) |
Slides | Data | Code |

September 27 | Data Wrangling in R (Yunkyu) |
Slides | Code | |

October 4 | Base R Graphics (Yunkyu) |
Slides | Code | |

October 11 | Data Visualization in R with ggplot2 (Ethan) |
Slides | Data | Code |

October 18 | Programming Loops in R (Ethan) |
Slides | Data | Code |

November 8 | Probability and Simulations in R (Yunkyu) |
Slides | Code | |

November 15 | Monte Carlo Simulations in R (Yunkyu) |
Slides | Data | Code |

November 29 | Text Analysis in R (Ethan) |
Slides | Data | Code |

December 6 | Hypothesis Testing in R (Ethan) |
Slides | Data | Code |

December 13 | Regression Analysis in R (Yunkyu) |
Slides | Data | Code |

**Teaching Staff**

The workshops are taught by Ethan Fosse (Research Associate, Department of Sociology) and Yunkyu Sohn
(Research Associate, Department of Politics).

**Faculty Sponsors**

The workshops are sponsored by Margaret Frye (Assistant Professor, Department of Sociology), Kosuke Imai (Professor, Department of Politics), and Matthew Salganik (Professor, Department of Sociology).