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.6:

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.6: Birth Weight Data

Birth Weight Data

Variables in Creation Order
#VariableTypeLenLabel
1WeightNum8Infant Birth Weight
2BlackNum8Black Mother
3MarriedNum8Married Mother
4BoyNum8Baby Boy
5MomAgeNum8Mother's Age
6MomSmokeNum8Smoking Mother
7CigsPerDayNum8Cigarettes Per Day
8MomWtGainNum8Mother's Pregnancy Weight Gain
9VisitNum8Prenatal Visit
10MomEdLevelNum8Mother's Education Level

The First Five Observations Out of 50,000

ObsWeightBlackMarriedBoyMomAgeMomSmokeCigsPerDayMomWtGainVisitMomEdLevel
14111011-300-1610
23997010100232
33572011000-330
41956011-100-532
53515011-600-2030