08e-MReg-SENIC

# 08e-MReg-SENIC - EXST7015 : Statistical Techniques II...

This preview shows pages 1–3. Sign up to view the full content.

EXST7015 : Statistical Techniques II Geaghan Multiple Regression Large example and Variable selection Page 1 08d-MReg-SENIC.doc 1 ***********************************************************************; 2 *** SENIC hospital study from Appendix C of: ***; 3 *** Neter, J., Kutner, M. H., Nachtsheim, C. J., and Wasserman, W., ***; 4 *** Applied Linear Statistical Models, 4th Edition, Richard D. ***; 5 *** Irwin, Inc., Burr Ridge, Illinois, 1996. ***; 6 ***********************************************************************; 7 OPTIONS PS=256 LS=121 NOCENTER NODATE NONUMBER; 8 9 DATA SENIC; Infile cards missover; 10 TITLE1 'SENIC database from NKNW 1996 (Appendix C)'; 11 INPUT IDNo LtofStay Age InfRisk CulRatio XRay NoBeds MedSch Region Census Nurses Services; 12 *** label IDNo = 'Identification number' 13 LtofStay = 'Length of stay (days)' 14 Age = 'Patient age (years)' 15 InfRisk = 'Average Infection risk (%)' 16 CulRatio = 'ratio cultures to patients w/o symptoms' 17 XRay = 'ratio xrays to patients w/o symptoms' 18 NoBeds = 'Average no. of beds in hosp.' 19 MedSch = 'Med School Affiliation' 20 Region = 'Region NE, NC, S, W' 21 Census = 'Average no. patients in hosp.' 22 Nurses = 'Av. no. nurses' 23 Services = '% of 35 potential service facilities'; 24 CARDS; NOTE: The data set WORK.SENIC has 113 observations and 12 variables. NOTE: DATA statement used: real time 0.30 seconds cpu time 0.12 seconds 24 ! Run; 138 ; 139 Proc print data=SENIC; RUN; NOTE: There were 113 observations read from the data set WORK.SENIC. NOTE: The PROCEDURE PRINT printed page 1. NOTE: PROCEDURE PRINT used: real time 0.26 seconds cpu time 0.09 seconds SENIC database from NKNW 1996 (Appendix C) Ltof Inf Cul No Med Obs IDNo Stay Age Risk Ratio XRay Beds Sch Region Census Nurses Services 1 1 7.13 55.7 4.1 9.0 39.6 279 2 4 207 241 60.0 2 2 8.82 58.2 1.6 3.8 51.7 80 2 2 51 52 40.0 3 3 8.34 56.9 2.7 8.1 74.0 107 2 3 82 54 20.0 4 4 8.95 53.7 5.6 18.9 122.8 147 2 4 53 148 40.0 5 5 11.20 56.5 5.7 34.5 88.9 180 2 1 134 151 40.0 6 6 9.76 50.9 5.1 21.9 97.0 150 2 2 147 106 40.0 7 7 9.68 57.8 4.6 16.7 79.0 186 2 3 151 129 40.0 8 8 11.18 45.7 5.4 60.5 85.8 640 1 2 399 360 60.0 9 9 8.67 48.2 4.3 24.4 90.8 182 2 3 130 118 40.0 10 10 8.84 56.3 6.3 29.6 82.6 85 2 1 59 66 40.0 . . . 109 109 11.80 53.8 5.7 9.1 116.9 571 1 2 441 469 62.9 110 110 9.50 49.3 5.8 42.0 70.9 98 2 3 68 46 22.9 111 111 7.70 56.9 4.4 12.2 67.9 129 2 4 85 136 62.9 112 112 17.94 56.2 5.9 26.4 91.8 835 1 1 791 407 62.9 113 113 9.41 59.5 3.1 20.6 91.7 29 2 3 20 22 22.9

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
EXST7015 : Statistical Techniques II Geaghan Multiple Regression Large example and Variable selection Page 2 08d-MReg-SENIC.doc 140 proc reg data=SENIC all LINEPRINTER; 141 TITLE2 'Full Model with diagnostics'; 142 model InfRisk = LtofStay Age CulRatio XRay NoBeds Census Nurses Services 143 / all influence collin partial; 144 output out=next1 p=YHat r=e; 145 OPTIONS PS=50 LS=160; PLOT RESIDUAL.*PREDICTED. / VREF=0; 146 OPTIONS PS=60 LS=120; 147 Run; NOTE: 113 observations read. NOTE: 113 observations used in computations.
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 12/29/2011 for the course EXST 7087 taught by Professor Wang,j during the Fall '08 term at LSU.

### Page1 / 21

08e-MReg-SENIC - EXST7015 : Statistical Techniques II...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online