- Home
- Members
- Papers
- Philosophy
- Teaching Resources
- Bayesian Statistics
- Eeg Course
- Eye Tracking Course
- Interactive Explanations
- Linear Mixed Models
- Philosophy Of Science
- Open Teaching Graphics
- Bold Response Sampling
- Correspondence Problem
- Distance Measures
- Eeg Analysis
- Erp Single Trial
- Erps
- Eye Venes
- Figure Disparity Receptive Fields
- Induced Evoked
- Interaction Effect Coding
- Monitor Receptive Field
- Multi Taper Vs Fft
- Plane Basis Vectors
- Poster Template
- Power Spectral Bands
- Purkinje Blue Arc
- Simulated Signal
- Temporal Spatial Tradeoff
- Wavelet Transform

- Vision Demos

- Thesis Art
- Open Projects And Positions
- Emmy Noether
- Contact Us
- Science Communication

In this block-course we developed Generalized Linear Models and Mixed Linear Models from scratch. The idea is to introduce the linear model and all its encompasing tests as one coherent framework (i.e. t-test, ANOVA, ANCOVA, repeated measures ANOVA) and then continue with GLMs and LMMs. The mornings were two to three 1h lectures in the afternoon a 2.5-3h exercise session (previous edition was withwith Basil Wahn)

All slides are generated in R, thus all the plots can be easily rebuild and customized if necessary.

Linear Modeling We introduce linear modeling as an overarching theme. We use dummy codings, Standard Errors, Confidence Intervals, Bootstrapping, the concept of “there exists only one test”, interactions, and some philosophical aspects

Generalized Linear Models We discussed Logistic+Poisson regression GLM. A focus is put on motivation and interpretation. We reconcile all members of the GLM family and put special focus on the variance / mean assumptions

Linear Mixed Models We discussed repeated measures designs (within-subject) and move from there to LMMs. We discuss implementation, interpretation, assumption checks. Convergence problems are discussed. Random Coefficients (Intercept, Slopes, Correlations) and finally multiple random variables e.g. subjects and items.

You can find the Rpresentation source code (including code to generate 90% of graphs) for GLM here and for LMM here.

**Logistic regression.** Here we use the cowles data from John Fox’s Applied Regression Analysis Book. We predict whether a student will volunteer in a study or not based on sex, extraversion and neuroticism. An interaction is modeled and interpreted as well.

Mixed Linear model. Here we use data from one of my studies to build a simple linear mixed model. We will look at parameter transformations, assumption tests (which fail in this case) and log-log interactions. We also have models that do not converge, model comparisons using likelihood-ratio tests. Finally we check whether multiple random variables are necessary.

© S-CCS. Last modified: July 05, 2024. Website built with Franklin.jl and the Julia programming language.