Sashelp Data Sets


Body Mass Index for Men

The Sashelp.BMIMen data set was collected from the 1999–2000 and 2001–2002 surveys of men that are published by the National Center for Health Statistics. This data set contains the variables BMI and Age. Body mass index (BMI) is defined as the ratio of weight in kilograms to the square of height in meters. BMI is widely used to categorize individuals as overweight or underweight. The following steps display information about the data set Sashelp.BMIMen and create Figure B.3:

title 'BMIMen Data';
proc contents data=sashelp.bmimen varnum;
   ods select position;
run;

title 'The First Five Observations Out of 3,264';
proc print data=sashelp.bmimen(obs=5);
run;

Figure B.3: Body Mass Index for Men

BMIMen Data

Variables in Creation Order
# Variable Type Len
1 Age Num 8
2 BMI Num 8

The First Five Observations Out of 3,264

Obs Age BMI
1 2.0 18.6
2 2.0 17.1
3 2.0 19.0
4 2.0 16.8
5 2.1 19.0