Skip to content

statistics you can probably trust

Help with learning statistics

  • About

Category: Simulation


Parametric Bootstrap of Kolmogorov–Smirnov Test

Posted on May 25, 2024 Updated on May 29, 2024

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

Posted in Hypothesis Testing, Simulation     Tags: bootstrap, Kolmogorov–Smirnov Test, regression and other stories     Leave a comment     


Most useful tests for an ANCOVA model

Posted on January 21, 2019 Updated on September 13, 2020

In his book Regression Modeling Strategies, 2nd Ed, Frank Harrell provides a list of what he calls the “most useful… Read more

Posted in Hypothesis Testing, Regression, Simulation, Using R     Tags: ANCOVA, car, Harrell, linear modeling, margins, simulation     Leave a comment     


Revisiting some old R-code

Posted on February 5, 2017 Updated on August 20, 2023

One of my first blog posts on this site simulated rolling a die 6 times and observing if side i… Read more

Posted in Probability, Simulation, Using R     Tags: probability, R, simulation     Leave a comment     


Permutation Tests

Posted on May 17, 2014 Updated on September 13, 2020

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

Posted in Probability, Simulation, Using R     Tags: permutation tests     5 Comments     


Simulating responses from a linear model

Posted on May 10, 2014 Updated on September 13, 2020

Say you fit a model using R's lm() function. What you get in return are coefficients that represent an estimate… Read more

Posted in Regression, Simulation, Using R     Leave a comment     


Getting started with GitHub Gist in WordPress

Posted on December 8, 2013

I’ve decided it’s time to use GitHub Gist for posting code snippets in my blog. My original motivation was better… Read more

Posted in Simulation, Using R     Tags: Gist, GitHub     Leave a comment     


Using a Bootstrap to Estimate Power and Significance Level

Posted on July 13, 2013 Updated on April 13, 2022

I’ve been reading Common Errors in Statistics (and How to Avoid Them) by Phillip Good and James Hardin. It’s a… Read more

Posted in Power and sample size, Simulation, Using R     Tags: bootstrap, Common Errors in Statistics     1 Comment     


Simulation to Represent Uncertainty in Regression Coefficients

Posted on June 10, 2013 Updated on November 17, 2024

Working through Gelman and Hill’s book can be maddening. The exposition is wonderful but recreating their examples leads to new… Read more

Posted in Regression, Simulation, Using R     5 Comments     


Using Simulation to Compute Confidence Intervals

Posted on March 17, 2013 Updated on November 17, 2024

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

Posted in Simulation, Using R     Leave a comment     


Buffon’s Needle Problem, or How to use Probability to Estimate Pi

Posted on February 16, 2013 Updated on August 20, 2023

I gave a presentation on Buffon’s Needle Problem in a job interview once. Here’s the presentation I gave in PDF… Read more

Posted in Probability, Simulation, Using R     Leave a comment     


Posts pagination

1 2 Next

Sites I Recommend

  • R-bloggers
  • Reference Collection to push back against “Common Statistical Myths”
  • Rtips
  • Simply Statistics
  • Statistical Modeling, Causal Inference, and Social Science
  • Statistical Thinking

Recent Posts

  • The average treatment effect: Figure 20.15 of Regression and Other Stories
  • Some notes on Cronbach’s alpha
  • The stats::filter() function
  • The Secret Weapon: section 10.9 of Regression and Other Stories
  • US Names: section 2.3 of Regression and Other Stories

Recent Comments

  • Playing with R Markdown | statistics you can probably trust on Machine Learning for Hackers, Chapter 2
  • Clay Ford on Deriving the gamma distribution
  • Sim on Deriving the gamma distribution
  • Clay Ford on About
  • jp on About

Archives

  • August 2025
  • March 2025
  • November 2024
  • October 2024
  • September 2024
  • May 2024
  • March 2024
  • January 2024
  • October 2023
  • August 2023
  • January 2021
  • February 2019
  • January 2019
  • December 2018
  • November 2017
  • February 2017
  • October 2016
  • May 2016
  • April 2016
  • November 2015
  • September 2015
  • April 2015
  • March 2015
  • December 2014
  • August 2014
  • May 2014
  • December 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • April 2012
  • March 2012
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011

Categories

  • Continuous distributions
  • Discrete distributions
  • Expectation
  • Hypothesis Testing
  • Longitudinal Data Analysis
  • Machine Learning for Hackers
  • MLE
  • Multilevel Modeling
  • Power and sample size
  • Probability
  • Regression
  • Simulation
  • Survival analysis
  • Uncategorized
  • Using R

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
BlogBD WordPress Theme