Description Usage Arguments Value References Examples
Find the exact population-specific p-values under the sharp null for Compliers, for each compatible population with only Compliers and Never Takers.
1 2 | Get_pvalues_CONT(obs_y0x0z0, obs_y1x0z0, obs_y0x0z1, obs_y1x0z1, obs_y0x1z1,
obs_y1x1z1, useGLR = FALSE, justexactp = TRUE, maxonly = TRUE)
|
obs_y0x0z0 |
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. |
Exact population-specific p-value(s) for a given observed dataset.
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]
1 2 3 4 | Get_pvalues_CONT(16, 1, 5, 1, 2, 8)
Get_pvalues_CONT(16, 1, 5, 1, 2, 8, TRUE, FALSE)
Get_pvalues_CONT(16, 1, 5, 1, 2, 8, TRUE, FALSE, FALSE)
Get_pvalues_CONT(158, 14, 52, 12, 23, 78)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.