Skip to main content Skip to navigation

Introduction to modern R, statistical modelling, and mixed models

The date for this module has been cancelled, due to the disruption caused by Covid-19.

Convenor: Dr. Henrik Singmann, Assistant Professor, Department of Psychology, University of Warwick

This workshop will cover several topics in an integrative fashion.

The first half day will be devoted to an overview of modern tools for data science in R: Rmarkdown and the tidyverse. Based on this knowledge, the second half day will be devoted to an introduction to statistical modelling in R.

The second day will introduce mixed models. Mixed models are a generalisation of ordinary regression models that explicitly capture dependencies among related data points via random-effects parameters. Such dependencies are ubiquitous in psychology due to collecting more than one data point from the same participant and/or from the same item. Compared to traditional analyses approaches that ignore these dependencies, mixed models provide more accurate (and generalisable) estimates, improved statistical power, and non-inflated Type I errors.

The workshop will introduce the functionality of lme4, the gold standard for estimating mixed models in R. In addition, it will introduce the functionality of afex, which simplifies many aspects of using lme4, such as the calculation of p-values for mixed models.

Pre-requisites

The workshops will be open to all PhD students from the Social Sciences at Warwick and across the Midlands Graduate School ESRC DTP partner institutions. PhD students from across the UK may also apply to attend.

Attendees are expected to have knowledge of R. This means, you should have already used R to analyse your own data (ideally data that has repeated measures). You also should be able to fit a linear regression model with R. Participation without sufficient prior R knowledge is discouraged.

Please bring your laptop and prepare it beforehand. The preparation includes:

- Updating both R and RStudio,

- installing a few R packages,

- and making sure that xaringan presentations can be produced.

Step by step details on how to do this will be provided after booking.

Suggested Reading

Singmann, H., & Kellen, D. (in press). An Introduction to Mixed Models for Experimental Psychology. In D. H. Spieler & E. Schumacher (Eds.), New Methods in Cognitive Psychology. Psychology Press.

Workshop organisation

The workshop will take place in room SO.11, Social Sciences Building, University of Warwick. Further details on location can be found on the campus map. A limited number of travel bursaries are available for non-Warwick students. Please declare on the booking form if you would like to receive one.

Refreshments upon arrival and a buffet lunch will be provided each day. The lunch break will be 12.30 to 13.30. Please use the booking form to make us aware of any dietary requirements.

Booking your place

Please use the booking form to request your place on this workshop. Completion of the form does not guarantee a place on the workshop, as spaces are limited to 25 attendees and applicants are required to meet the pre-requisites. Those who have secured a place will be notified with an email confirmation.

This workshop is supported by the ESRC DTC.

Date: CANCELLED Tuesday 19 May 2020 and Wednesday 20 May 2020

Time: 9.30 - 17.30

Venue: Room SO.11, Social Sciences Building, University of Warwick

Booking Form