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
Category: Simulation
Most useful tests for an ANCOVA model
In his book Regression Modeling Strategies, 2nd Ed, Frank Harrell provides a list of what he calls the “most useful… Read more
Revisiting some old R-code
One of my first blog posts on this site simulated rolling a die 6 times and observing if side i… Read more
Permutation Tests
Let's talk about permutation tests and why we might want to do them. First think about the two-sample t-test. The… Read more
Simulating responses from a linear model
Say you fit a model using R's lm() function. What you get in return are coefficients that represent an estimate… Read more
Getting started with GitHub Gist in WordPress
I’ve decided it’s time to use GitHub Gist for posting code snippets in my blog. My original motivation was better… 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
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
Using Simulation to Compute Confidence Intervals
I’ve been working through Gelman and Hill’s book, Data Analysis Using Regression and Multilevel/Hierarchical Models. I originally wanted to read… Read more
Buffon’s Needle Problem, or How to use Probability to Estimate Pi
I gave a presentation on Buffon’s Needle Problem in a job interview once. Here’s the presentation I gave in PDF… Read more