effectsize

effectsize: Estimation of Effect Size Indices and Standardized Parameters - Published in JOSS (2020)

https://github.com/easystats/effectsize

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    1 of 15 committers (6.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

anova cohens-d compute conversion correlation effect-size effectsize hacktoberfest hedges-g interpretation r standardization standardized statistics

Keywords from Contributors

confidence-intervals predict easystats pca regression-models robust-statistics statistical-models bayes-factors standardize pvalues

Scientific Fields

Engineering Computer Science - 40% confidence
Last synced: 6 months ago · JSON representation

Repository

:dragon: Compute and work with indices of effect size and standardized parameters

Basic Info
Statistics
  • Stars: 349
  • Watchers: 11
  • Forks: 24
  • Open Issues: 18
  • Releases: 23
Topics
anova cohens-d compute conversion correlation effect-size effectsize hacktoberfest hedges-g interpretation r standardization standardized statistics
Created over 6 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing Funding License Code of conduct Support

README.Rmd

---
output: github_document
---

# effectsize: Indices of Effect Size 

```{r setup, echo = FALSE, warning=FALSE, message=FALSE}
library(effectsize)

options(digits = 3)

knitr::opts_chunk$set(
  collapse = TRUE,
  dpi = 450,
  fig.path = "man/figures/"
)

set.seed(111)
```

[![DOI](https://joss.theoj.org/papers/10.21105/joss.02815/status.svg/)](https://doi.org/10.21105/joss.02815)
[![downloads](https://cranlogs.r-pkg.org/badges/effectsize)](https://cran.r-project.org/package=effectsize/)
[![total](https://cranlogs.r-pkg.org/badges/grand-total/effectsize)](https://cran.r-project.org/package=effectsize/)


***Significant is just not enough!***

The goal of this package is to provide utilities to work with indices of effect size and standardized parameters, allowing computation and conversion of indices such as Cohen's *d*, *r*, odds-ratios, etc.


## Installation

[![CRAN](https://www.r-pkg.org/badges/version/effectsize)](https://cran.r-project.org/package=effectsize/)
[![effectsize status badge](https://easystats.r-universe.dev/badges/effectsize/)](https://easystats.r-universe.dev/)
[![R-CMD-check](https://github.com/easystats/effectsize/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/easystats/effectsize/actions)
[![pkgdown](https://github.com/easystats/effectsize/workflows/pkgdown/badge.svg/)](https://github.com/easystats/effectsize/actions/)
[![Codecov test coverage](https://codecov.io/gh/easystats/effectsize/branch/main/graph/badge.svg/)](https://app.codecov.io/gh/easystats/effectsize?branch=main/)

Run the following to install the stable release of **effectsize** from CRAN:

```{r install-CRAN, warning=FALSE, message=FALSE, eval=FALSE}
install.packages("effectsize")
```

Or you can install the latest development version from [*R-universe*](https://easystats.r-universe.dev):

```{r install-R-universe, warning=FALSE, message=FALSE, eval=FALSE}
install.packages("effectsize", repos = "https://easystats.r-universe.dev/")
```








## Documentation

[![Documentation](https://img.shields.io/badge/documentation-effectsize-orange.svg?colorB=E91E63/)](https://easystats.github.io/effectsize/)
[![Blog](https://img.shields.io/badge/blog-easystats-orange.svg?colorB=FF9800/)](https://easystats.github.io/blog/posts/)
[![Features](https://img.shields.io/badge/features-effectsize-orange.svg?colorB=2196F3/)](https://easystats.github.io/effectsize/reference/index.html)

Click on the buttons above to access the package [**documentation**](https://easystats.github.io/effectsize/) and the [**easystats blog**](https://easystats.github.io/blog/posts/), and check-out these vignettes:

- **Effect Sizes**  
  - [**Standardized Differences**](https://easystats.github.io/effectsize/articles/standardized_differences.html)  
  - [**For Contingency Tables**](https://easystats.github.io/effectsize/articles/xtabs.html)  
  - [**ANOVA Effect Sizes**](https://easystats.github.io/effectsize/articles/anovaES.html)
- **Effect Sizes Conversion**    
  - [**Between Effect Sizes**](https://easystats.github.io/effectsize/articles/convert_r_d_OR.html)  
  - [**Between Probabilities and Odds and Risk Ratios**](https://easystats.github.io/effectsize/articles/convert_p_OR_RR.html)  
  - [**Effect Size from Test Statistics**](https://easystats.github.io/effectsize/articles/from_test_statistics.html)
- [**Plotting Functions for the 'effectsize' Package**](https://easystats.github.io/see/articles/effectsize.html)  
- [**Automated Interpretation of Indices of Effect Size**](https://easystats.github.io/effectsize/articles/interpret.html)



# Features

This package is focused on indices of effect size. Check out the package website for [**a full list of features and functions** provided by `effectsize`](https://easystats.github.io/effectsize/reference/index.html).

```{r load, message=FALSE, warning=FALSE}
library(effectsize)
options(es.use_symbols = TRUE) # get nice symbols when printing! (On Windows, requires R >= 4.2.0)
```

> **Tip:**
>
> **Instead of `library(effectsize)`, use `library(easystats)`.**
> **This will make all features of the  easystats-ecosystem available.**
>
> **To stay updated, use `easystats::install_latest()`.**


## Effect Size Computation

The package provides functions to compute indices of effect size.

### Standardized Differences (Cohen's *d*, Hedges' *g*, Glass' *delta*)

```{r d, warning=FALSE, message=FALSE}
cohens_d(mpg ~ am, data = mtcars)

hedges_g(mpg ~ am, data = mtcars)

glass_delta(mpg ~ am, data = mtcars)
```

`effectsize` also provides effect sizes for *paired standardized differences*, *rank tests*, *common language effect sizes* and more...

### Contingency Tables

```{r}
# Dependence
phi(mtcars$am, mtcars$vs)

cramers_v(mtcars$am, mtcars$cyl)

# Goodness-of-fit
fei(table(mtcars$cyl), p = c(0.1, 0.3, 0.6))
```

### ANOVAs (Eta2, Omega2, ...)

```{r aov, warning=FALSE, message=FALSE}
model <- aov(mpg ~ factor(gear), data = mtcars)

eta_squared(model)

omega_squared(model)

epsilon_squared(model)
```

And more...


















## Effect Size Conversion

The package also provides ways of converting between different effect sizes.

```{r convert-between, warning=FALSE, message=FALSE}
d_to_r(d = 0.2)

oddsratio_to_riskratio(2.6, p0 = 0.4)
```

And for recovering effect sizes from test statistics.

```{r convert-stat, warning=FALSE, message=FALSE}
F_to_d(15, df = 1, df_error = 60)

F_to_r(15, df = 1, df_error = 60)

F_to_eta2(15, df = 1, df_error = 60)
```

## Effect Size Interpretation

The package allows for an automated interpretation of different indices. 

```{r interp-r, warning=FALSE, message=FALSE}
interpret_r(r = 0.3)
```

Different sets of "rules of thumb" are implemented ([**guidelines are detailed here**](https://easystats.github.io/effectsize/articles/interpret.html)) and can be easily changed.


```{r interp-d, warning=FALSE, message=FALSE}
interpret_cohens_d(d = 0.45, rules = "cohen1988")

interpret_cohens_d(d = 0.45, rules = "gignac2016")
```


### Citation

In order to cite this package, please use the following citation:

  * Ben-Shachar M, Lüdecke D, Makowski D (2020). effectsize: Estimation of Effect Size Indices and Standardized Parameters. _Journal of Open Source Software_, *5*(56), 2815. doi: 10.21105/joss.02815
  
Corresponding BibTeX entry:

```
@Article{,
  title = {{e}ffectsize: Estimation of Effect Size Indices and Standardized Parameters},
  author = {Mattan S. Ben-Shachar and Daniel Lüdecke and Dominique Makowski},
  year = {2020},
  journal = {Journal of Open Source Software},
  volume = {5},
  number = {56},
  pages = {2815},
  publisher = {The Open Journal},
  doi = {10.21105/joss.02815},
  url = {https://doi.org/10.21105/joss.02815}
}
```

# Contributing and Support

If you have any questions regarding the the functionality of the package, you may either contact us via email or also [file an issue](https://github.com/easystats/effectsize/issues/). Anyone wishing to contribute to the package by adding functions, features, or in another way, please follow [this guide](https://github.com/easystats/effectsize/blob/main/.github/CONTRIBUTING.md/) and our [code of conduct](https://github.com/easystats/effectsize/blob/main/.github/CODE_OF_CONDUCT.md/).

Owner

  • Name: easystats
  • Login: easystats
  • Kind: organization
  • Location: worldwide

Make R stats easy!

JOSS Publication

effectsize: Estimation of Effect Size Indices and Standardized Parameters
Published
December 23, 2020
Volume 5, Issue 56, Page 2815
Authors
Mattan S. Ben-Shachar ORCID
Ben-Gurion University of the Negev, Israel
Daniel Lüdecke ORCID
University Medical Center Hamburg-Eppendorf, Germany
Dominique Makowski ORCID
Nanyang Technological University, Singapore
Editor
Mikkel Meyer Andersen ORCID
Tags
easystats effect size regression linear models standardized coefficients

Papers & Mentions

Total mentions: 24

Complex sexually dimorphic traits shape the parallel evolution of a novel reproductive strategy in Sulawesi ricefishes (Adrianichthyidae)
Last synced: 4 months ago
Effects of self-myofascial release interventions with or without sliding pressures on skin temperature, range of motion and perceived well-being: a randomized control pilot trial
Last synced: 4 months ago
Attention Networks in ADHD Adults after Working Memory Training with a Dual n-Back Task
Last synced: 4 months ago
Foam Rolling Elicits Neuronal Relaxation Patterns Distinct from Manual Massage: A Randomized Controlled Trial
Last synced: 4 months ago
Towards robust and replicable sex differences in the intrinsic brain function of autism
Last synced: 4 months ago
Tracing gestation and lactation in free ranging gray whales using the stable isotopic composition of epidermis layers
Last synced: 4 months ago
Movement intensity demands between training activities and competition for elite female netballers
Last synced: 4 months ago
Object-Location Memory Training in Older Adults Leads to Greater Deactivation of the Dorsal Default Mode Network
Last synced: 4 months ago
Gray Matter Changes in Adolescents Participating in a Meditation Training
Last synced: 4 months ago
Interferon-γ-Producing CD4+ T Cells Drive Monocyte Activation in the Bone Marrow During Experimental Leishmania donovani Infection
Last synced: 4 months ago
“It All Makes Us Feel Together”: Young People's Experiences of Virtual Group Music-Making During the COVID-19 Pandemic
Last synced: 4 months ago
Age-Related Variations in Regional White Matter Volumetry and Microstructure During the Post-adolescence Period: A Cross-Sectional Study of a Cohort of 1,713 University Students
Last synced: 4 months ago
A Literature-Derived Knowledge Graph Augments the Interpretation of Single Cell RNA-seq Datasets
Last synced: 4 months ago
Revisiting potential associations between brain morphology, fear acquisition and extinction through new data and a literature review
Last synced: 4 months ago
Diurnal preference and depressive symptomatology: a meta-analysis
Last synced: 4 months ago
Phenotypic and genetic markers of psychopathology in a population-based sample of older adults
Last synced: 4 months ago
Region-specific elevations of glutamate + glutamine correlate with the sensory symptoms of autism spectrum disorders
Last synced: 4 months ago
Speech Movement Variability in People Who Stutter: A Vocal Tract Magnetic Resonance Imaging Study
Last synced: 4 months ago
Expertise Modulates Neural Stimulus-Tracking
Last synced: 4 months ago
Cognitive decline in Huntington’s disease in the Digitalized Arithmetic Task (DAT)
Last synced: 4 months ago
IL-6 Trans-Signaling in the Brain Influences the Metabolic Phenotype of the 3xTg-AD Mouse Model of Alzheimer’s Disease
Last synced: 4 months ago
Light might suppress both types of sound‐evoked antipredator flight in moths
Last synced: 4 months ago
Environment‐induced changes in reproductive strategies and their transgenerational effects in the three‐spined stickleback
Last synced: 4 months ago
Examining implicit beliefs in a replication attempt of a time-reversed priming task
Last synced: 4 months ago

GitHub Events

Total
  • Create event: 15
  • Commit comment event: 3
  • Release event: 1
  • Issues event: 17
  • Watch event: 10
  • Delete event: 11
  • Issue comment event: 47
  • Push event: 61
  • Pull request review comment event: 3
  • Pull request review event: 7
  • Pull request event: 31
  • Fork event: 1
Last Year
  • Create event: 15
  • Commit comment event: 3
  • Release event: 1
  • Issues event: 17
  • Watch event: 10
  • Delete event: 11
  • Issue comment event: 47
  • Push event: 61
  • Pull request review comment event: 3
  • Pull request review event: 7
  • Pull request event: 31
  • Fork event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 1,619
  • Total Committers: 15
  • Avg Commits per committer: 107.933
  • Development Distribution Score (DDS): 0.262
Past Year
  • Commits: 27
  • Committers: 5
  • Avg Commits per committer: 5.4
  • Development Distribution Score (DDS): 0.593
Top Committers
Name Email Commits
mattansb 3****b 1,195
Daniel m****l@d****e 151
Dominique Makowski d****9@g****m 129
Indrajeet Patil p****e@g****m 90
GitHub Actions a****s@g****m 17
Brenton M. Wiernik b****k 11
github-actions[bot] 4****] 8
Rémi Thériault 1****c 6
etiennebacher e****r@p****m 3
Daniel S. Katz d****z@i****g 2
Philip Waggoner 3****r 2
mutlusun m****n 2
Aaron Caldwell a****9@g****m 1
Victor Souza 3****r 1
dependabot[bot] 4****] 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 79
  • Total pull requests: 123
  • Average time to close issues: 3 months
  • Average time to close pull requests: 24 days
  • Total issue authors: 32
  • Total pull request authors: 12
  • Average comments per issue: 3.91
  • Average comments per pull request: 2.95
  • Merged pull requests: 92
  • Bot issues: 0
  • Bot pull requests: 30
Past Year
  • Issues: 6
  • Pull requests: 27
  • Average time to close issues: 3 months
  • Average time to close pull requests: 12 days
  • Issue authors: 3
  • Pull request authors: 6
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.67
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 16
Top Authors
Issue Authors
  • mattansb (15)
  • IndrajeetPatil (13)
  • rempsyc (7)
  • bwiernik (6)
  • strengejacke (6)
  • Daiki-Nakamura-git (3)
  • arcaldwell49 (2)
  • Generalized (2)
  • DominiqueMakowski (2)
  • chainsawriot (1)
  • pydemull (1)
  • andresfpatinomd (1)
  • Niloofar-GH (1)
  • einGlasRotwein (1)
  • kazz530 (1)
Pull Request Authors
  • mattansb (59)
  • github-actions[bot] (35)
  • strengejacke (8)
  • IndrajeetPatil (8)
  • rempsyc (8)
  • pdwaggoner (4)
  • bwiernik (2)
  • arcaldwell49 (2)
  • chainsawriot (2)
  • dependabot[bot] (2)
  • victor-vscn (1)
  • vincentarelbundock (1)
Top Labels
Issue Labels
enhancement 🔥 (16) bug 🐜 (11) docs 📑 (7) Discussion 🦜 (5) low priority 😴 (4) consistency :apple: :green_apple: (3) duplicate 👯‍♂️ (2) wontfix ❌ (2) invalid 😳 (1) question ❓ (1) WIP 👷‍♂️ (1)
Pull Request Labels
auto-update (35) docs 📑 (2) dependencies (2) enhancement 🔥 (2) consistency :apple: :green_apple: (1) github_actions (1)

Packages

  • Total packages: 3
  • Total downloads:
    • cran 53,521 last-month
  • Total docker downloads: 47,454
  • Total dependent packages: 33
    (may contain duplicates)
  • Total dependent repositories: 50
    (may contain duplicates)
  • Total versions: 62
  • Total maintainers: 1
cran.r-project.org: effectsize

Indices of Effect Size

  • Versions: 29
  • Dependent Packages: 25
  • Dependent Repositories: 49
  • Downloads: 53,521 Last month
  • Docker Downloads: 47,454
Rankings
Stargazers count: 1.2%
Downloads: 1.9%
Average: 3.1%
Dependent packages count: 3.1%
Dependent repos count: 3.6%
Forks count: 3.6%
Docker downloads count: 5.3%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/easystats/effectsize
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
conda-forge.org: r-effectsize
  • Versions: 21
  • Dependent Packages: 8
  • Dependent Repositories: 1
Rankings
Dependent packages count: 7.1%
Stargazers count: 22.0%
Average: 22.4%
Dependent repos count: 24.1%
Forks count: 36.5%
Last synced: 6 months ago

Dependencies

.github/workflows/pkgdown-no-suggests.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 3.6 depends
  • bayestestR >= 0.13.0 imports
  • datawizard >= 0.6.2 imports
  • insight >= 0.18.4 imports
  • parameters >= 0.19.0 imports
  • performance >= 0.10.0 imports
  • stats * imports
  • utils * imports
  • BayesFactor * suggests
  • MASS * suggests
  • afex * suggests
  • boot * suggests
  • brms * suggests
  • car * suggests
  • correlation >= 0.8.2 suggests
  • emmeans * suggests
  • gt * suggests
  • knitr * suggests
  • lavaan * suggests
  • lme4 * suggests
  • lmerTest * suggests
  • mgcv * suggests
  • parsnip * suggests
  • rmarkdown * suggests
  • rms * suggests
  • rstanarm * suggests
  • rstantools * suggests
  • see >= 0.7.3 suggests
  • testthat >= 3.1.0 suggests