Bookmark and Share

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: RE: Converting BMI z score to BMI percentile


From   "Millimet, Daniel" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Converting BMI z score to BMI percentile
Date   Fri, 22 Nov 2013 20:07:32 +0000

gen p=normal(zscore)

****************************************************
Daniel L. Millimet
Research Fellow, IZA
Professor, Department of Economics
Box 0496
SMU
Dallas, TX 75275-0496
phone: 214.768.3269
fax: 214.768.1821
web: http://faculty.smu.edu/millimet
****************************************************


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Loprinzi, Paul
Sent: Friday, November 22, 2013 1:44 PM
To: [email protected]
Subject: st: Converting BMI z score to BMI percentile

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/

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index