Comments (8)
Where do you see discrepancies?
esc::esc_2x2(
grp1yes = 205,
grp1no = 98,
grp2yes = 512,
grp2no = 178,
es.type = "or"
)
#>
#> Effect Size Calculation for Meta Analysis
#>
#> Conversion: 2x2 table (OR) coefficient to effect size odds ratio
#> Effect Size: 0.7272
#> Standard Error: 0.1505
#> Variance: 0.0227
#> Lower CI: 0.5415
#> Upper CI: 0.9768
#> Weight: 44.1438
Created on 2022-02-24 by the reprex package (v2.0.1)
from esc.
And for logits:
esc::esc_2x2(
grp1yes = 205,
grp1no = 98,
grp2yes = 512,
grp2no = 178
)
#>
#> Effect Size Calculation for Meta Analysis
#>
#> Conversion: 2x2 table (OR) to effect size logits
#> Effect Size: -0.3185
#> Standard Error: 0.1505
#> Variance: 0.0227
#> Lower CI: -0.6135
#> Upper CI: -0.0235
#> Weight: 44.1438
Created on 2022-02-24 by the reprex package (v2.0.1)
from esc.
The discrepancy was in the r calculation, not OR. Thanks!
from esc.
The calculator returns RR, not r.
from esc.
Ok, the esc package documentation says differently, but it is helpful to know that. Thank you.
Diana
from esc.
Ok, the esc package documentation says differently
Not sure what you mean here? The function returns the effect size that is given in the es.type
argument, which is by default logits
. The web-based 'Practical Meta-Analysis Effect Size Calculator' returns OR, which you can also return from esc_2x2()
, and the results are the same.
from esc.
I also encountered this problem. esc_2x2(23,29,10,3, es.type="r")gave r = -0.3019; but the website showed different results.
from esc.
Furthermore, esc_2x2(23,29,10,3, es.type="r")give different result from esc_2x2(23,10,29,3, es.type="r").
from esc.
Related Issues (15)
- esc not loading HOT 2
- Problems with conversion to effect size F
- Problems Installing HOT 5
- esc_rpb does not output r HOT 2
- Does order of treatment/control group matter for esc_mean_gain function? HOT 8
- Calculating effect size and SE from a single mean and SD HOT 2
- Standard deviation for the Fisher's z transformation of the correlation coefficient
- incorrect SD for converting unstandardized b to d
- Transforming effect size from a data frame HOT 1
- Calling && or || with either argument of length greater than one HOT 5
- Warn/fail if multiple parameters are passed to esc:::convert_to_d?
- Vectors don't work with esc_beta or esc_B when I convert beta to r
- why is there a value for effect size (g) but return NaN for variance?
- Is the formula used for esc package and comprehensive meta-analysis software different? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esc.