Skip to content

statistics you can probably trust

Help with learning statistics

  • About

Category: Using R


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     


Blog posts for UVa StatLab

Posted on November 1, 2015 Updated on September 13, 2020

I’ve started publishing blog posts on statistics at the UVa StatLab (my day job). Here’s a link to my posts:… Read more

Posted in Using R     Leave a comment     


Creating an R data package

Posted on September 2, 2015 Updated on September 13, 2020

A few weeks ago I got back into an old textbook of mine, Design and Analysis of Experiments (Dean and… Read more

Posted in Using R     Tags: dvdata, r packages, valottery     Leave a comment     


A Note on Boxplots in R

Posted on April 27, 2015 Updated on September 13, 2020

As a statistical consultant I frequently use boxplots. They're a great way to quickly visualize the distribution of a continuous… Read more

Posted in Continuous distributions, Using R     Tags: boxplots, strip charts, Tukey's Five-Number Summary     4 Comments     


Poisson regression – Ch 6 of Gelman and Hill

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

Chapter 6 of Gelman and Hill's Data Analysis Using Regression and Multilevel/Hierarchical Models presents an interesting example of Poisson regression… Read more

Posted in Regression, Using R     Tags: glm, Poisson regression     1 Comment     


Understanding Mosaic Plots

Posted on March 11, 2015 Updated on September 13, 2020

Mosaic plots provide a way to visualize contingency tables. However they’re not as intuitive as, say, a scatter plot. It’s… Read more

Posted in Using R     Tags: contingency tables, mosaic plots, simpson's paradox     Leave a comment     


Review of R Graphs Cookbook

Posted on December 15, 2014 Updated on August 20, 2023

I was recently invited to review the second edition of the R Graphs Cookbook by Jaynal Abedin and Hrishi V…. Read more

Posted in Using R     Tags: book review, ggplot2, graphics, lattice     Leave a comment     


Posts pagination

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