Skip to content

[Bug]: two-tailed Fisher's exact test #3021

@Diesfeldt

Description

@Diesfeldt

JASP Version

0.18.1

Commit ID

No response

JASP Module

Frequencies

What analysis are you seeing the problem on?

Contingency Tables

What OS are you seeing the problem on?

Windows 11

Bug Description

I try to reproduce in JASP the results of a two-tailed Fisher’s exact test, as discussed on page 134 in Pandit JJ, Picton P, Mashour G. Penehcyclidine and awareness during anaesthesia: caution with zero numerators. Anaesthesia 2013; 68: 121–35. JASP gives the same p-value for a one-tailed and a two-tailed test. However, the 95%-CI of the log odds ratio does not contain zero in the one-tailed test, but contains zero in the two-tailed test. What is going on?
Pandit2013.zip

Expected Behaviour

JASP should give different p-value for a one-tailed and a two-tailed test.

Steps to Reproduce

...
JASP should give different p-value for a one-tailed and a two-tailed test.

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions