Number of observed individuals with Y=0, X=0, Z=0.
obs_y1x0z0
Number of observed individuals with Y=1, X=0, Z=0.
obs_y0x0z1
Number of observed individuals with Y=0, X=0, Z=1.
obs_y1x0z1
Number of observed individuals with Y=1, X=0, Z=1.
obs_y0x1z1
Number of observed individuals with Y=0, X=1, Z=1.
obs_y1x1z1
Number of observed individuals with Y=1, X=1, Z=1.
useGLR
Whether or not to use the generalized likelihood ratio
(GLR) test statistic.
justexactp
Just find the total probability of the critical
region for each population, or the total probabilty of the
sampling distribution (which should be 1).
maxonly
Whether to return only the maximum
population-specific p-value, or all the population-specific
p-values.
Value
Exact population-specific p-value(s)
for a given observed dataset.
References
Loh, W. W., & Richardson, T. S. (2015).
A Finite Population Likelihood Ratio Test of the
Sharp Null Hypothesis for Compliers.
In Thirty-First Conference on
Uncertainty in Artificial Intelligence.
[paper]