-
Notifications
You must be signed in to change notification settings - Fork 22
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
Weight for age zscore mismatch #1217
Comments
It looks like the calculation is slightly different for zscores beyond the -3 SD range (see attached document page 301). This might be the reason for the discrepancies. I am not sure how important the exact zscore really matters for those beyond the -3 range since there are no real decisions being made at this level from a primary health perspective. Either ways, it is good to correct the calculations and verify that it exactly matches the document for zscores beyond +-3SD |
@vinayvenu I didn't add 2 decimal points round-off to this story since looks like we have done it intentionally. The comment in our code says |
. |
@petmongrels The below data can be used to test for cases where zscore is greater than 3 For id 1233198, existing is 11.6, but looks like actual is 27.08 The weight values in the above entries are not realistic/seems wrong. But this should not be an issue to verify the correctness of zscores. |
it seems this tool uses decimal month age as well, which I haven't implemented - so the numbers are slightly off. but I think it is fine, as the numbers are quite close to adjusted zScores now. |
…ved it. dependency on specific version of health modules. make test doesnt work because there is a folder by that name.
@petmongrels how much off it is? The LMS values in WHO website itself is available only for whole months and not for decimal months. I think the same is used in anthro R package which is probably used in anthro WHO calculator exe. wondering we have missed somewhere else like rounding of months? Were the values off for less than -3 as well? |
@mahalakshme there is nothing in code that I can make out. |
Related ticket: https://avni.freshdesk.com/a/tickets/3216
Steps to reproduce:
you will find that the 'Weight for age z-score' is -8.5 for the first encounter visit.
Preliminary Analysis:
A different formula is used for calculation of zscore is less than -3 or greater than 3
For the formula check page no:300 in here: 924154693X_eng.pdf or check
compute_zscore_adjusted
method in the filez-score-helper.R
in the repository hereWhy this needs to be fixed:
Acceptance criteria:
Who anthro analysis.xlsx
sheet attached by the client in the ticket.The text was updated successfully, but these errors were encountered: