easystats / effectsize

:dragon: Compute and work with indices of effect size and standardized parameters
https://easystats.github.io/effectsize/
Other
338 stars 24 forks source link

Add interpretation for fei effect size #609

Closed rempsyc closed 1 year ago

rempsyc commented 1 year ago

Closes #608


library(effectsize)
packageVersion("effectsize")
#> [1] '0.8.6.1'

htest <- chisq.test(table(mtcars$cyl), p = c(0.1, 0.3, 0.6))

x <- effectsize(htest)

effectsize::interpret(x, rules = "funder2019")$Interpretation
#> [1] "medium"
#> (Rules: funder2019)

effectsize::interpret(x, rules = "funder2019")
#> Fei  |       95% CI | Interpretation
#> ------------------------------------
#> 0.27 | [0.17, 1.00] |         medium
#> 
#> - Adjusted for uniform expected probabilities.
#> - One-sided CIs: upper bound fixed at [1.00].
#> - Interpretation rule: funder2019

Created on 2023-09-24 with reprex v2.0.2

codecov[bot] commented 1 year ago

Codecov Report

Merging #609 (c5366a5) into main (14e388d) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head c5366a5 differs from pull request most recent head 6631551. Consider uploading reports for the commit 6631551 to get more accurate results

@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   90.55%   90.55%           
=======================================
  Files          56       56           
  Lines        3419     3419           
=======================================
  Hits         3096     3096           
  Misses        323      323           
Files Coverage Δ
R/interpret.R 91.01% <100.00%> (ø)
R/interpret_r.R 100.00% <ø> (ø)