esc

Effect Size Computation for Meta Analysis

https://github.com/strengejacke/esc

Science Score: 10.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

effect-size meta-analysis r

Keywords from Contributors

prediction data-transformation data-wrangling labelled-data recoding standardization report
Last synced: 6 months ago · JSON representation

Repository

Effect Size Computation for Meta Analysis

Basic Info
Statistics
  • Stars: 22
  • Watchers: 5
  • Forks: 7
  • Open Issues: 11
  • Releases: 4
Topics
effect-size meta-analysis r
Created over 9 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md

esc - Effect Size Computation for Meta Analysis

DOI

This is an R implementation of the web-based ‘Practical Meta-Analysis Effect Size Calculator’ from David B. Wilson. The original calculator can be found at http://www.campbellcollaboration.org/escalc/html/EffectSizeCalculator-Home.php.

Based on the input, the effect size can be returned as standardized mean difference (d), Cohen’s f, eta squared, Hedges’ g, correlation coefficient effect size r or Fisher’s transformation z, odds ratio or log odds effect size.

Return values

The return value of all functions has the same structure:

  • The effect size, whether being d, g, r, f, (Cox) odds ratios or (Cox) logits, is always named es.
  • The standard error of the effect size, se.
  • The variance of the effect size, var.
  • The lower and upper confidence limits ci.lo and ci.hi.
  • The weight factor, based on the inverse-variance, w.
  • The total sample size totaln.
  • The effect size measure, measure, which is typically specified via the es.type-argument.
  • Information on the effect-size conversion, info.
  • A string with the study name, if the study-argument was specified in function calls.

Correlation Effect Size

If the correlation effect size r is computed, the transformed Fisher’s z and their confidence intervals are also returned. The variance and standard error for the correlation effect size r are always based on Fisher’s transformation.

Odds Ratio Effect Size

For odds ratios, the variance and standard error are always returned on the log-scale!

S3 methods

The esc package offers the S3 methods print() and as.data.frame().

Combining results into a single data frame

The combine_esc() method is a convenient way to create pooled data frames of different effect size calculations, for further use. Here is an example of combine_esc(), which returns a data.frame object.

``` r library(esc) e1 <- esc2x2(grp1yes = 30, grp1no = 50, grp2yes = 40, grp2no = 45, study = "Study 1") e2 <- esc2x2(grp1yes = 30, grp1no = 50, grp2yes = 40, grp2no = 45, es.type = "or", study = "Study 2") e3 <- esct(p = 0.03, grp1n = 100, grp2n = 150, study = "Study 3") e4 <- escmean_sd(grp1m = 7, grp1sd = 2, grp1n = 50, grp2m = 9, grp2sd = 3, grp2n = 60, es.type = "logit", study = "Study 4")

combine_esc(e1, e2, e3, e4)

> study es weight sample.size se var ci.lo ci.hi measure

> 1 Study 1 -0.3930 9.945 165 0.3171 0.10056 -1.01456 0.2285 logit

> 2 Study 2 0.6750 9.945 165 0.3171 0.10056 0.36256 1.2567 or

> 3 Study 3 0.2818 59.434 250 0.1297 0.01683 0.02755 0.5360 d

> 4 Study 4 -1.3982 7.721 110 0.3599 0.12951 -2.10354 -0.6928 logit

```

esc is still under development, i.e. not all effect size computation options are implemented yet. The remaining options will follow in further updates.

Installation

Latest development build

To install the latest development snapshot (see latest changes below), type following commands into the R console:

r library(githubinstall) githubinstall::githubinstall("esc")

Official, stable release

CRAN\_Status\_Badge    downloads    total

To install the latest stable release from CRAN, type following command into the R console:

r install.packages("esc")

Citation

In case you want / have to cite my package, please use citation('esc') for citation information.

DOI

Owner

  • Name: Daniel
  • Login: strengejacke
  • Kind: user
  • Location: Hamburg, Germany
  • Company: Universitätsklinikum Hamburg-Eppendorf

Senior researcher; systems theory, qualitative and quantitative research

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 2
Last Year
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 65
  • Total Committers: 3
  • Avg Commits per committer: 21.667
  • Development Distribution Score (DDS): 0.338
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Daniel m****l@d****e 43
Daniel Lüdecke d****e@u****e 21
Darío Hereñú m****a@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 16
  • Total pull requests: 1
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 13 hours
  • Total issue authors: 13
  • Total pull request authors: 1
  • Average comments per issue: 2.25
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Elie-Yu (2)
  • strengejacke (2)
  • LukasWallrich (2)
  • Mihaylova1 (1)
  • dwhancock (1)
  • wRONgR (1)
  • pgonzaleze (1)
  • statsuser (1)
  • djmeter (1)
  • badgettrg (1)
  • PaquitoBernard (1)
  • tqtbui (1)
Pull Request Authors
  • kant (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 1,621 last-month
  • Total docker downloads: 43,390
  • Total dependent packages: 2
  • Total dependent repositories: 4
  • Total versions: 9
  • Total maintainers: 1
cran.r-project.org: esc

Effect Size Computation for Meta Analysis

  • Versions: 9
  • Dependent Packages: 2
  • Dependent Repositories: 4
  • Downloads: 1,621 Last month
  • Docker Downloads: 43,390
Rankings
Docker downloads count: 0.6%
Forks count: 10.8%
Average: 10.8%
Downloads: 12.5%
Stargazers count: 12.6%
Dependent packages count: 13.7%
Dependent repos count: 14.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.2 depends
  • stats * depends
  • utils * imports