I'd like to calculate 95th percentile of each BMI observation of the data (attached).
Attached is the correct data (first 100 observations of real data) where bmi95 is 95th pctl for each BMI values. Do you know how I can reproduce it in SAS? My actual data has only BMI.
The CDC code is not much use without the WHO data and descriptions. Since the CDC code has parameters built in for its distribution I don't see any way to "replicate" the code without the parameters from WHO. Since CDC has not, at least as far as I have found, released the modeling used to build their parameter data set and the data used to build that model ...
Have you looked at http://www.who.int/childgrowth/standards/bmi_for_age/en/ ? and all the related pages. There are some data tables with percentiles and such by age but I haven't the time to find all the details. Also there are some software downloads there that may be applicable. I doubt that you will get a direct comparable program to the CDC SAS code. Also you need to pick your ages of interest.
Attached is publicly available SAS code to showcase how bmi95 is calculated for BMI based on CDC growth chart. I'm trying to do the same thing for BMI based on WHO data growth chart.
Can’t open SAS files at the moment. If I remember later, I’ll try and check back in.
The CDC code is not much use without the WHO data and descriptions. Since the CDC code has parameters built in for its distribution I don't see any way to "replicate" the code without the parameters from WHO. Since CDC has not, at least as far as I have found, released the modeling used to build their parameter data set and the data used to build that model ...
Have you looked at http://www.who.int/childgrowth/standards/bmi_for_age/en/ ? and all the related pages. There are some data tables with percentiles and such by age but I haven't the time to find all the details. Also there are some software downloads there that may be applicable. I doubt that you will get a direct comparable program to the CDC SAS code. Also you need to pick your ages of interest.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.