Categories
Data thoughts R Statistical modelling

GLMs for the analysis of binary outcomes

Introduction In previous posts, I discussed how to deal with situations where you measure a continuous outcome and you want to explain its variability as a function of one or more continuous or discrete variables, using linear regression or mixed-effects models. However, there are situations where these linear models are not the best solution to […]
Categories
Data thoughts R Statistical modelling

A gentle introduction to mixed-effects models

Pseudoreplication is a major issue in biomedical sciences. This post will show you how to avoid it and properly analyse your data in R!