Body mass index (BMI) is one measure of body size commonly used in research.
It is calculated as or ∙ 703. From reported
weight and height in the class survey dataset, calculate each respondent’s BMI (note: BMI should be recorded as missing (.) if either height or weight is missing, and respondents with missing BMI should be excluded from this analysis). [You may wish to calculate this in Excel and then import again.]
a. WhatproportionofrespondentshadBMI<25?
b. What proportion had BMI of at least 25 but less than 30?
c. What proportion had BMI of 30 or greater?
I have already calculated the BMI through excel but i can't wrap my head around which code i need to come up with the answers.
Thank you in advance
Define the BMI categories as a format and use proc freq to calculate the proportions.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.