Publications by Sebastien Parker

Tutorial 6 & Homework 7 (202)

01.11.2023

In this tutorial, we will learn how to use the infer package for hypothesis testing as well as do tables and calculations the “long way” for the Chi-Square test statistic. Let’s get started. Setting up environment # List of packages packages <- c("tidyverse", "infer", "fst") # add any you need here # Install packages if they aren't installe...

6922 sym 4 img

Tutorial 5 and Homework 6 (202)

18.10.2023

Tutorial 5 In this tutorial, we will showcase a few new useful skills, namely in saving data, graphs, and output. Then, we will provide time to work on “missions” that will help you make strides towards your final project. Please ask us questions as you run into issues or if you need clarification! Let’s first set up our environment and read ...

11548 sym Python (18432 sym/61 pcs) 5 img 2 tbl

Homework 3 (SOC202)

16.10.2023

# List of packages packages <- c("tidyverse", "modelsummary", "forcats", "RColorBrewer", "fst", "viridis", "knitr", "kableExtra", "rmarkdown", "ggridges", "viridis", "questionr") # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) in...

4203 sym R (12969 sym/48 pcs) 1 img 1 tbl

Tutorial 5 (252)

12.10.2023

In this tutorial, we will showcase a few new useful skills, namely in saving data, graphs, and output. We will also introduce a new function useful for visualization as well as do a few statistical calculations and interpretations based on the lecture. Let’s first set up our environment and read in the ess data as we have done before. # List of p...

9938 sym Python (12327 sym/50 pcs) 2 img 2 tbl

Tutorial 4 and Homework 5 (202)

04.10.2023

Starting out with a project Step 1. Create a new working directory by starting a new R project. Go to ‘File’, then ‘New Project’, then ‘New Directory’. Provide the following name for your directory: “Homework_5_Project”. Step 2. Go to the top again to ‘File’, then new file, then do R markdown and save it as “Homework_5_First...

10818 sym R (27447 sym/97 pcs) 21 img 4 tbl

Tutorial 4 and Homework 5 (202)

03.10.2023

Starting out with a project Step 1. Create a new working directory by starting a new R project. Go to ‘File’, then ‘New Project’, then ‘New Directory’. Provide the following name for your directory: “Homework_5_Project”. Step 2. Go to the top again to ‘File’, then new file, then do R markdown and save it as “Homework_5_First...

10813 sym R (27447 sym/97 pcs) 21 img 4 tbl

Tutorial 4 & Participation 3 (SOC252)

03.10.2023

Starting out with a project Step 1. Create a new working directory by starting a new R project. Go to ‘File’, then ‘New Project’, then ‘New Directory’. Provide a name for your directory: e.g., “SOC_252_Project”. Step 2. Go to the top again to ‘File’, then new file, then do R markdown and save it as “Participation_3_yourlastn...

7463 sym Python (7861 sym/18 pcs)

Tutorial 4 & Homework 5

02.10.2023

Starting out with a project Step 1. Create a new working directory by starting a new R project. Go to ‘File’, then ‘New Project’, then ‘New Directory’. Provide the following name for your directory: “Homework_5_Project”. Step 2. Go to the top again to ‘File’, then new file, then do R markdown and save it as “Homework_5_Markd...

10182 sym R (27073 sym/93 pcs) 21 img 4 tbl

Reference document & Examples - Exploring to Visualizing (252)

02.10.2023

1. Exploring Useful commands head() Description: This function provides the first six rows (by default) of a dataframe. head(dataset) str() Description: Displays the structure of an object, providing the type, length, and content of its elements. str(dataset) names() or colnames() Description: Returns the names of columns in a dataframe. na...

11902 sym R (15045 sym/59 pcs) 16 img

Homework 2 (SOC202)

30.09.2023

Need to load data and set-up environment library(fst) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✔ ggplot2 3.4.3 ✔ purrr 0.3.4 ## ✔ tibble 3.2.1 ✔ dplyr 1.1.3 ## ✔ tidyr 1.1.4 ...

2508 sym R (2822 sym/31 pcs)