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 |