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 or just wrong reporting, one can find a tremendous amount of genuine errors (that could influence the results and their intepretation), even in published papers! (See the excellent statcheck to quickly check the stats of a paper). This error proneness can be at least partially explained by the fact that copy/pasting the (appropriate) values of any statistical software and formatting them textually is a very annoying process.
How to end it?
We believe that this could be solved (at least, partially) by the default implementation of current best practices of statistical reporting. A tool that automatically transforms a statistical result into a copy/pastable text. Of course, this automation cannot be suitable for each and every advanced usage, but would probably be satisfying for a substantial proportion of use cases. Implementing this unified, end-user oriented pipeline is the goal of the psycho package.
Fit an anova
Let’s start by doing a traditional ANOVA with adjusting (the ability to flexibly regulate one’s emotions) as dependent variable, and sex and salary as categorical predictors.
# devtools::install_github(&quot;neuropsychology/psycho.R&quot;) # Install the latest psycho version
library(psycho)
df .1) and can be considered as very small (Partial Omega-squared = 0).
It formats the results, computes the partial omega-squared as an index of effect size (better than the eta2, see Levine et al. 2002, Pierce et al. 2004) as well as its interpretation and presents the results in a APA-compatible way.
Correlations, t-tests, regressions…
Note that the analyze() method also exists for other statistical procudures, such as correlations, t-tests and regressions.
Evolution
Of course, these reporting standards should change, depending on new expert recommandations or official guidelines. The goal of this package is to flexibly adaptive to new changes and good practices evolution. Therefore, if you have any advices, opinions or such, we encourage you to either let us know by opening an issue, or even better, try to implement them yourself by contributing to the code.
Credits
This package helped you? Don’t forget to cite the various packages you used :)
You can cite psycho as follows:
Makowski, (2018). The psycho Package: An Efficient and Publishing-Oriented Workflow for Psychological Science. Journal of Open Source Software, 3(22), 470. https://doi.org/10.21105/joss.00470
On similar topics
Variable vs. Participant-wise Standardization
Formatted Correlation with Effect Size
Extracting a Reference Grid of your Data for Machine Learning Models Visualization
Copy/paste t-tests Directly to Manuscripts
Easy APA Formatted Bayesian Correlation
Fancy Plot (with Posterior Samples) for Bayesian Regressions
How Many Factors to Retain in Factor Analysis
Beautiful and Powerful Correlation Tables
Format and Interpret Linear Mixed Models
How to do Repeated Measures ANOVAs
Standardize (Z-score) a dataframe
Compute Signal Detection Theory Indices
Installing R, R Studio and psycho