-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14c7d15
commit 0d5a4f1
Showing
6 changed files
with
25 additions
and
207 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `tradeoff_table.ipynb`: This notebook is used to compute maximum expected shortage (MES) vs miscoverage rate (alpha) and number of samples (n). Precomputed values have been stored in `MES_table.csv` which is visualized in a plot from the last cell of the notebook. | ||
|
||
- `conf_set_validation.ipynb`: This notebook is used to visualize the mixed-monotonic forms of expected shortage and expected width. Also visualized is how these functions vary with $p$ and their maxima. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
The tests are written in the form of interactive notebooks. | ||
|
||
- `binom_helper_validation.ipynb`: This notebook is to validate the binomial helper functions from `binomial_cis/binomial_helper.py`. Accuracy and speed of our implementation is tested against the SciPy implementation. | ||
- `conf_set_validation.ipynb`: This notebook is to validate the probabilistic guarantees of the confidence intervals using Monte Carlo simulation. | ||
- `2_side_validation.ipynb`: This notebook is to validate the implementation of the 2-sided confidence interval against the data tabulated in the appendix of [Table of Neyman-shortest unbiased confidence intervals for the binomial parameter](https://www.jstor.org/stable/2333308) by Blyth and Hutchinson. This is a work in progress. | ||
- `2_side_validation.ipynb`: This notebook can be used to more easily inspect any differences between our 2-sided bounds and those from the Blyth paper. | ||
- `binom_ci_test.py`: This file can be used to test the correctness of the lower, upper, and 2-sided bounds. | ||
- `binom_helper_validation.ipynb`: This notebook can be used to validate the binomial helper functions from `binomial_cis/binomial_helper.py`. Accuracy and speed of our implementation is tested against the SciPy implementation. | ||
- `conf_set_validation.ipynb`: This notebook can be used to validate the probabilistic guarantees of the confidence intervals using Monte Carlo simulation. |