Kevin O'Neill

Kevin O'Neill

PhD candidate in cognitive neuroscience at Duke University working with Dr. Felipe De Brigard and Dr. John Pearson on causal reasoning.

Posts by Kevin

Fitting drift-diffusion models with simulation

Last week, Raphael presented a fantastic conceptual introduction to drift diffusion models, which are an extension of signal detection models over time. Here I’ll be talking about what model fitting...

Power Analysis Through Simulation

So, you’re designing an experiment and you’re faced with answering the age-old question: How many participants do I need for this experiment to work? Probably, your advisor sent you down...

Intro to Probabilistic Programming with Stan

In this tutorial we’re going to talk about what probabilistic programming is and how we can use it for statistical modeling. If you aren’t familiar at all with Bayesian stats,...

Data wrangling in the tidyverse

Today we’re going to tackle a common problem faced by graduate students: you brainstormed to design an experiment with your PI, toiled away programming the task, put it out into...

Interpreting Regression Coefficients

Have you ever ran a regression and wondered where the coefficients come from or what they mean? Or perhaps you’ve tried the same analysis with different coding schemes, and the...

Bayesian Stats Basics

Bayesian statistics are gaining a whole lot of traction in psychology, neuroscience, and a whole lot of other fields. But, since most psychology departments don’t teach Bayesian statistics, you probably...

Blogging with R markdown and GitHub Pages

If you’re making a blog post on R-related content, you’re probably going to do it using R markdown (Rmd). However, you may have noticed that our website runs on GitHub...

The Magical Wonders of Git

Why git? git is a simple but highly flexible system for keeping track of stuff on one or more computers. But, everyone probably already has some way of doing the...