You are on page 1of 9
Soman tee Sm A, ji gs 1E214 joo Spring 1998 FINAL TEST Please show details of all your work. Use Alpha = .05 in all questions unless otherwise specified. (Write any assumption you make) Bis. 10 1. Write a SAS program to fit a second order polynomial model for the following data: ; Dep. Var. Y: 127 146.288 Indep. Var. X1: 12 15 30 | Indep. Var. X2: 5S 55 i 60 25 2. Given the following information, perform a stepwise regression analysis to select the set of variables to be included in the model (similar to a SAS analysis with option STEPWISE) : using SLE=SLS=,05, when n=80 and SSTO=964. (Just find the set of variables. You do not need to calculate the coefficients in the model) Var. | x1_| x2 | x3. | x4 | X1,x2 | X1,x3 | X1,x4 | X2,x3 | x2,x4 ssp | 515 | 712 | 376 | 443 | 725 | 707 | 685 | 77 758 Var. | X3,X4 | X1, X1,X2,X4 | XI,X3,X4 | X2,X3,X4 | X1,X2,X3,X4 ssp |_792 795 771 800 798. 802 comer 15 3. If we have a SAS regression model with all four variables in the above problem with “MODEL Y = X1 X2 X3 X4;” give the values that wil be produced for SSI and SST for each of the independent variables. 104, Data obtained for a simple Regression model show that the error variance is linearly proportional to the value of X. What do you suggest to do as a remedy to this problem? 20 5. Forthe relationship shown between X and ¥: 1 a) Specify the linear regression model b) Write a SAS program for that model 20 6, The following data show the daily production by four machines in a shop. : MIC 1 Mic2 wc3 Mica q 256 252 208 316 243 286 267 298 279 247 222 343 a) Perform an ANOVA to test if the production is different between the machines. b b) Use Duncan's multiple-range test to determine which machines are different. E Tote2 17% 185 697 FS Toh = Bayy / E Byrs ors — 206,304 143937 34,301 To 9G 71 i a2 MEG 2972 ao Pie fez - fiaal Text — Sebstiow aie @® Assume Ki 22I M=5? DatA; XISSXDexIds pee a ss INPUT Y xt x25 | X28=Xzdexad; fue is ve XID = Xt- 215 XIZ = X(D* X2DS viz we éo XD= XW-SHS CARDS; Phoc Ree; MODEL Y= Xib KD) Mis X28 xXI2 5 in 2 = ee - e @ xm? gs wae 28> = (8) 248 OK Hodil bas X2 X32 Re Beate 2 ade sah lyaa)= 24% ok Hodst feo X2,X3 . Caea=Fa8y YBout XZ dave mat get eliinsdiatich 2 = 398-333 Z Atm? Fe = Ga F480 fre 7 as> Fee) 348 OK Hed boo X32 X3,X4 XR suk? Ga BERR 2 298K Feel Ae) e8A8 OK Hedi dan x8, X4 5 wae : ‘ aa mmo othe var. co chine abid . = Ben 2e . XLuw2 Re Ban wreayee = BAL Figg (%)2208 No _ STOP Modb ww oo ted X3 & X¢ Va. 8ir SATI a Pk ee x\ yo HF METRE xo Fo AE's 210 ~aeat Rotte Banh coe blac ‘god Bey, + Hola Fe bekx+ber+ bxz Bannos 22'n ¥_anvt pH “2H ih SW Fur <7 ty wKee = Lee obs TH Se I “Mid Jon sty See erisn Wit — ta

You might also like