Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slope Index of Inequality (SII) + calc_reliability #108

Open
HadleyBN opened this issue Jun 3, 2024 · 0 comments
Open

Slope Index of Inequality (SII) + calc_reliability #108

HadleyBN opened this issue Jun 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@HadleyBN
Copy link
Collaborator

HadleyBN commented Jun 3, 2024

Add in a new function for the slope index of inequality. Use the PHEIndicatorsMethods R package as a guide on how to write the function. Due to the complexity of this calculation, it will not be possible to directly translate what has been done in R into Python, so it will be quite challenging and time consuming to construct.

The calc_reliability() function in R is used as a wrapper function for additional functionality within the slope index of inequality function. I would suggest only writing this function AFTER writing the generic SII function so it is clearer where it might fit in and what the data might look like at that point within the pipeline/function.

Tests can be created inline with the tests in the PHEIndicatorsMethods R package.

The findxvalues() function is used in the SII function as part of the calculation.

@HadleyBN HadleyBN added the enhancement New feature or request label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant