One of my first blog posts on this site simulated rolling a die 6 times and observing if side i… Read more
Category: Using R
Profile likelihood ratio confidence intervals
When you fit a generalized linear model (GLM) in R and call confint on the model object, you get confidence… Read more
Earthquake data and Benford’s Law
Much has been written about Benford's Law, that weird phenonmenon where if you have a naturally occuring set of numerical… Read more
Recreating a graph from a NCHS data brief
I was reading this sobering article about the rise of suicide rates in the United States and decided to read… Read more
Blog posts for UVa StatLab
I’ve started publishing blog posts on statistics at the UVa StatLab (my day job). Here’s a link to my posts:… Read more
Creating an R data package
A few weeks ago I got back into an old textbook of mine, Design and Analysis of Experiments (Dean and… Read more
A Note on Boxplots in R
As a statistical consultant I frequently use boxplots. They're a great way to quickly visualize the distribution of a continuous… Read more
Poisson regression – Ch 6 of Gelman and Hill
Chapter 6 of Gelman and Hill's Data Analysis Using Regression and Multilevel/Hierarchical Models presents an interesting example of Poisson regression… Read more
Understanding Mosaic Plots
Mosaic plots provide a way to visualize contingency tables. However they’re not as intuitive as, say, a scatter plot. It’s… Read more
Review of R Graphs Cookbook
I was recently invited to review the second edition of the R Graphs Cookbook by Jaynal Abedin and Hrishi V…. Read more