Opened 9 years ago

Closed 9 years ago

#807 closed enhancement (fixed)

Yates' correction in Fisher

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.13
Component: statistics Version:
Keywords: Cc:

Description (last modified by Peter)

Fisher's only provide the exact calculation and chi2. Often chi2 with Yates' correction is preferable over pure chi2, so I suggest Fisher should provide that.

Simplest would to allow user to set this in a new constructor Fisher(bool).

The pure chi2 is sum (O-E)2/E and Yates' correction is sum (O-E-0.5)2/E which simply means we are integrating from the inner side of the bucket rather than from the middle point of the bucket.

Change History (3)

comment:1 Changed 9 years ago by Peter

Description: modified (diff)

comment:2 Changed 9 years ago by Peter

Status: newassigned

comment:3 Changed 9 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [3298]) Yates' correction in Fisher's exact test. fixes #807.

Note: See TracTickets for help on using tickets.