An in-depth dive into the workings of logistic regression.

Informal notes about common linear algebra / matrix operations in R

The tmerge() function in the survival package is used to structure data to represent time-dependent variables in a survival analysis. This post shows a minimal example of how to use tmerge.

A short simulation example showing why dichomization of continuous variables can lead to wrong conclusions.

A short guide to creating a bookdown book using the bs4 theme

Exploring gradient descent using R and a minimal amount of mathematics

Functions from the tidyverse provide a powerful way to do statistical simulations. We demonstrate this approach by evaluating the properties of the mean and median as estimators of center for two distributions.”

tidyverse

Combining gganimate with ggmap can be used to create animations of geographic data. I give a few examples using data from Nashville Open Data.

Type I error is increased when you test your hypothesis multiple times during the data collection process. Simulations can provide a clear picture of this process.

Exploring the idea of a statistic by simulating dice rolls in R