Unit test for BMD boundary cases
Opened this issue · 0 comments
sedavid01 commented
We want to ensure that BMD censoring is consistent across builds and is working as intended.
Goal: Generate a unit test to ensure that the BMD censoring function is working correctly. Cases to cover are below:
- Estimated BMD is less than the lower 'threshold dose'.
- Estimated BMD is greater than the upper 'threshold dose'
- Estimated BMD is above the lower 'threshold dose' and below the 'reference dose' (lowest expt dose).
- Estimated BMD is above the lower 'reference dose' (lowest expt. dose).
- Estimated BMD is below the upper 'threshold dose' and above the 'reference dose' (highest expt dose).
- Estimated BMD is below the upper 'reference dose' (highest expt dose).