mvogel78 / childsds

Calculation of standard deviation scores adduced from different growth standards (WHO, US, UK, Germany, Italy, China, etc). Therefore, the calculation of SDS-values for different measures like BMI, weight, height, head circumference, different ratios, etc. are easy to carry out. Also, references for laboratory values in children are available: serum lipids, iron-related blood parameters.
https://github.com/mvogel78/childsds/wiki/List-of-Reference-Tables-by-Item
15 stars 0 forks source link

Adding reference tables to the package #1

Open hangphan opened 6 years ago

hangphan commented 6 years ago

Hi, Thank you for making such a wonderful package. I wonder if it is possible to add my own reference tables into the package so that I can draw a growth chart that fit my smaller population? I currently have a set of tables containing age, sex, mean, standard deviation, percentile values a 5,25,50,75,90.

Thanks a lot

Hang

raheems commented 6 years ago

I would like to ask the same question-- how to add a reference table. Thanks.

mvogel78 commented 6 years ago

I could do that if the distribution is approximately normal (in fact - I would be glad, I am always in search of additional parameters...).

Then your parameter would be sufficient. Otherwise, we would need at least the skewness in addition. It should estimated using one of the distribution in the gamlss, resp the gamlss.dist package. The best approach would be the estimation using the gamlss() or the lms() function. Than the parameters could integrated directly.

To add a reference table, the parameter tables for male and female and the fitting distribution must be provided as RefTab object (a class defined inside the package). I have to write a function to provide a convenient way to create such objects. I will try to do it as soon as possible.