Sometimes I R
https://mvuorre.github.io
Statistics and Data Science Tutorials by Matti Vuorre
Sometimes I Rhttps://mvuorre.github.io/images/favicon.png
https://mvuorre.github.io
DistillThu, 06 Feb 2020 00:00:00 +0000How to calculate contrasts from a fitted brms modelMatti Vuorre
https://mvuorre.github.io/posts/2020-02-06-how-to-calculate-contrasts-from-a-fitted-brms-model
Answer more questions with your estimated parameters, without refitting the model.statisticstutorialRbrmshttps://mvuorre.github.io/posts/2020-02-06-how-to-calculate-contrasts-from-a-fitted-brms-modelThu, 06 Feb 2020 00:00:00 +0000How to analyze visual analog (slider) scale data?Matti Vuorre
https://mvuorre.github.io/posts/2019-02-18-analyze-analog-scale-ratings-with-zero-one-inflated-beta-models
A reasonable choice might be the zero-one-inflated beta modelpsychologystatisticstutorialRbrmshttps://mvuorre.github.io/posts/2019-02-18-analyze-analog-scale-ratings-with-zero-one-inflated-beta-modelsMon, 18 Feb 2019 00:00:00 +0000Combine ggplots with patchworkMatti Vuorre
https://mvuorre.github.io/posts/2018-12-13-rpihkal-combine-ggplots-with-patchwork
How to combine arbitrary ggplotsdata sciencevisualizationggplot2Rhttps://mvuorre.github.io/posts/2018-12-13-rpihkal-combine-ggplots-with-patchworkThu, 13 Dec 2018 00:00:00 +0000Glue your strings togetherMatti Vuorre
https://mvuorre.github.io/posts/2018-12-12-rpihkal-stop-pasting-and-start-gluing
Use the glue R package to join strings.data scienceRhttps://mvuorre.github.io/posts/2018-12-12-rpihkal-stop-pasting-and-start-gluingWed, 12 Dec 2018 00:00:00 +0000Bayesian Estimation of Signal Detection ModelsMatti Vuorre
https://mvuorre.github.io/posts/2017-10-09-bayesian-estimation-of-signal-detection-theory-models
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.psychologystatisticstutorialRbrmshttps://mvuorre.github.io/posts/2017-10-09-bayesian-estimation-of-signal-detection-theory-modelsMon, 09 Oct 2017 00:00:00 +0000Bayes Factors with brmsMatti Vuorre
https://mvuorre.github.io/posts/2017-03-21-bayes-factors-with-brms
How to calculate Bayes Factors with the R package brms using the Savage-Dickey density ratio method.statisticstutorialRbrmshttps://mvuorre.github.io/posts/2017-03-21-bayes-factors-with-brmsTue, 21 Mar 2017 00:00:00 +0000How to create within-subject scatter plots in R with ggplot2Matti Vuorre
https://mvuorre.github.io/posts/2017-01-04-within-subject-scatter
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.statisticstutorialRvisualizationggplot2https://mvuorre.github.io/posts/2017-01-04-within-subject-scatterWed, 04 Jan 2017 00:00:00 +0000How to Compare Two Groups with Robust Bayesian Estimation in RMatti Vuorre
https://mvuorre.github.io/posts/2017-01-02-how-to-compare-two-groups-with-robust-bayesian-estimation-using-r-stan-and-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.statisticstutorialRbrmshttps://mvuorre.github.io/posts/2017-01-02-how-to-compare-two-groups-with-robust-bayesian-estimation-using-r-stan-and-brmsMon, 02 Jan 2017 00:00:00 +0000How to arrange ggplot2 panel plotsMatti Vuorre
https://mvuorre.github.io/posts/2016-12-06-order-ggplot-panel-plots
Arrange your visual display of information to maximize your figures' impact.data scienceRvisualizationhttps://mvuorre.github.io/posts/2016-12-06-order-ggplot-panel-plotsTue, 06 Dec 2016 00:00:00 +0000Bayesian Meta-Analysis with R, Stan & brmsMatti Vuorre
https://mvuorre.github.io/posts/2016-09-29-bayesian-meta-analysis
Meta-analysis is a special case of Bayesian multilevel modelingstatisticsRbrmstutorialhttps://mvuorre.github.io/posts/2016-09-29-bayesian-meta-analysisThu, 29 Sep 2016 00:00:00 +0000GitHub-style waffle plots in RMatti Vuorre
https://mvuorre.github.io/posts/2016-03-24-github-waffle-plot
Attractive visualization for plotting activity over time in R with ggplot2.Rvisualizationdata sciencetutorialhttps://mvuorre.github.io/posts/2016-03-24-github-waffle-plotThu, 24 Mar 2016 00:00:00 +0000How to create plots with subplots in RMatti Vuorre
https://mvuorre.github.io/posts/2016-03-15-ggplot-plots-subplots
Some tips on creating figures with multiple panels in Rdata scienceRvisualizationtutorialhttps://mvuorre.github.io/posts/2016-03-15-ggplot-plots-subplotsTue, 15 Mar 2016 00:00:00 +0000Confidence intervals in multilevel modelsMatti Vuorre
https://mvuorre.github.io/posts/2016-03-06-multilevel-predictions
How to obtain average & individual-specific confidence limits for regression lines in a multilevel regression modeling contextstatisticsRbrmstutorialhttps://mvuorre.github.io/posts/2016-03-06-multilevel-predictionsSun, 06 Mar 2016 00:00:00 +0000