[Feature]: Add 2-parm catchability option with offset and slope
Describe the solution you would like.
This will be a step in implementation of #5
When an environmental index is used to compare to a dev vector, including recruitment devs, there is a need for an offset parameter as well as the existing slope parameter. This is a priority.
Describe alternatives you have considered
force users to remember to zero-center their env data
Statistical validity, if applicable
bias will be created if a non-zero centered env index is used
Describe if this is needed for a management application
bias will be created if a non-zero centered env index is used
Additional context
No response
Good to see this moving forward.
I wanted to note that I think the alternative of zero-centering the env data isn't necessarily a comparable solution anyway because the period of devs that are being informed by the index might not be zero-centered themselves. That is, you might have an index of recruitment deviations which you believe provides information on the relative strength of individual cohorts. If it's applied to a recent period where the other data sources suggest that recruitment was below average, a zero-centered index will pull them up if there's not an offset parameter available to make the scale of observed and expected line up. In some cases, we may want that pulling effect, in which case the offset could be fixed at 0.
test case here test_env_offset.zip