Pairwise two-group tests of equal proportions, with adjusted p-values. Equivalent to R's pairwise.prop.test().
pairwise.prop.test()
Numbers of successes per group.
Numbers of trials per group. Groups with NaN in x or n are dropped (the rows and columns are then numbered over the groups kept, as in R).
NaN
x
n
pairwisePropTest([15, 25, 40], [50, 50, 50]).pValue; // [[0.06619257972219345, NaN], [0.000004217380554293543, 0.006666708050273146]] Copy
pairwisePropTest([15, 25, 40], [50, 50, 50]).pValue; // [[0.06619257972219345, NaN], [0.000004217380554293543, 0.006666708050273146]]
Pairwise two-group tests of equal proportions, with adjusted p-values. Equivalent to R's
pairwise.prop.test().