{"id":16273050,"url":"https://github.com/strengejacke/esc","last_synced_at":"2025-03-16T13:31:14.617Z","repository":{"id":56936682,"uuid":"62336116","full_name":"strengejacke/esc","owner":"strengejacke","description":"Effect Size Computation for Meta Analysis","archived":false,"fork":false,"pushed_at":"2023-09-25T09:11:32.000Z","size":349,"stargazers_count":19,"open_issues_count":8,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-26T02:03:47.031Z","etag":null,"topics":["effect-size","meta-analysis","r"],"latest_commit_sha":null,"homepage":"https://strengejacke.github.io/esc","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strengejacke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-06-30T19:09:58.000Z","updated_at":"2024-03-01T05:40:49.000Z","dependencies_parsed_at":"2022-08-21T05:50:50.530Z","dependency_job_id":"5435e145-e72e-4e0e-beaa-c995ab79bb27","html_url":"https://github.com/strengejacke/esc","commit_stats":{"total_commits":64,"total_committers":3,"mean_commits":"21.333333333333332","dds":0.34375,"last_synced_commit":"eba3c6a62875d9c894466012fe82c0d2253e6137"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strengejacke%2Fesc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strengejacke%2Fesc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strengejacke%2Fesc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strengejacke%2Fesc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strengejacke","download_url":"https://codeload.github.com/strengejacke/esc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243816966,"owners_count":20352467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["effect-size","meta-analysis","r"],"created_at":"2024-10-10T18:21:48.246Z","updated_at":"2025-03-16T13:31:14.311Z","avatar_url":"https://github.com/strengejacke.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# esc - Effect Size Computation for Meta Analysis \u003cimg src=\"man/figures/logo.png\" align=\"right\" /\u003e\n\n[![DOI](https://zenodo.org/badge/62336116.svg)](https://zenodo.org/badge/latestdoi/62336116)\n\nThis is an R implementation of the web-based ‘Practical Meta-Analysis\nEffect Size Calculator’ from David B. Wilson. The original calculator\ncan be found at\n\u003chttp://www.campbellcollaboration.org/escalc/html/EffectSizeCalculator-Home.php\u003e.\n\nBased on the input, the effect size can be returned as standardized mean\ndifference (`d`), Cohen’s `f`, `eta` squared, Hedges’ `g`, correlation\ncoefficient effect size `r` or Fisher’s transformation `z`, odds ratio\nor log odds effect size.\n\n### Return values\n\nThe return value of all functions has the same structure:\n\n  - The effect size, whether being `d`, `g`, `r`, `f`, (Cox) odds ratios\n    or (Cox) logits, is always named `es`.\n  - The standard error of the effect size, `se`.\n  - The variance of the effect size, `var`.\n  - The lower and upper confidence limits `ci.lo` and `ci.hi`.\n  - The weight factor, based on the inverse-variance, `w`.\n  - The total sample size `totaln`.\n  - The effect size measure, `measure`, which is typically specified via\n    the `es.type`-argument.\n  - Information on the effect-size conversion, `info`.\n  - A string with the study name, if the `study`-argument was specified\n    in function calls.\n\n#### Correlation Effect Size\n\nIf the correlation effect size `r` is computed, the transformed Fisher’s\nz and their confidence intervals are also returned. The variance and\nstandard error for the correlation effect size r are always based on\nFisher’s transformation.\n\n#### Odds Ratio Effect Size\n\nFor odds ratios, the variance and standard error are always returned on\nthe log-scale\\!\n\n### S3 methods\n\nThe **esc** package offers the S3 methods `print()` and\n`as.data.frame()`.\n\n### Combining results into a single data frame\n\nThe `combine_esc()` method is a convenient way to create pooled data\nframes of different effect size calculations, for further use. Here is\nan example of `combine_esc()`, which returns a `data.frame` object.\n\n``` r\nlibrary(esc)\ne1 \u003c- esc_2x2(grp1yes = 30, grp1no = 50, grp2yes = 40, grp2no = 45, study = \"Study 1\")\ne2 \u003c- esc_2x2(grp1yes = 30, grp1no = 50, grp2yes = 40, grp2no = 45, es.type = \"or\", study = \"Study 2\")\ne3 \u003c- esc_t(p = 0.03, grp1n = 100, grp2n = 150, study = \"Study 3\")\ne4 \u003c- esc_mean_sd(grp1m = 7, grp1sd = 2, grp1n = 50, grp2m = 9, grp2sd = 3, grp2n = 60, es.type = \"logit\", \n    study = \"Study 4\")\n\ncombine_esc(e1, e2, e3, e4)\n#\u003e     study      es weight sample.size     se     var    ci.lo   ci.hi measure\n#\u003e 1 Study 1 -0.3930  9.945         165 0.3171 0.10056 -1.01456  0.2285   logit\n#\u003e 2 Study 2  0.6750  9.945         165 0.3171 0.10056  0.36256  1.2567      or\n#\u003e 3 Study 3  0.2818 59.434         250 0.1297 0.01683  0.02755  0.5360       d\n#\u003e 4 Study 4 -1.3982  7.721         110 0.3599 0.12951 -2.10354 -0.6928   logit\n```\n\n**esc** is still under development, i.e. not all effect size computation\noptions are implemented yet. The remaining options will follow in\nfurther updates.\n\n## Installation\n\n### Latest development build\n\nTo install the latest development snapshot (see latest changes below),\ntype following commands into the R console:\n\n``` r\nlibrary(githubinstall)\ngithubinstall::githubinstall(\"esc\")\n```\n\n### Official, stable release\n\n[![CRAN\\_Status\\_Badge](http://www.r-pkg.org/badges/version/esc)](https://cran.r-project.org/package=esc)\n  \n[![downloads](http://cranlogs.r-pkg.org/badges/esc)](http://cranlogs.r-pkg.org/)\n  \n[![total](http://cranlogs.r-pkg.org/badges/grand-total/esc)](http://cranlogs.r-pkg.org/)\n\nTo install the latest stable release from CRAN, type following command\ninto the R console:\n\n``` r\ninstall.packages(\"esc\")\n```\n\n## Citation\n\nIn case you want / have to cite my package, please use `citation('esc')`\nfor citation information.\n\n[![DOI](https://zenodo.org/badge/62336116.svg)](https://zenodo.org/badge/latestdoi/62336116)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrengejacke%2Fesc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrengejacke%2Fesc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrengejacke%2Fesc/lists"}