Publications by Sebastien Parker

Replication Example 3

07.08.2024

In this third example, we will replicate: “Intergenerational Social Mobility Among the Children of Immigrants in Western Europe: Between Socioeconomic Assimilation and Disadvantage” by Mauricio Bucca & Lucas Drouhot. Full replication files here: https://osf.io/4tjfq/?view_only=2894f243dc524ba8b129153e150715e3 Note: their files implement the pac...

6609 sym R (28191 sym/62 pcs) 2 img 1 tbl

Replication Example 1

07.08.2024

Introduction This tutorial walks through replicating key parts of Barum Park’s paper “Was There a Culture War? Partisan Polarization and Secular Trends in U.S. Public Opinion” using GSS data from 1972-2022. Note 1: We are using the full current GSS dataset until 2022. The paper is based on data until 2012. So we are replicating as well as upd...

3713 sym R (21189 sym/29 pcs) 5 img 1 tbl

Replication Example 2

07.08.2024

This is a direct replication of the files provided by: Lea Elsässer, Svenja Hense, Armin Schäfer on their GitHub page. In this file, we reproduce the analyses for the article Not just money: Unequal responsiveness in egalitarian democracies published with the Journal or European Public Policy. The article is based on an original dataset—“Resp...

7534 sym 11 img 10 tbl

Tutorial 8 (252)

30.07.2024

Introduction The tutorial is adapted from a blog post by Andrew Heiss, which I strongly recommend to read: https://www.andrewheiss.com/blog/2022/05/20/marginalia/#other-marginal-slope-things Setup environment First, let’s set up our environment by loading the necessary packages: What are Marginal Effects? Marginal effects represent the change i...

16166 sym R (24657 sym/46 pcs) 8 img 3 tbl

Tutorial 7 (SOC252)

29.07.2024

This tutorial covers advanced regression techniques and post-estimation analysis using R. We’ll explore various aspects of regression analysis, including diagnostics, non-linear relationships, generalized additive models (GAMs), interactions, and techniques for making the most of regression results. Setup environment First, let’s set up our en...

16031 sym Python (29424 sym/90 pcs) 17 img 3 tbl

Tutorial 6 (252)

22.07.2024

Setting Up R for Analysis First, let’s install and load the necessary packages. This step ensures that we have all the tools we need for our analysis. Data Preparation and Exploration Let’s create a binary outcome variable for Clinton votes in the 2016 election: # Load the States data data(USStates) States <- USStates States$Clinton <- abs(as...

10064 sym R (17948 sym/104 pcs) 22 img 1 tbl

Tutorial 6 (252)

21.07.2024

Setting Up R for Analysis First, let’s install and load the necessary packages. This step ensures that we have all the tools we need for our analysis. Data Preparation and Exploration Let’s create a binary outcome variable for Clinton votes in the 2016 election: # Load the States data data(USStates) States <- USStates States$Clinton <- abs(as...

8275 sym R (17948 sym/104 pcs) 22 img 1 tbl

Tutorial 5 (SOC252)

16.07.2024

Introduction This tutorial covers how to perform Multiple Linear Regression (MLR) and interactions in R, including how to produce and interpret regression tables using sjPlot. We’ll use two datasets to start: HappyPlanetIndex (for global data) and States (for US state-level data). Setting Up R for Analysis First, let’s install and load the nec...

9455 sym R (23584 sym/104 pcs) 19 img 2 tbl

Tutorial 4 (SOC252)

11.07.2024

# List of packages packages <- c("tidyverse", "fst", "modelsummary", "broom", "sjPlot", "ggplot2", "car", "Lock5Data", "mosaic") # add any you need here # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages(new_packages) # Load the ...

11981 sym Python (15066 sym/64 pcs) 13 img 7 tbl

Tutorial 3 (252)

10.07.2024

# List of packages packages <- c("tidyverse", "fst", "modelsummary", "viridis", "kableExtra", "flextable", "officer") # add any you need here # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages(new_packages) # Load the packages la...

8859 sym R (45574 sym/75 pcs) 17 img 3 tbl