R

Bayesian Estimation of Signal Detection Models, Part 4

(This post is part 4 of a series of blog posts discussing Bayesian estimation of Signal Detection models.) In this blog post, I describe how to estimate the unequal variances Gaussian signal detection (UVSDT) model for confidence rating responses, for multiple participants simultaneously. I provide software code for the hierarchical Bayesian model in R.

Bayesian Estimation of Signal Detection Models, Part 3

(This post is part 3 in a series of blog posts discussing Bayesian estimation of Signal Detection models.) In this post, we extend the EVSDT model to confidence rating responses, and estimate the resulting model as an ordinal probit regression. I also describe how to estimate the unequal variance Gaussian SDT model for a single participant. I provide a software implementation in R.

Bayesian Estimation of Signal Detection Models, Part 2

This is a part of a series of blog posts discussing Bayesian estimation of Signal Detection models. In this post, I describe how to estimate the equal variance Gaussian SDT model’s parameters for multiple participants simultaneously, using Bayesian generalized linear and nonlinear hierarchical models. I provide a software implementation in R.

Bayesian Estimation of Signal Detection Models, Part 1

Signal Detection Theory (SDT) is a common framework for modeling memory and perception. Calculating point estimates of equal variance Gaussian SDT parameters is easy using widely known formulas. More complex SDT models, such as the unequal variance SDT model, require more complicated modeling techniques. These models can be estimated using Bayesian (nonlinear and/or hierarchical) regression methods, which are sometimes difficult to implement in practice. In this post, I describe how to estimate the equal variance Gaussian SDT model’s parameters for a single participant with a Generalized Linear Model, and a nonlinear model. I describe the software implementation in R.

Sharing R products

Don’t set R’s working directory from an R script.

Correlated Psychological Variables, Uncertainty, and Bayesian Estimation

Assessing the correlations between psychological variabless, such as abilities and improvements, is one essential goal of psychological science. However, psychological variables are usually only available to the researcher as estimated parameters in mathematical and statistical models. The parameters are often estimated from small samples of observations for each research participant, which results in uncertainty (aka sampling error) about the participant-specific parameters. Ignoring the resulting uncertainty can lead to suboptimal inferences, such as asserting findings with too much confidence. Hierarchical models alleviate this problem by accounting for each parameter’s uncertainty at the person- and average levels. However, common maximum likelihood estimation methods can have difficulties converging and finding appropriate values for parameters that describe the person-level parameters’ spread and correlation. In this post, I discuss how Bayesian hierarchical models solve this problem, and advocate their use in estimating psychological variables and their correlations.

Quantitative literature review with R: Exploring Psychonomic Society Journals, Part II

In this tutorial, I’ll show how to use R to quantitatively explore, analyze, and visualize a research literature, using Psychonomic Society publications. This post directly continues from part I of Quantitative literature review with R. Please read that first for context. Part I focused on data cleaning and simple figures, but here we will look at relational data by visualizing some network structures in the data.

Quantitative literature review with R: Exploring Psychonomic Society Journals, Part I

In this tutorial, I’ll show how to use R to quantitatively explore, analyze, and visualize a research literature, using Psychonomic Society’s publications

Bayes Factors with brms

How to calculate Bayes Factors with the R package brms (Buerkner, 2016) using the Savage-Dickey density ratio method (Wagenmakers, Lodewyckx, Kuriyal, & Grasman, 2010).

Better forest plots from meta-analytic models estimated with brms

An R function for drawing forest plots from meta-analytic models estimated with the brms R package.