The base R function filter() can be used to calculate moving averages. This is one of the base R functions… Read more
The Secret Weapon: section 10.9 of Regression and Other Stories
In section 10.9 of Regression and Other Stories, the authors introduce the idea of fitting the same model to many… Read more
US Names: section 2.3 of Regression and Other Stories
In section 2.3 of Regression and Other Stories, Gelman et al. discuss using graphs to learn more about data. The third… Read more
Hypothesis testing: section 4.6 of Regression and Other Stories
Gelman, et al. tell a story from long ago where someone sent them a fax (that’s right, a fax) asking for… Read more
Parametric Bootstrap of Kolmogorov–Smirnov Test
Zeimbekakis, et al. recently published an article in The American Statistician titled On Misuses of the Kolmogorov–Smirnov Test for One-Sample Goodness-of-Fit…. Read more
Age Adjustment: section 2.4 of Regression and Other Stories
In section 2.4 of Regression and Other Stories, Gelman, et al. explain the necessity of age adjustment when investigating mortality rates…. Read more
A note on car::deltaMethod
As we would typically estimate the success probability p with the observed success probability \(\hat{p} = \sum_iX_i/n\), we might consider… Read more
Encoding a contrast in a linear model
This is note to myself on how to encode a contrast in a linear model. The following data come from… Read more
Some R Fundamentals
I recently came across the book R Programming for Bioinformatics at my local library and decided to check it out…. Read more
rms for the rest of us
For a few years now I’ve been chipping away at Regression Modeling Strategies by Frank Harrell. Between the exposition, the… Read more