Publications by Dominique Makowski
Installing R and R studio
Guide Install R and R Studio Go here: https://cloud.r-project.org/ Download the last version for your OS Install it Go here: https://www.rstudio.com/products/rstudio/download/#download Download the right version for your OS Install it Start R studio Install the psycho package If you’ve never used psycho, enter one of the following in the cons...
823 sym R (206 sym/2 pcs)
Compute Signal Detection Theory Indices with R
Signal Detection Theory Indices (dprime, beta…) Signal detection theory (SDT) is used when psychologists want to measure the way we make decisions under conditions of uncertainty. SDT assumes that the decision maker is not a passive receiver of information, but an active decision-maker who makes difficult perceptual judgments under conditions o...
2543 sym R (395 sym/1 pcs) 2 img 1 tbl
Standardize (Z-score) a dataframe
Standardize / Normalize / Z-score / Scale The standardize() function allows you to easily scale and center all numeric variables of a dataframe. It is similar to the base function scale(), but presents some advantages: it is tidyverse-friendly, data-type friendly (i.e., does not transform it into a matrix) and can handle dataframes with categoric...
840 sym R (984 sym/2 pcs) 2 img
How to do Repeated Measures ANOVAs in R
Don’t do it The Emotion Dataset The effect of Emotion Post-hoc / Contrast Analysis Interaction Note Credits Don’t do it Ha! Got ya! Trying to run some old school ANOVAs hum? I’ll show you even better! There is now a tremendous amount of data showing the inadequacy of ANOVAs as a statistical procedure (Camilli, 1987; Levy, 1978; Vasey, 1987...
4657 sym R (4164 sym/11 pcs) 4 img 5 tbl
Format and Interpret Linear Mixed Models
The data Fit the model The analyze function Summary Print Credits You find it time-consuming to manually format, copy and paste output values to your report or manuscript? That time is over: the psycho package is here for you! The data Let’s take the example dataset included in the psycho package. library(psycho) library(tidyverse) df <- psyc...
2861 sym R (3636 sym/5 pcs) 1 tbl
Beautiful and Powerful Correlation Tables in R
Another correlation function?! A table A Plot A print Options Fun with p-hacking Credits Another correlation function?! Yes, the correlation function from the psycho package. devtools::install_github("neuropsychology/psycho.R") # Install the newest version library(psycho) library(tidyverse) cor <- psycho::affective %>% correlation() This ...
1734 sym R (2734 sym/6 pcs) 2 img 3 tbl
Beautiful and Powerful Correlation Tables in R
Another correlation function?! A table A Plot A print Options Fun with p-hacking Credits Another correlation function?! Yes, the correlation function from the psycho package. devtools::install_github("neuropsychology/psycho.R") # Install the newest version library(psycho) library(tidyverse) cor <- psycho::affective %>% correlation() This ...
1734 sym R (2734 sym/6 pcs) 2 img 3 tbl
How Many Factors to Retain in Factor Analysis
The method agreement procedure Tweaking Credits The method agreement procedure When running a factor analysis, one often needs to know how many components / latent variables to retain. Fortunately, many methods exist to statistically answer this question. Unfortunately, there is no consensus on which method to use. Therefore, the n_factors() fun...
1685 sym R (764 sym/3 pcs) 4 img 2 tbl
Fancy Plot (with Posterior Samples) for Bayesian Regressions
The Model Plot Credits As Bayesian models usually generate a lot of samples (iterations), one could want to plot them as well, instead (or along) the posterior “summary” (with indices like the 90% HDI). This can be done quite easily by extracting all the iterations in get_predicted from the psycho package. The Model # devtools::install_githu...
1753 sym R (940 sym/2 pcs) 2 img
Easy APA Formatted Bayesian Correlation
Traditional Correlation Bayesian APA formatted Correlation Indices Posterior Credits The Bayesian framework is the right way to go for psychological science. To facilitate its use for newcommers, we implemented the bayes_cor.test function in the psycho package, a user-friendly wrapper for the correlationBF function of the great BayesFactor packa...
2802 sym R (996 sym/4 pcs) 2 img 1 tbl