Categories
Data thoughts R Statistical modelling

GLM 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!
Categories
Data thoughts Image analysis Machine learning R

Binary trees as a simple approach to image classification.

Binary trees are a simple, yet powerful machine learning tool used for classification. In this post, we will use them to classify images of breast cancer.
Categories
Data thoughts R

Create awesome plots with ggplot!

This post will introduce you to ggplot, an R package which makes it super-easy to create visually pleasing plots with just a few lines of code!
Categories
Data thoughts R Statistical modelling

Linear regression in R – a step-by-step guide (part 2)

Linear regression is one of the simplest, yet powerful machine learning techniques. I will teach you how to handle multiple predictors & interactions in R!
Categories
Data thoughts R Statistical modelling

Linear regression in R – part 1

Linear regression is one of the simplest, yet extremely powerful statistical techniques, that you definitely want to study in detail. Here we will see how to do it in R!