Learn R Programming

mutoss (version 0.1-3)

fisher22_fast: Fisher (2x2) table association analysis for calculating one (marginal) p-value...

Description

Fisher (2x2) table association analysis for calculating one (marginal) p-value

Usage

fisher22_fast(obs, epsilon)

Arguments

obs
The observed (2x2) table
epsilon
A threshold for comparing real numbers to zero

Value

  • A list containing:
  • nonrand_pThe non-randomized (conservative) p-value
  • rand_pThe randomized (non-conservative) p-value
  • prob_tableThe conditional probability of the observed table (given the merginals)