Menu mobile menu

Data simulation for linear models in R

Save as calendar entry


Usually, when we fit linear models, we don't know the 'truth' about the data we analyse, and hope that the model uncovers this 'truth' (or at least reveals something related to it). However, this is not necessarily the case, e.g. in case that a model lacks statistical power or if type I errors occur.

The primary aim of this course is to teach how to simulate data in a framework of linear models and using R. In case of simulated data, one knows exactly what is 'true' because one has generated the data. Hence, one can then compare what a statistical analysis reveals with truth. In addition to power analyses, data simulation can also be used to address questions such as 'Does the method do what I think it does?', 'Does bias in sampling translate into bias in the estimates?', 'How does an analysis behave when its assumptions are violated?', and many others.

The course has three main aims:

A) teaching how to simulate data and conduct power analyses in a wider sense. Participants will, for instance, learn how to simulate data sets with respect to various predictors, different response variables, effects of fixed effects predictors and grouping factors.

B) Teaching the basic tools for programming simulations in R

C) enhancing the understanding of linear models and what the link between them and 'life' (in either direction) is.


Participation in the workshop requires registration:; registration is possible from August 12 to September 8, 2024.

The maximum number of participants is 35. Priority of access is given to, first, members of the Leibniz ScienceCampus Primate Cognition, second, staff, members, and students of the University of Göttingen and the German Primate Center, and finally (third), to everyone else. Within each group, priority of access is given in the order in which people have signed up.


Dr. Roger Mundry

Journey Description


E - Main Entrance/Reception
1 - Managing Board; sections: Infection Biology Unit, Unit of Infection Models, Laboratory Animal Science Unit, Primate Genetics Laboratory, Behavioral Ecology and Sociobiology Unit, Cognitive Ethology Laboratory, Neurobiology Laboratory, Research Coordination, Public Relations, Information Technology, Administration, Technical Support, Library.
2 - Material Delivery/Purchase
3 - Platform Degenerative Diseases
4 - Cognitive Neuroscience Laboratory
5 - Animal Husbandry
6 - Imaging Center, Functional Imaging Laboratory

Arrival by car

Leave the interstate A7 at exit "Göttingen Nord". Follow the B27 straight ahead in the direction of "Braunlage". After the third traffic light intersection turn right towards "Kliniken". Afterwards turn left onto "Robert-Koch-Straße" direction "Universität Nordbereich/Polizei". At the end of "Robert-Koch-Straße" turn right onto "Otto-Hahn-Straße", direction "Nikolausberg". The first street on the left turn onto "Kellnerweg", follow the signs "Deutsches Primatenzentrum".

Arrival by bus

The footpath from the bus stop "Kellnerweg" to the Main Entrance/Reception: 
From Bus stop "Kellnerweg" (line 21/22 and 23) Cross the road, go in the direction of the bus. At the mailbox, turn left into the footpath and proceed to the end. Turn right into the Kellnerweg. The main entrance of the DPZ is on the left side.

Date and Time 07.10.24 - 09:00 - 25.10.24 - 14:00 Limited to max. 35 entrants. Open for signup

Location German Primate Center, Kellnerweg 4, Lecture Hall West


Leibniz ScienceCampus Primate Cognition

Contact for organisational questions:
Christian Schloegl,

for questions regarding the workshop content:
Roger Mundry,
Back to list