Articles by Dominique Makowski

How to Cite Packages

August 30, 2018 | Dominique Makowski

What should I cite? How should I cite it? Previous blogposts Citing the packages, modules and softwares you used for your analysis is important, both from a reproducibility perspective (statistical routines are often implemented in different w... [Read more...]

The end of errors in ANOVA reporting

July 19, 2018 | Dominique Makowski

Fit an anova APA formatted output Correlations, t-tests, regressions… Evolution Credits On similar topics Psychology is still (unfortunately) massively using analysis of variance (ANOVA). Despite its relative simplicity, I am very often confronted to errors in its reporting, for instance in student’s theses or manuscripts. Beyond the incomplete, uncomprehensible ... [Read more...]

Variable vs. Participant-wise Standardization

July 13, 2018 | Dominique Makowski

The data Standardize Effect of Standardization At a general level At a participant level Distribution Correlation Test Conclusion Credits Previous blogposts To make sense of their data and effects, psychologists often standardize (Z-score) their variables. However, in repeated-measures designs, there are three ways of standardizing data: Variable-wise: The most common ...
[Read more...]

Formatted Correlation with Effect Size

June 27, 2018 | Dominique Makowski

Do a correlation APA formatted output Dataframe of Values Bayesian Correlation Contribute Credits Previous blogposts One of the most time-consuming part of data analysis in psychology is the copy-pasting of specific values of some R output to a manuscript or a report. This task is frustrating, prone to errors, and ... [Read more...]

Copy/paste t-tests Directly to Manuscripts

June 18, 2018 | Dominique Makowski

Do a t-test APA formatted output Flexibility Dataframe of Values Contribute Credits Previous blogposts One of the most time-consuming part of data analysis in psychology is the copy-pasting of specific values of some R output to a manuscript or a report. This task is frustrating, prone to errors, and increases ...
[Read more...]

Easy APA Formatted Bayesian Correlation

June 10, 2018 | Dominique Makowski

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 package ...
[Read more...]

How Many Factors to Retain in Factor Analysis

May 23, 2018 | Dominique Makowski

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() ...
[Read more...]

Beautiful and Powerful Correlation Tables in R

May 19, 2018 | Dominique Makowski

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.
<span>devtools</span><span>::</span><span>install_github</span><span>(</span><span>"neuropsychology/psycho.R"</span><span>)</span><span>  </span><span># Install the newest version</span><span>

</span><span>library</span><span>(</span><span>psycho</span><span>)</span><span>
</span><span>library</span><span>(</span><span>tidyverse</span><span>)</span><span>

</span><span>cor</span><span> </span><span><-</span><span> </span><span>psycho</span><span>::</span><span>affective</span><span> </span><span>%>%</span><span> 
  </span><span>correlation</span><span>()</span><span>
</span>
This function automatically select numeric variables and run a correlation analysis. It returns a psychobject. A table We can then extract a formatted table ...
[Read more...]

Beautiful and Powerful Correlation Tables in R

May 17, 2018 | Dominique Makowski

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.
<span>devtools</span><span>::</span><span>install_github</span><span>(</span><span>"neuropsychology/psycho.R"</span><span>)</span><span>  </span><span># Install the newest version</span><span>

</span><span>library</span><span>(</span><span>psycho</span><span>)</span><span>
</span><span>library</span><span>(</span><span>tidyverse</span><span>)</span><span>

</span><span>cor</span><span> </span><span><-</span><span> </span><span>psycho</span><span>::</span><span>affective</span><span> </span><span>%>%</span><span> 
  </span><span>correlation</span><span>()</span><span>
</span>
This function automatically select numeric variables and run a correlation analysis. It returns a psychobject. A table We can then extract a formatted table ...
[Read more...]

Format and Interpret Linear Mixed Models

May 9, 2018 | Dominique Makowski

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 ... [Read more...]

How to do Repeated Measures ANOVAs in R

April 30, 2018 | Dominique Makowski

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 ...
[Read more...]

Standardize (Z-score) a dataframe

March 28, 2018 | Dominique Makowski

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 ...
[Read more...]

Compute Signal Detection Theory Indices with R

March 28, 2018 | Dominique Makowski

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 ...
[Read more...]

Installing R and R studio

March 20, 2018 | Dominique Makowski

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 ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)