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

midparental height discrepancy #43

Closed
eatyourpeas opened this issue Oct 31, 2024 · 2 comments · Fixed by #44
Closed

midparental height discrepancy #43

eatyourpeas opened this issue Oct 31, 2024 · 2 comments · Fixed by #44
Assignees
Labels
bug Something isn't working

Comments

@eatyourpeas
Copy link
Member

For the following parental heights:
father: 167cm, mother 151cm, midparental centile should be between 9-25th centiles but is plotting lower

image vs image
@eatyourpeas eatyourpeas added the bug Something isn't working label Oct 31, 2024
@eatyourpeas eatyourpeas pinned this issue Nov 1, 2024
@eatyourpeas eatyourpeas transferred this issue from rcpch/digital-growth-charts-react-component-library Nov 1, 2024
@eatyourpeas eatyourpeas self-assigned this Nov 1, 2024
@eatyourpeas
Copy link
Member Author

Update from prof. wright:
The lookup (the nonagram on the paper charts) is based on the regression of both parental z scores on child’s height so to replicate this you have to convert each parents’ height to z scores, take the mean and multiply it by the regression coefficient which is 0.5 (or near as dammit) to give parental height prediction
So in summary, simplified, to (MatHtz +PatHtz)/4
Then subtract this from the child’s Z score if you want a measure in Z score units of how discrepant the child is.

@eatyourpeas
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant