GithubHelp home page GithubHelp logo

Comments (2)

rempsyc avatar rempsyc commented on June 12, 2024

Hi Christophe! Thanks so much for opening an issue!

We will most likely one day get to this issue but given that we have a rather large back-log, it may take some time to get to it. So to answer your other email questions, eventually hopefully more methods will be supported, but having this specific issue opened will help us prioritize the Fisher exact test specifically.

And yes, we do accept new contributors for new methods. In fact, we also invite you and anyone to contribute to easystats and report. Doing so will significantly speed up the adopting of the desired changes. Please see the contributor guidelines here:

https://easystats.github.io/report/CONTRIBUTING

The general workflow is the following:

  1. Create a fork of this repository
  2. Create a new branch specific to the change you want to make (e.g., branch_fischer)
  3. Make the changes locally on that branch on your PC
  4. When satisfied, push the changes to GitHub (to your branch/fork)
  5. Then you will have a pop-up asking if you want to submit a Pull Request (PR), say yes.
  6. In the PR, explain your changes.
  7. Then, we will assign reviewers to check your changes, and if it satisfies the requirement, we will accept it.
  8. Normally, you will then become a contributor.

Team, have I forgotten anything?

Let me know if you have any question. Thanks!

from report.

rempsyc avatar rempsyc commented on June 12, 2024

Regarding this specific issue, here's a reprex for future reference:

# load packages
library(easystats)

# Create data and fischer test object
TeaTasting <-
  matrix(c(3, 1, 1, 3),
         nrow = 2,
         dimnames = list(Guess = c("Milk", "Tea"),
                         Truth = c("Milk", "Tea")))
x <- fisher.test(TeaTasting, alternative = "greater")

# report doesn't work
report(x)
#> Error: This test is not yet supported. Please open an issue at
#>   https://github.com/easystats/report/issues.

# parameters work
parameters(x)
#> Fisher's Exact Test for Count Data
#> 
#> Odds Ratio |      95% CI |     p
#> --------------------------------
#> 6.41       | [0.31, Inf] | 0.243
#> 
#> Alternative hypothesis: true odds ratio is greater than 1

# effectsize works
interpret_cramers_v(effectsize(x))
#> Cramer's V (adj.) |       95% CI | Interpretation
#> -------------------------------------------------
#> 0.35              | [0.00, 1.00] |          large
#> 
#> - One-sided CIs: upper bound fixed at [1.00].
#> - Interpretation rule: funder2019

Created on 2023-03-23 with reprex v2.0.2

As you can see, although you can't use report on a Fischer exact test object, you can for the moment extract the parameters and effect size.

from report.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.