Posts

How to calculate contrasts from a fitted brms model

statistics
tutorial
R
brms

Answer more questions with your estimated parameters, without refitting the model.

How to analyze visual analog (slider) scale data?

psychology
statistics
tutorial
R
brms

A reasonable choice might be the zero-one-inflated beta model

Combine ggplots with patchwork

data science
visualization
ggplot2
R

How to combine arbitrary ggplots

Glue your strings together

data science
R

Use the glue R package to join strings.

Bayesian Estimation of Signal Detection Models

psychology
statistics
tutorial
R
brms

Signal Detection Theory (SDT) is a popular theoretical 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 illustrated here.

Bayes Factors with brms

statistics
tutorial
R
brms

How to calculate Bayes Factors with the R package brms using the Savage-Dickey density ratio method.

How to create within-subject scatter plots in R with ggplot2

statistics
tutorial
R
visualization
ggplot2

Scatterplots can be a very effective form of visualization for data from within-subjects experiments. You'll often see within-subject data visualized as bar graphs (condition means, and maybe mean difference if you're lucky.) But alternatives exist, and today we'll take a look at within-subjects scatterplots.

How to Compare Two Groups with Robust Bayesian Estimation in R

statistics
tutorial
R
brms

2017 will be the year when social scientists finally decided to diversify their applied statistics toolbox, and stop relying 100% on null hypothesis significance testing (NHST). A very appealing alternative to NHST is Bayesian statistics, which in itself contains many approaches to statistical inference. In this post, I provide an introductory and practical tutorial to Bayesian parameter estimation in the context of comparing two independent groups' data.

How to arrange ggplot2 panel plots

data science
R
visualization

Arrange your visual display of information to maximize your figures' impact.

Bayesian Meta-Analysis with R, Stan & brms

statistics
R
brms
tutorial

Meta-analysis is a special case of Bayesian multilevel modeling

GitHub-style waffle plots in R

R
visualization
data science
tutorial

Attractive visualization for plotting activity over time in R with ggplot2.

How to create plots with subplots in R

data science
R
visualization
tutorial

Some tips on creating figures with multiple panels in R

Confidence intervals in multilevel models

statistics
R
brms
tutorial

How to obtain average & individual-specific confidence limits for regression lines in a multilevel regression modeling context

More articles »

Posts

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at https://github.com/mvuorre/mvuorre.github.io, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".