Appendix B: Sashelp Data Sets

2003 Birth Weight Data Set

The Sashelp.BirthWgt data set contains 100,000 random observations about infant mortality in 2003 from the US National Center for Health Statistics. Each observation records infant death within one year of birth, birth weight, maternal smoking and drinking behavior, and other background characteristics of the mother. The following steps display information about the Sashelp.BirthWgt data set and create FigureĀ 45:

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

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

Figure 45: 2003 Birth Weight Data

2003 Birth Weight Data

Variables in Creation Order
# Variable Type Len
1 LowBirthWgt Char 3
2 Married Char 3
3 AgeGroup Num 8
4 Race Char 9
5 Drinking Char 3
6 Death Char 3
7 Smoking Char 3
8 SomeCollege Char 3

The First Five Observations Out of 100,000

Obs LowBirthWgt Married AgeGroup Race Drinking Death Smoking SomeCollege
1 No No 3 Asian No No No Yes
2 No No 2 White No No No No
3 Yes Yes 2 Native No Yes No No
4 No No 2 White No No No No
5 No No 2 White No No No Yes


Last updated: December 09, 2022