Publications by Jake Reynolds - August 23, 2020

Final Presentation / Paper

26.11.2020

Load Some Packages to Help with the Analysis and Data Management: library(Hmisc) suppressPackageStartupMessages(library(psych)) suppressPackageStartupMessages(library(tidyverse)) suppressPackageStartupMessages(library(lme4)) Load and Explore the Data projectCHPS <- readr::read_csv("ColonialHeightsMAPReadingScores2020.csv") -- Column specifi...

8560 sym R (18952 sym/32 pcs)

Module 11 - Cross-classified Linear Mixed Models

11.11.2020

Part 1: Running Separate and Combined Null Models 1.Using reading score (p7read) as the outcome, run and interpret three separate null models, one for school (schid), one for neighborhood (neighid), and one additive null model combining school and neighborhood. The AIC and BIC for the three null models are as follows: school = 18558.8 and 18576.0...

17027 sym R (26567 sym/38 pcs) 3 img

Module 9

29.10.2020

Treating “readprof” as the DV, and “schcode” as the level-2 clustering variable, estimate a null model. Compute, report, and interpret the ICC. Is it worth conducting MLM on these data? The ICC is 0.06489173. Since it is above 0.05, then we would move forward with MLM. Interpret the estimated fixed effect of the intercept (_cons) in the...

8984 sym R (7385 sym/28 pcs)

Module 10 - Checking Assumptions for MLM

05.11.2020

Part 1: Running and Our “Final” 2-Level Model Run a conditional random intercept model with math scores (gktmathss) as the DV, and self-concept (gkselfconcraw) as a student-level IV, and classroom type (gkclasstype) and teacher highest degree (gkthighdegree) as teacher/classroom-level IVs. Save these model results for later. Part 2: Check T...

12076 sym R (11218 sym/23 pcs) 3 img

Multivariate Stats - Module 1

31.01.2021

library(tidyverse) library(psych) library(haven) gss <-read_dta("descriptive_gss.dta") View(gss) glimpse(gss) Rows: 2,765 Columns: 16 $ id <dbl> 2331, 2003, 1221, 2051, 2465, 546, 1291, 732, 303, 2700, 855, 62... $ hrs1 <dbl+lbl> NA, NA, NA, NA, 50, 60, 40, 25, NA, 40, 64, 45, 60, 85, NA, ... $ marital <dbl+lbl> 1, 3, 1, 1, 1,...

790 sym R (1960 sym/10 pcs) 1 img

Multivariate Statistics - Module 2

03.02.2021

library(tidyverse) library(Hmisc) library(haven) gss <- read_dta("gss_2002_week2.dta") View(gss) gss.clean <- gss %>% mutate(., male.fac = as_factor(male), selfemp.fac = as_factor(selfemp), ses_level.fac = as_factor(selfemp)) linearmodel1 <- lm(hrs1 ~ male + age + selfemp + educ, data = gss.clean) summary(l...

1177 sym R (2730 sym/12 pcs)

Content Review 4 - MVS

19.02.2021

Example #1: ANCOVA with an experimental design and pretest as covariate Load in some helpful packages library(tidyverse) library(haven) Load in the dataset write_ancova <- read_dta("Writing_Tech.dta") Explore your data glimpse(write_ancova) Rows: 30 Columns: 3 $ Treatment <dbl+lbl> 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3,... ...

12589 sym R (6170 sym/47 pcs)

Module 3 - Multivariate Statistics

10.02.2021

Load in relevant packages library(tidyverse) Registered S3 methods overwritten by 'dbplyr': method from print.tbl_lazy print.tbl_sql -- Attaching packages --------------------------------------- tidyverse 1.3.0 -- v ggplot2 3.3.2 v purrr 0.3.4 v tibble 3.0.3 v dplyr 1.0.2 v tidyr 1.1.1 v stringr ...

3172 sym R (6523 sym/22 pcs) 1 img

Module 4 - take 2

23.02.2021

Example #1: ANCOVA with an experimental design and pretest as covariate Load in some helpful packages library(tidyverse) library(haven) Load in the dataset write_ancova <- read_dta("Writing_Tech.dta") Explore your data glimpse(write_ancova) Rows: 30 Columns: 3 $ Treatment <dbl+lbl> 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3...

9604 sym R (7326 sym/46 pcs) 3 img

Final Project - Spring 2021

01.05.2021

library(tidyverse) library(corrr) library(psych) library(haven) sel <- read_csv("35sel2.csv") Parsed with column specification: cols( .default = col_double(), submitted = col_character() ) See spec(...) for full column specifications. Explore your data with glimpse describe(sel) str(sel) tibble [382 x 37] (S3: spec_tbl_df/tbl_df/tbl...

6589 sym R (52853 sym/31 pcs) 2 img