The tour of Applied Longitudinal Data Analysis (ALDA) by Singer and Willett continues today with section 4.6, Comparing Models using… Read more
Category: Using R
Unconditional Multilevel Models for Change (Ch 4 of ALDA)
In Chapter 4 (section 4.4) of Applied Longitudinal Data Analysis (ALDA), Singer and Willett recommend fitting two simple unconditional models… Read more
The Multilevel Model for Change (Ch 3 of ALDA) – revisited
In my previous post I talked about how to replicate the example in Chapter 3 of ALDA. It was mostly… Read more
The Multilevel Model for Change (Ch 3 of ALDA)
ALDA stands for the book, Applied Longitudinal Data Analysis, by Singer and Willett. I’ve had this lying around for a… Read more
Using a Bootstrap to Estimate Power and Significance Level
I’ve been reading Common Errors in Statistics (and How to Avoid Them) by Phillip Good and James Hardin. It’s a… Read more
Editing a lot of variable names in a R data frame
Someone I work with asked about how to easily update lots of variable names in a R data frame after… Read more
Simulation to Represent Uncertainty in Regression Coefficients
Working through Gelman and Hill’s book can be maddening. The exposition is wonderful but recreating their examples leads to new… Read more
Scraping Virginia Tech Football Data, Part 2
In an earlier post I described how I went about scraping football data off the Virginia Tech athletics web site…. Read more
Playing with R Markdown
I was playing with R Markdown in R Studio and thought I’d share my results. I can’t believe how easy… Read more
A Logistic Regression Checklist
I recently read The Checklist Manifesto by Atul Gawande and was fascinated by how relatively simple checklists can improve performance… Read more