PermTestResult

class PermTestResult(stat_obs, stat_iter, p_value)[source]

Result of a Fisher randomization test.

Parameters:
  • stat_obs (float)

  • stat_iter (ndarray)

  • p_value (float)

stat_obs

Test statistic under the observed assignment.

Type:

float

stat_iter

Test statistic under each assignment in the reference set.

Type:

numpy.ndarray

p_value

Exact tail probability or adjusted Monte Carlo p-value.

Type:

float