Description Usage Arguments Value
This function estimates the p-value for the treatment effect under partial identification. p-values corresponding to forward and backward confidence intervals can be returned.
1 | boundPvalue(bounds, bounds.resamples, n, m, type)
|
bounds |
vector, bounds of the treatment effects under partial identification. |
bounds.resamples |
matrix, stacked bounds of the treatment effects under partial identification. Each row corresponds to a subset resampled from the original data set. |
n |
integer, size of original data set. |
m |
integer, size of resampled data sets. |
type |
character. Set to 'forward' to construct the forward confidence interval for the treatment effect bounds. Set to 'backward' to construct the backward confidence interval for the treatment effect bounds. Set to 'both' to construct both types of confidence intervals. |
If type
is 'forward' or 'backward', a scalar p-value
corresponding to the type of confidence interval is
returned. If type
is 'both', a vector of p-values
corresponding to the forward and backward confidence intervals
is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.