Blog Archives

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs (part 2)

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs (part 2)

1. Fit your repeated-measures model with lmer 2. Define the contrast(s) of interest 3. Run the bootstrap Summary A while back I wrote a post demonstrating how to bootstrap follow-up contrasts for repeated-measure ANOVAs for cases where you data violates some / any assumptions. Here is a demo of how to conduct the same bootstrap analysis, more simply (no need to make your data...

Read more »

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs (part 2)

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs (part 2)

1. Fit your repeated-measures model with lmer 2. Define the contrast(s) of interest 3. Run the bootstrap Summary A while back I wrote a post demonstrating how to bootstrap follow-up contrasts for repeated-measure ANOVAs for cases where you data violates some / any assumptions. Here is a demo of how to conduct the same bootstrap analysis, more simply (no need to make your data...

Read more »

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs (part 2)

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs (part 2)

1. Fit your repeated-measures model with lmer 2. Define the contrast(s) of interest 3. Run the bootstrap Summary A while back I wrote a post demonstrating how to bootstrap follow-up contrasts for repeated-measure ANOVAs for cases where you data violates some / any assumptions. Here is a demo of how to conduct the same bootstrap analysis, more simply (no need to make your data...

Read more »

Signal Detection Theory vs. Logistic Regression

Signal Detection Theory vs. Logistic Regression

I recently came across a paper that explained the equality between the parameters of signal detection theory (SDT) and the parameters of logistic regression in which the state (“absent”/“present”) is used to predict the response (“yes”/“no”, but also applicable in scale-rating designs) (DeCarlo, 1998). Here is a short simulation-proof for this equality. Setup For this simulations we will need the following packages: #...

Read more »

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs

Permutation ANOVA Bootstrapping with car and emmeans 1. Make your data WIIIIIIIIIIDEEEEEEEE 2. Fit your regular model 3. Define the contrast(s) of interest 4. Run the bootstrap Summary So you’ve run a repeated-measures ANOVA and found that your residuals are neither normally distributed, nor homogeneous, or that you are in violation of any other assumptions. Naturally you want to run some a-parametric analysis… but how? In this...

Read more »

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs

(Bootstrapping) Follow-Up Contrasts for Within-Subject ANOVAs

Permutation ANOVA Bootstrapping with car and emmeans 1. Make your data WIIIIIIIIIIDEEEEEEEE 2. Fit your regular model 3. Define the contrast(s) of interest 4. Run the bootstrap Summary So you’ve run a repeated-measures ANOVA and found that your residuals are neither normally distributed, nor homogeneous, or that you are in violation of any other assumptions. Naturally you want to run some a-parametric analysis… but how? In this...

Read more »

Quidditch: Is It All About the Snitch?

Quidditch: Is It All About the Snitch?

The Game, the Rules Estimating the Average Game Length Estimating the Rate of Goals Scored Simulating the Games R Setup Equal Teams Unequal (but matched) Teams Conclusion Much has been said about how the game of Quidditch is ruined by the scoring system - specifically how it makes no sense that the snitch is worth 150 points and that catching it ends the game (1, 2, 3)....

Read more »

Quidditch: Is It All About the Snitch?

Quidditch: Is It All About the Snitch?

The Game, the Rules Estimating the Average Game Length Estimating the Rate of Goals Scored Simulating the Games R Setup Equal Teams Unequal (but matched) Teams Conclusion Much has been said about how the game of Quidditch is ruined by the scoring system - specifically how it makes no sense that the snitch is worth 150 points and that catching it ends the game (1, 2, 3)....

Read more »

Examining Inter-Rater Reliability in a Reality Baking Show

Game of Chefs is an Israeli reality cooking competition show, where chefs compete for the title of “Israel’s most talented chef”. The show has four stages: blind auditions, training camp, kitchen battles, and finals. Here I will examine the 4th season’s (Game of Chefs: Confectioner) inter-rater reliability in the blind auditions, using some simple R code. The Format In the blind...

Read more »

cheatR: an R package for catching cheaters

cheatR: an R package for catching cheaters

cheatR is a mini package to help you find cheaters by comparing hand-ins. It was developed by Almog Simchon and me in response to students overheard bragging about how an assignment in an first-year undergrad course was “super easy” because “we all just copied from each other!” (though this would later turn out to be an exaggeration). Our idea was...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)