statist7 / LMSgrowth2

MIT License
2 stars 2 forks source link

Calculate Z-scores for multiple individuals #7

Open tamuri opened 5 years ago

tamuri commented 5 years ago
tamuri commented 5 years ago

Input form for "measurement to/from sds" from LMSgrowth add-in:

02_measurement_to_from_sds

dpshelio commented 5 years ago

How can we handle multiple sheet in the same workbook?

statist7 commented 5 years ago

The first two look very similar in practice. I’d prefer not the third. The user will need to provide rectangular data.

tamuri commented 4 years ago

Copying Tim's comments on #25 here:

I've finally got round to finding a suitable file to test the multiple tab. It uses the ukwhopt reference. sample z scores3 csv.txt

Separately we need an option to adjust age for gestational age in preterm babies. The calculation is:

adjusted age = postnatal age + gestational age - 40 weeks

Preterm is gestational age < 37 weeks, while term is 37 to <42 weeks, with 40 weeks the expected term gestational age.

The adjustment is applied up to 2 years postnatal age but not beyond. As an example, a baby born at 27 weeks and measured at 52 postnatal weeks has an adjusted (or post-term) age of 39 weeks.

tamuri commented 4 years ago

Example plots from SMART Growth Chart app:

wm9f9tzucmojow68evrs

tamuri commented 4 years ago

From meeting on 17/1:

tamuri commented 4 years ago

From Tim (https://github.com/UCL/LMSgrowth2/pull/43#issuecomment-602607350):

The IOTF reference is for BMI, but it doesn't work with the sample dataset as there is no BMI column. There needs to be a way to say, calculate BMI from weight and height. And ideally it would use a user-specified formula that could be extended to other constructed measures such as sitting height divided by leg length.