Skip to content

statistics you can probably trust

Help with learning statistics

  • About

Category: Using R


Setting up a keyboard shortcut for the dplyr chain operator

Posted on December 12, 2014 Updated on September 13, 2020

I finally reached the point where I was using dplyr enough to get annoyed with typing %>%. I’m guessing if… Read more

Posted in Using R     Tags: autohotkey, dplyr     Leave a comment     


Partial Residuals and the termplot function

Posted on August 9, 2014 Updated on September 13, 2020

Earlier this year I taught an Intro to R Graphics workshop. While preparing for it I came across the termplot… Read more

Posted in Regression, Using R     Tags: partial residuals, termplot     8 Comments     


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     


Exploring Unordered Contrasts in R

Posted on October 7, 2013 Updated on October 11, 2020

Contrasts in R determine how linear model coefficients of categorical variables are interpreted. The default contrast for unordered categorical variables… Read more

Posted in Regression, Using R     Tags: helmert contrasts, sum contrasts     2 Comments     


Modeling Discontinuous Change (Ch 6 of ALDA)

Posted on September 21, 2013 Updated on November 17, 2024

Chapter 6 of ALDA introduces strategies for fitting models in which individual change is discontinuous. This means the linear trajectory… Read more

Posted in Longitudinal Data Analysis, Multilevel Modeling, Using R     Tags: ALDA, discontinuous change, lme4     Leave a comment     


Treating Time More Flexibly (Ch 5 of ALDA)

Posted on August 4, 2013 Updated on March 11, 2015

Through 4 chapters of Applied Longitudinal Data Analysis (ALDA), the data sets have had the following constraints: Balanced – all… Read more

Posted in Longitudinal Data Analysis, Multilevel Modeling, Using R     Tags: ALDA, lme4     4 Comments     


A Probability Problem in Heredity – Part 3

Posted on July 31, 2013 Updated on May 17, 2014

In my previous two posts I showed worked solutions to problems 2.5 and 11.7 in Bulmer’s Principles of Statistics, both… Read more

Posted in MLE, Probability, Using R     Tags: Bulmer, newton-raphson     Leave a comment     


Testing Composite Hypotheses about Fixed Effects (Ch 4 of ALDA)

Posted on July 25, 2013 Updated on March 11, 2015

I’m still on my ALDA kick here, this time posting about section 4.7 of Chapter 4. In my last post… Read more

Posted in Hypothesis Testing, Longitudinal Data Analysis, Multilevel Modeling, Using R     Tags: ALDA, general linear hypothesis, lme4, Wald statistic     Leave a comment     


Posts pagination

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