Description Usage Arguments Value

This function constructs the forward and backward confidence intervals for the treatment effect under partial identification.

1 |

`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. |

`levels` |
vector, real numbers between 0 and 1. Values correspond to the level of the confidence intervals constructed via bootstrap. |

`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', then the
corresponding type of confidence interval for each level is
returned. The output is in the form of a matrix, with each row
corresponding to a level. If `type`

is 'both', then a list
is returned. One element of the list is the matrix of backward
confidence intervals, and the other element of the list is the
matrix of forward confidence intervals.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.