Data Simulation Workshops
This workshop will cover power analyses across a wide range of statistical tests, including linear mixed models.
2022-04-27 09:00 — 15:00
Mixed effects models for designs with randomly sampled stimuli
How and why to use linear mixed effects models.
2021-10-05 16:00 — 18:00
R functions for simulating factorial datasets.
Understanding mixed effects models through data simulation
How to simulate data with random-effects structure and analyze the data using linear mixed-effects regression, with a focus on interpreting the output in light of the simulated parameters.
Dale J Barr
Mann-Whitney False Positives
One of my favourite colleagues, Phil McAleer, asked about unequal sample sizes for Mann-Whitney tests on our group chat today. I had no idea, so, as always, I thought “This is a job for simulations!
5 min read
How many simulations in my power analysis?
Today I was trying to figure out how to advise on the number of simulations to run when calculating power by simulation. I tackled this question by running a simulation (of course).
2 min read
Inputting data table rows as function arguments
I was working on a simulation project with an undergraduate dissertation student today (I’m so amazed at what our students can do now!) and wanted to show her how to efficiently run simulations for all combinations of a range of parameters.
4 min read
I recently responded to a tweet about a preprint about whether people can see Dark Triad traits (narcissism, Machiavellianism, and psychopathy) in facial appearance. Can you tell a Dark Triad person from the face?
6 min read
What's wrong with aggregating data?
Shiny app for a face-rating example. library(tidyverse) library(lmerTest) set.seed(90210) Imagine you want to find out if Armenian women born on an even-numbered day are taller than women born on an odd-numbered day.
7 min read
Simulating Random Slopes
This tutorial has been moved to the tutorials section.
1 min read