Sashelp Data Sets


Birth Weight Data

The Sashelp.BWeight data set provides 1997 birth weight data from National Center for Health Statistics (Koenker and Hallock, 2001; Abreveya, 2001). The data record live, singleton births to mothers between the ages of 18 and 45 in the United States who were classified as black or white. The following steps display information about the Sashelp.BWeight data set and create Figure B.4:

title 'Birth Weight Data';
proc contents data=sashelp.BWeight varnum;
   ods select position;
run;

title 'The First Five Observations Out of 50,000';
proc print data=sashelp.BWeight(obs=5);
run;

Figure B.4: Birth Weight Data

Birth Weight Data

Variables in Creation Order
# Variable Type Len Label
1 Weight Num 8 Infant Birth Weight
2 Black Num 8 Black Mother
3 Married Num 8 Married Mother
4 Boy Num 8 Baby Boy
5 MomAge Num 8 Mother's Age
6 MomSmoke Num 8 Smoking Mother
7 CigsPerDay Num 8 Cigarettes Per Day
8 MomWtGain Num 8 Mother's Pregnancy Weight Gain
9 Visit Num 8 Prenatal Visit
10 MomEdLevel Num 8 Mother's Education Level

The First Five Observations Out of 50,000

Obs Weight Black Married Boy MomAge MomSmoke CigsPerDay MomWtGain Visit MomEdLevel
1 4111 0 1 1 -3 0 0 -16 1 0
2 3997 0 1 0 1 0 0 2 3 2
3 3572 0 1 1 0 0 0 -3 3 0
4 1956 0 1 1 -1 0 0 -5 3 2
5 3515 0 1 1 -6 0 0 -20 3 0