Articles by R on Will Hipson

A first look at torch for R

May 1, 2021 | R on Will Hipson

In this post, I explore torch - a package for R that mirrors the PyTorch framework for deep learning. Motivation I’ve been a bit reluctant to join in on the deep learning hype for some time. Much of this I attribute to my lack of enthusiasm toward Pyth... [Read more...]

Why I love dplyr’s across

March 24, 2021 | R on Will Hipson

Very often I find myself in a situation where I need to perform the same operation on multiple columns in a data set. For this, I turn to none other than dplyr’s across function. But as we’ll see, not only does across help when we are interactively wra... [Read more...]

Bayesian Varying Effects Models in R and Stan

June 8, 2020 | R on Will Hipson

In psychology, we increasingly encounter data that is nested. It is to the point now where any quantitative psychologist worth their salt must know how to analyze multilevel data. A common approach to multilevel modeling is the varying effects approach, where the relation between a predictor and an outcome variable ...
[Read more...]

Visualizing a Markov Chain

March 22, 2020 | R on Will Hipson

A Markov Chain describes a sequence of states where the probability of transitioning from states depends only the current state. Markov chains are useful in a variety of computer science, mathematics, and probability contexts, also featuring prominentl... [Read more...]

Visualizing a Markov Chain

March 22, 2020 | R on Will Hipson

A Markov Chain describes a sequence of states where the probability of transitioning from states depends only the current state. Markov chains are useful in a variety of computer science, mathematics, and probability contexts, also featuring prominently in Bayesian computation as Markov Chain Monte Carlo. Here, we’re going to ...
[Read more...]

A Model and Simulation of Emotion Dynamics

June 25, 2019 | R on Will Hipson

Emotion dynamics is the study of how emotions change over time. Sometimes our feelings are quite stable, but other times capricious. Measuring and predicting these patterns for different people is somewhat of a Holy Grail for emotion researchers. In particular, some researchers are aspiring to discover mathematical laws that capture ... [Read more...]

Quick Example of Latent Profile Analysis in R

April 19, 2019 | R on Will Hipson

Latent Profile Analysis (LPA) tries to identify clusters of individuals (i.e., latent profiles) based on responses to a series of continuous variables (i.e., indicators). LPA assumes that there are unobserved latent profiles that generate patterns of responses on indicator items. Here, I will go through a quick example ...
[Read more...]

Network Analysis of Emotions

March 17, 2019 | R on Will Hipson

In this month’s post, I set out to create a visual network of emotions. Emotion Dynamics tells us that different emotions are highly interconnected, such that one emotion morphs into another and so on. I’ll be using a large dataset from an original study published in PLOS ONE ...
[Read more...]

The Face of (Dis)Agreement – Intraclass Correlations

February 3, 2019 | R on Will Hipson

I was recently introduced to Google Dataset Search, an extension that searches for open access datasets. There I stumbled upon this dataset on childrens’ and adult’s ratings of facial expressions. The data comes from a published article by Vesker et al. (2018). Briefly, this study involved having adults and 9-year-old ...
[Read more...]
1 2

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)