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

Adding reference tables to the package #1

Open
hangphan opened this issue Jan 26, 2018 · 2 comments
Open

Adding reference tables to the package #1

hangphan opened this issue Jan 26, 2018 · 2 comments

Comments

@hangphan
Copy link

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
Copy link

raheems commented May 2, 2018

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

@mvogel78
Copy link
Owner

mvogel78 commented May 3, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants