Publications by Meng Ye
Publish Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
396 sym R (9440 sym/20 pcs) 7 tbl
Publish Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
456 sym R (10914 sym/22 pcs) 8 tbl
Publish Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
618 sym R (10914 sym/22 pcs) 8 tbl
Publish Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
1012 sym R (14013 sym/27 pcs) 11 tbl
Publish Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
1012 sym R (14014 sym/27 pcs) 11 tbl
Document
Introduction The current version include the data cleaning for location level CQC data downloaded Sep. 2021. Load packages library(tidyverse) # package for data cleaning and plotting library(readxl) library(modelsummary) set.seed(5432) Import Raw Data # import location level full data locations<- read_excel("D:/Archive/Socialcare UK/data/fu...
287 sym R (2073 sym/11 pcs)
Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
230 sym R (7561 sym/11 pcs) 4 tbl
Document
Setting up the R session and Loading packages # environment setup to run ordered logit properly options(contrasts = rep("contr.treatment", 2)) This chunk loads all the packages to use #packages for ordered logit library(ordinal) # package for ordinal logit regression library(brant) # brant test for the parallel assumption for ordered logit libr...
277 sym R (7795 sym/16 pcs) 4 tbl
Document
Load packages library(tidyverse) # package for data cleaning and plotting library(readxl) library(modelsummary) set.seed(5432) Import Raw Data cic_location_list <- read_csv("data/cic_full_list.csv") # sampled data manually coded (with unfriendly column names) providers <- read_excel("data/full_ratings.xlsx", sheet = 3) ### Rename the columns ...
223 sym R (3374 sym/20 pcs)
Publish Document
Load packages library(tidyverse) # package for data cleaning and plotting library(readxl) library(modelsummary) set.seed(5432) Import Raw Data cic_location_list <- read_csv("data/cic_full_list.csv") # sampled data manually coded (with unfriendly column names) providers <- read_excel("data/full_ratings.xlsx", sheet = 3) ### Rename the columns ...
223 sym R (3374 sym/20 pcs)