Publications by Philipp Chapkovski, HSE-Moscow

data analysis from the pilot of the tester

11.12.2020

Clean and merge the data Analyze individual questions Building histograms for personal attitudes, average attitude Friendship Difference between personal attitude and average attitude Estimated distributions Correlation between averages estimated directly and from their distributions: How good they are in estimating average attitudes by sett...

473 sym 8 img

socrates_mock_data

21.02.2021

Get the data We set the working directory to where your mock data is located. Then we bind all datasets together into one. setwd('~/downloads/mock_data') dependent <- read_csv('dependent.csv') independent <- read_csv('independent.csv') no_reward <- read_csv('no_reward.csv') solo_reasoning <- read_csv('solo_reasoning.csv') all_dfs <- list(depend...

489 sym R (2788 sym/6 pcs) 2 img 1 tbl

mock data for SE question 512549

10.03.2021

library(pacman) p_load("tidyverse",'nlWaldTest','sandwich', 'Rcpp') popsize<-100 treatments<-c(0, 1) treatmentvc<-rep(treatments, each=popsize) ids<-seq(1:(length(treatments)*popsize)) bins<-c(1,0) q1a<-sample(bins, popsize,replace=T, prob=c(0.4,0.6)) q2a<-sample(bins, popsize,replace=T, prob=c(0.4,0.6)) q3a<-sample(bins, popsize,replace=T, pro...

12 sym R (2596 sym/6 pcs)

diff

19.08.2021

R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...

593 sym R (262 sym/2 pcs) 1 img

betareg_rc_ajps

25.02.2022

# install.packages('pacman') library(pacman) p_load('betareg', 'tidyverse', 'tibble', 'datapasta') df<-tibble::tribble( ~target, ~value, ~pid, ~subtreatment, ~age, ~gender, "male", 65, 2L, "EI (corr. shown)", 3, 1, ...

7 sym R (21710 sym/2 pcs)