Skip to content

statistics you can probably trust

Help with learning statistics

  • About

The average treatment effect: Figure 20.15 of Regression and Other Stories

Posted on August 10, 2025

Chapter 20 of Regression and Other Stories presents a toy example in section 20.8 of calculating an average treatment effect… Read more

Posted in Uncategorized     Tags: average treatment effect, propensity score, regression and other stories     Leave a comment     

Some notes on Cronbach’s alpha

Posted on March 23, 2025 Updated on March 24, 2025

I was reading this BMJ Statistics Note by Bland and Altman on Cronbach’s alpha and wanted to jot down a… Read more

Posted in Uncategorized     Tags: cronbach's alpha     Leave a comment     

The stats::filter() function

Posted on November 15, 2024 Updated on November 17, 2024

The base R function filter() can be used to calculate moving averages. This is one of the base R functions… Read more

Posted in Using R     Tags: filter, moving averages     Leave a comment     

The Secret Weapon: section 10.9 of Regression and Other Stories

Posted on October 27, 2024 Updated on October 27, 2024

In section 10.9 of Regression and Other Stories, the authors introduce the idea of fitting the same model to many… Read more

Posted in Regression     Tags: regression and other stories     Leave a comment     

US Names: section 2.3 of Regression and Other Stories

Posted on September 2, 2024 Updated on September 2, 2024

In section 2.3 of Regression and Other Stories, Gelman et al. discuss using graphs to learn more about data. The third… Read more

Posted in Using R     Tags: regression and other stories     Leave a comment     

Hypothesis testing: section 4.6 of Regression and Other Stories

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

Gelman, et al. tell a story from long ago where someone sent them a fax (that’s right, a fax) asking for… Read more

Posted in Hypothesis Testing     Tags: regression and other stories     Leave a comment     

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     

Age Adjustment: section 2.4 of Regression and Other Stories

Posted on May 19, 2024 Updated on May 21, 2024

In section 2.4 of Regression and Other Stories, Gelman, et al. explain the necessity of age adjustment when investigating mortality rates…. Read more

Posted in Using R     Tags: age adjustment, mortality rates     Leave a comment     

A note on car::deltaMethod

Posted on March 16, 2024

As we would typically estimate the success probability p with the observed success probability \(\hat{p} = \sum_iX_i/n\), we might consider… Read more

Posted in Expectation     Tags: delta method     Leave a comment     

Encoding a contrast in a linear model

Posted on January 20, 2024 Updated on January 21, 2024

This is note to myself on how to encode a contrast in a linear model. The following data come from… Read more

Posted in Using R     Tags: contrasts, multcomp     Leave a comment     

Posts pagination

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

  • 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