Skip to content

statistics you can probably trust

Help with learning statistics

  • About

rms for the rest of us

Posted on August 13, 2023 Updated on August 19, 2023

For a few years now I’ve been chipping away at Regression Modeling Strategies by Frank Harrell. Between the exposition, the… Read more

Posted in Regression     Leave a comment     

Would you rather

Posted on January 27, 2021 Updated on January 28, 2021

Someone texted me the following image and asked for my response. So what would I rather do? Flip 3 coins… Read more

Posted in Probability, Using R     Leave a comment     

Fixing the p-value note in a HTML stargazer table

Posted on February 28, 2019 Updated on September 13, 2020

If you insert a stargazer table into R Markdown that outputs an HTML file, you may get a p-value note… Read more

Posted in Using R     Tags: R Markdown, stargazer     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     

Using natural splines in linear modeling

Posted on December 2, 2018 Updated on October 26, 2022

Take a look at this scatterplot: It's clear there is a relationship between x and y, but the relationship is… Read more

Posted in Regression, Using R     1 Comment     

Recreating a Geometric CDF plot from Casella and Berger

Posted on November 26, 2017 Updated on September 13, 2020

For reasons I no longer remember I decided a while back to reproduce Figure 1.5.2 from Casella and Berger (page… Read more

Posted in Discrete distributions, Using R     Tags: geometric CDF     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     

Profile likelihood ratio confidence intervals

Posted on October 22, 2016 Updated on September 13, 2020

When you fit a generalized linear model (GLM) in R and call confint on the model object, you get confidence… Read more

Posted in Hypothesis Testing, Probability, Regression, Using R     Tags: glm, likelihood profile, logistic regression     1 Comment     

Earthquake data and Benford’s Law

Posted on May 29, 2016 Updated on September 13, 2020

Much has been written about Benford's Law, that weird phenonmenon where if you have a naturally occuring set of numerical… Read more

Posted in Discrete distributions, Probability, Using R     Tags: Benford's Law, ggplot2, magrittr     Leave a comment     

Recreating a graph from a NCHS data brief

Posted on April 23, 2016 Updated on September 13, 2020

I was reading this sobering article about the rise of suicide rates in the United States and decided to read… Read more

Posted in Using R     Tags: CDC, ggplot2     Leave a comment     

Posts pagination

Previous 1 2 3 4 … 10 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

  • 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
  • Hypothesis testing: section 4.6 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

  • 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