FILENAME data6620 URL "http://www.stat.wmich.edu/naranjo/stat6620/nhanes.txt"; OPTIONS LS=75 PS=55 NODATE PAGENO=1; TITLE 'NHANES Data'; DATA nhanes; INFILE data6620; INPUT gender $ age race $ 19-37 education $ 38-54 fam_inc poverty weight height bmi sys_bp dias_bp cholest glucose; RUN; PROC REG; MODEL glucose = dias_bp; RUN; PROC CORR; VAR glucose dias_bp; RUN; PROC PRINT DATA=nhanes (obs=40); VAR age education weight height cholest glucose sys_bp dias_bp; RUN; QUIT; --------------------------------------------------------------------------- NHANES Data 1 The REG Procedure Model: MODEL1 Dependent Variable: glucose Number of Observations Read 200 Number of Observations Used 180 Number of Observations with Missing Values 20 Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr > F Model 1 3228.41802 3228.41802 4.05 0.0458 Error 178 142002 797.76579 Corrected Total 179 145231 Root MSE 28.24475 R-Square 0.0222 Dependent Mean 94.03889 Adj R-Sq 0.0167 Coeff Var 30.03518 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept 1 73.77809 10.28929 7.17 <.0001 dias_bp 1 0.29849 0.14838 2.01 0.0458 --------------------------------------------------------------------------- NHANES Data 2 The CORR Procedure Pearson Correlation Coefficients Prob > |r| under H0: Rho=0 Number of Observations glucose dias_bp glucose 1.00000 0.14910 0.0458 186 180 dias_bp 0.14910 1.00000 0.0458 180 190 --------------------------------------------------------------------------- NHANES Data 3 Obs age education weight height cholest glucose sys_bp dias_bp 1 65 Less than HS 90.2 171.0 201 97 126 88 2 24 More than HS 75.3 171.0 228 70 104 67 3 34 Less than HS 55.5 151.0 214 95 116 54 4 18 HS incl GED 49.7 156.2 171 107 95 31 5 66 Less than HS 60.1 150.3 213 94 120 67 6 28 More than HS 66.8 173.7 173 97 100 70 7 32 Less than HS 114.0 185.2 243 97 120 76 8 17 Less than HS 60.9 162.1 141 90 119 51 9 78 Less than HS . . 146 116 220 68 10 19 Less than HS 126.6 163.7 200 123 110 77 11 41 More than HS 70.8 165.2 113 78 110 68 12 40 More than HS 80.3 162.8 190 99 126 80 13 74 More than HS 74.3 166.4 234 83 124 72 14 57 More than HS 84.4 158.1 167 102 . . 15 14 Less than HS 56.5 160.1 . . 99 49 16 27 More than HS 77.4 180.1 219 87 113 62 17 46 HS incl GED 90.8 173.3 136 97 117 71 18 37 HS incl GED 152.1 168.9 231 112 119 68 19 51 HS incl GED 76.0 173.9 231 98 110 68 20 78 Less than HS . . 228 114 200 86 21 47 More than HS 99.0 174.4 156 84 118 68 22 72 HS incl GED 67.5 150.2 162 87 140 70 23 46 HS incl GED 90.1 178.9 271 88 122 85 24 82 HS incl GED 94.0 168.5 264 92 131 54 25 22 More than HS 70.6 174.4 171 86 119 58 26 19 Less than HS 64.9 166.5 123 98 . . 27 83 Less than HS 53.5 149.0 151 94 128 67 28 15 Less than HS 43.8 172.4 134 83 110 56 29 13 Less than HS 57.4 169.5 155 81 104 53 30 18 HS incl GED 52.1 157.5 148 90 106 52 31 42 More than HS 89.0 172.9 185 85 128 83 32 30 More than HS 100.0 179.5 191 87 135 71 33 22 Less than HS 92.8 155.0 212 70 98 56 34 75 Less than HS 76.2 155.7 177 112 113 48 35 19 Less than HS 55.7 165.3 145 91 106 54 36 14 Less than HS 53.1 164.2 150 98 122 60 37 33 More than HS 59.7 165.1 222 86 105 77 38 27 HS incl GED 78.5 173.6 198 107 100 52 39 14 Less than HS 42.1 152.0 233 89 97 57 40 45 Less than HS 54.8 168.3 185 93 153 107