Publications by Patricio Troncoso

Practical 5: Binary logistic regression in R

04.03.2020

Some background information For this practical, we’ll be using open data from the following source: Wright, D. and London, K. (2011). Modern Regression Techniques Using R, London: Sage. (Chapter 8). This is available here. This dataset contains information about a randomised controlled trial, in which primary school pupils were asked about the ...

16103 sym R (3156 sym/18 pcs) 1 img

MDES calculation

28.02.2020

This is a companion document to the “mdesapp” online calculator, which is available here. The GitHub repository for this app is this. Introduction “mdesapp” is an online calculator that provides the Minimum Detectable Effect Size (MDES) in a 2-level Clustered Randomised Control Trial setting. This is when whole clusters (instead of indiv...

4885 sym

Practical 1: Getting started with R

24.02.2020

1. Introduction This is the first tutorial of the workshop. This is for you to familiarise yourself with R, R Studio and the console. 2. Installing R and R Studio You can go directly to 3 if you’ve installed R and R Studio We will be using R Studio, but R studio can only work if R is already installed, so we need to have both installed. 2.1...

13359 sym R (2386 sym/33 pcs) 2 img

Practical 2: R demo

21.02.2020

This example will demonstrate the main functions of the package dplyr. We will be using (publically available) data of the participants of the Great British Bake Off 2018. First we need to load dplyr into R library(dplyr) 1. Create your own dataset from scratch Here we are creating free variables (vectors in R) names <- c("Antony", "Briony", "D...

16671 sym R (5776 sym/32 pcs) 7 img

Practical 3: Data manipulation and graphics in R

24.02.2020

Some background information For this practical, we’ll be using open data from the following source: Wright, D. and London, K. (2011). Modern Regression Techniques Using R, London: Sage. (Chapter 8). This is available here. This dataset contains information about a randomised controlled trial, in which primary school pupils were asked about the ...

11680 sym R (1780 sym/20 pcs) 5 img