Lisa DeBruine
Lisa DeBruine
Projects
Posts
Publications
Talks
Light
Dark
Automatic
simulation
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
Princeton University
Lisa DeBruine
Slides
Code
Paper
Faux
R functions for simulating factorial datasets.
CRAN
Tutorials
DOI
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.
Lisa DeBruine
,
Dale J Barr
Cite
DOI
Preprint
Code
Shiny App
DOI
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!
2020-09-03
5 min read
rstats
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).
2020-08-17
2 min read
rstats
,
simulation
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.
2020-02-06
4 min read
rstats
Composite Images
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?
2020-01-31
6 min read
methods
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.
2019-03-04
7 min read
rstats
Simulating Random Slopes
This tutorial has been moved to the tutorials section.
2019-01-09
1 min read
rstats
Simulate from Existing Data
library(faux) library(tidyverse) I added a new function to the package faux to generate a new dataframe from an existing dataframe, simulating all numeric columns from normal distributions with the same mean and SD as the existing data and the same correlation structure as the existing data.
2018-12-29
2 min read
rstats
«
»
Cite
×