This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust practical max calculation to prevent potentially negative valu…
…es. Add in a few more unit tests. (#9) * Bugfix with practical max curve -- in a very specific case where there are more treatment group responders than control group NON-responders, the practical max curve would be negative. Wrote code to preserve original shape of curve, but prevent this from happening. * Add in more complex unit tests with odd policy.
- Loading branch information
Showing
2 changed files
with
58 additions
and
24 deletions.
There are no files selected for viewing
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