Closed chrisbooden closed 1 year ago
Wow, I'm surprised that this defect exists. This is a super helpful bug report and unit test. Thank you for identifying @chrisbooden. We'll prioritize for next release.
Released in v0.8.18
Top man. Just re-tested this in the new release and can confirm it's resolved.
Describe the bug When using standard errors it's common to exclude historical years or link ratios that are extreme outliers. When prepping the development estimator by excluding ratios it seems to correctly exclude the link ratio from the sigma calculation but still keeps it in the count for the 1/(n-1) factor.
In our company data we often exclude large amounts of historic years as are not reflective of current business, the resulting sigma values are then coming out too low as a result of this bug.
To Reproduce
Expected behavior
Or as a unit test:
Desktop (please complete the following information):