estimate_H_fraction_r_rows: Estimates |H_0|/|H_r*|
Description
This is the total number of contingency tables (of the same margins as M) divided
by the number that match M until the r-th row (included, 0-indexed). Note that
if r==0, this is always 1 by definition.
Usage
estimate_H_fraction_r_rows(M, r, error = 0.1)
Arguments
- M
contingency table
- r
row index
- error
error for the convergence of the method