Helper function to compute the upper bound in bounds method. It is usually called by vapply function

1 | ```
getub(s, F.change.treated, F.treated.tmin1, y)
``` |

`s` |
A particular value of distribution for which to calculate the bound |

`F.change.treated` |
ecdf object of distribution of change in outcomes for the treated group |

`F.treated.tmin1` |
ecdf object of distribution of outcomes in period t-1 for the treated group |

`y` |
a vector of values that observations could take in the previous period ? |

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.