Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Converting BMI z score to BMI percentile
From
"Loprinzi, Paul" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Converting BMI z score to BMI percentile
Date
Fri, 22 Nov 2013 19:44:13 +0000
Dear Statalist:
For a youth population, I am calculating z scores for body mass index (BMI), so I used the following command in Stata:
egen zscore = zanthro(bmxbmi,ba,US), xvar(ridageyr)gender(riagendr) gencode(male=1, female=2)
Next thing I need to do is calculate each participant's age- and gender-specific BMI percentile. After getting their z score, I know I can easily get their percentile by just looking up the corresponding percentile in a z table; however, I have about 3000 participants in my data set so I can't look up each percentile. Any chance you know of a Stata command that I can use that will calculate their percentile based on their z score?
Many thanks,
Paul Loprinzi
_________________________________________________
Paul D. Loprinzi, Ph.D., Assistant Professor
Department of Exercise Science
Donna & Allan Lansing School of Nursing & Health Sciences
2001 Newburg Road
Bellarmine University
Louisville, KY 40205
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/