Notes on psychology, statistics, and R, sometimes
-
Against publishing (2025-10-14)Preprints---scholarly manuscripts not yet captured by the publication industry---are widely read and circulated, yet the "[intellectual perestroika](https://eprints.soton.ac.uk/251894/1/harnad90.skywriting.html)" they could facilitate hasn't been uniformly realized because…
-
My PsyArXiv coauthorship network (2025-09-24)Using PsyArXiv preprint metadata (provided in the [psyarxivr](https://github.com/mvuorre/psyarxivr) package) to create a single author's coauthorship network in R.
-
Stubborn opinions, lessons learned, and other esoterica on the minutiae of day-to-day workflows in academic psychology.
-
PDF-direct (2025-07-03)PDF-direct is a Firefox extension that skips academic journals' "enhanced" PDF viewers to direct PDF downloads.
-
How to add citations from Zotero to Quarto documents (2025-06-06)The vscode-zotero extension allows quickly inserting citation keys from Zotero to your Quarto documents, and updating the associated .bib file with the citation's biblatex entry. Here's how to install and use it.
-
Bayesian multilevel mediation with brms (2025-05-02)This post shows how to fit a three-variable multilevel mediation model with brms.
-
My peer review principles & practices (2025-02-03)Commitment to transparent, open, and credible peer review
-
Preprints: A Quarto extension and website (2024-06-20)Preprints are pretty, pretty good
-
A quantitative methods syllabus (2024-01-19)Recommended readings in quantitative methods
-
Yet another data request email (2023-03-24)To what extent does infant screen time predict later psychological outcomes?
-
Latent mean centering with brms (2023-01-01)Researchers studying longitudinal data routinely center their predictors to isolate between- and within-cluster contrasts. This within-cluster centering is usually an easy data-manipulation step. However, centering variables on the observed means can bias the resulting…
-
How I like to set up my computer (2022-12-08)Some notes (for myself) on how I like to set up my MacOS environment for work (and fun).
-
Tidymultiverse (2022-12-07)How to conduct multiverse analyses in R with tidy pipelines and parallel processing.
-
Some alternatives to raincloud plots (2022-12-06)I like raincloud plots, but think that they can duplicate the information a bit, which might have detrimental effects on clarity and comprehension.
-
How to run R remotely (2022-12-03)Running R on a remote computer is surprisingly easy
-
Website favicons with hexSticker (2022-06-29)My journey to make a website favicon with the hexSticker R package
-
Easy notifications from R (2022-06-15)How to send notifications from R, or any other CLI, to your phone
-
How to calculate contrasts from a fitted brms model (2020-02-06)Answer more questions with your estimated parameters, without refitting the model.
-
How to analyze visual analog (slider) scale data? (2019-02-18)A reasonable choice might be the zero-one-inflated beta model
-
Combine ggplots with patchwork (2018-12-13)How to combine arbitrary ggplots
-
Glue your strings together (2018-12-12)Use the glue R package to join strings.
-
Signal Detection Theory is a widely used framework for understanding decisions by distinguishing between response bias and true discriminability in various psychological domains. Manual calculation approaches to estimating SDT models' parameters, while commonly used, can be…
-
Bayes Factors with brms (2017-03-21)How to calculate Bayes Factors with the R package brms using the Savage-Dickey density ratio method.
-
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…
-
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…
-
How to arrange ggplot2 panel plots (2016-12-06)Arrange your visual display of information to maximize your figures' impact.
-
Bayesian Meta-Analysis with R, Stan, and brms (2016-09-29)Meta-analysis is a special case of Bayesian multilevel modeling
-
GitHub-style waffle plots in R (2016-03-24)Attractive visualization for plotting activity over time in R with ggplot2.
-
How to create plots with subplots in R (2016-03-15)Some tips on creating figures with multiple panels in R
-
Confidence intervals in multilevel models (2016-03-06)How to obtain average & individual-specific confidence limits for regression lines in a multilevel regression modeling context
No matching items