/* Data collected on a simple random sample of 32 births. Source: Table 9.6.1 in Daniel's text "Biostatistics" variables ------------------------------------ ID_No 1 to 32 B_Weight Birthweight (grams) G_Age Gestational Age (weeks) Smoke Smoking Status of Mother 0 = Nonsmoker 1 = Smoker */ OPTIONS LS=75 PS=40; DATA sasuser.bwdata; INPUT ID_No B_Weight G_Age Smoke; LINES; 1 2940 38 1 2 3130 38 0 3 2420 36 1 4 2450 34 0 5 2760 39 1 6 2440 35 1 7 3226 40 0 8 3301 42 1 9 2729 37 0 10 3410 40 0 11 2715 36 1 12 3095 39 0 13 3130 39 1 14 3244 39 0 15 2520 35 0 16 2928 39 1 17 3523 41 0 18 3446 42 1 19 2920 38 0 20 2957 39 1 21 3530 42 0 22 2580 38 1 23 3040 37 0 24 3500 42 1 25 3200 41 1 26 3322 39 0 27 3459 40 0 28 3346 42 1 29 2619 35 0 30 3175 41 1 31 2740 38 1 32 2841 36 0 ; PROC REG; MODEL B_Weight = G_Age Smoke; RUN;