{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ass 2 sol - ’ A r 14 3L Y‘ “4 ‘L L W W 5m 7:2...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
Image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
Image of page 7

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

View Full Document Right Arrow Icon
Image of page 8
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
Image of page 11

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

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ’ A r 14 ___, 3L Y‘ “4' ‘L - ., _'_ L W» W % 5m - 7 :2 “fix/«nixfixj ¢§9C53 *"%‘f J ' ‘ ’ A' f :[1 .4:' /3r I kl??- : ; Z x; “ly, (“r y ) [-1- Hr y“, 5M¢ZZIQ:VIT0L _Z‘2\L“nq/‘Z ‘2’: —V] x,)l -4" a" /7 T " '4; f7” TL)? (b) 55m: % 2r 074‘?) :{m<?,g,-i) [SJP "' /"‘ 7 , “ 3 5’ 1 7 7 0‘1 55m: 2% ch- --— ~——~. ’ - . Jug?! M144» H.7- .7. [ 2* Frk-f‘z‘sfimzv‘? 42/07 :0‘225’310? [04 ~ “M55 K1‘*7~WMM;—Im2]l C) 0AM Mg * , ,, ;-l 74 d/‘H'q— 7—0— Egg “—0 Sf? ‘ 44 ,H-TZ I 1+4 , .. _ . my," 077,774 (1) ($57 (35) V (14/ (15/ :1“? @2321 STI‘fT you, ' 3 ‘ (A? ,/' y;- , G) . 7~ 4 54 “ ‘ @424 paw 4 :qu [w 1;; 1 F61: :3 €75 ~ 577W" 35'0Le (D dm output 'clear'; options linesize=85 pagesize=40; data thread; INFILE 'z:\stat3504a\chl 8pr17.dat'; * this data set has diet prep in C01 1, weight loss in col 2 AND the observation number within each factor level in Col 3; input breaks speed obsno; * Note the third variable; run; proc univariate noprint; var breaks; output out=stats mean=fitted STD=s VAR==ssq median=md; by speed; run; proc print; * needed to get a print out of the "stats" data set created above; run; data diagnose; merge thread stats; by speed; _ eij=breaks~fitted; Z dij=abs(breaks—md); run; proc plot; plot eij*fitted=‘*'; quit; proc anova; class speed; model dij=speed; quit; proc rank data=diagnose normal=blom; var eij; ranks expeij; by Speed; run; proc plot; by speed; plot eij*expeij=‘*'; quit; proc corr nosimple; * "nosimple" tells SAS to not output mean var, etc of the two variables in the VAR statement; 'var eij expeij; by speed; run; eij 10 NOTE: 28 obs hidden. hqcfeasimj The $03 System ' f;;ted )(Xo 3.5625 1.09354 1-1958. 4.0 _ 5.8750 1.99583 ’ 3.9833.9 -f6 0 ; . 10.6875 3.23973.. ,1o.4958 * 311 5 V 16.5625 .5.37853 , 29.92921.5;15j5gh-7f“.‘-.. V: _____———————-~——————------—""'”-- The SAS System Plot of eij*fitted. Symbol used is '*'. spread the mean, breaks The SAS System The AHOVA Procedure Class Level Information Class “evels Values speed 4 1 2 3 4 Number of Observations Head 64 Number Of Observations Used 64 10 12 14 *l'afl' Ir 73 18 74 Dependent Variable; dij NOTE: 11 obs hidden. The-GAS Sy’stem " '-_ I “ 75 The ANCVA Procedure . ,‘ , Sum_of >.'},.,‘ ,; ., - .> .,v , _. Source .. DF _- ‘ Squareer _1 Mean Square_v F Value ' Pr > r Model ' 3 ' 111.5468750 ' ”"3‘7‘.102291'7- 9.54 («0001 ] Error 60 233 8125000 3.8968750 Corrected Total 63 345 3593750 R-Square Coeff Var Root MSE dij Mean 0.322988 85.94505 1.974050 2.296875 Source DF Anova SS Mean Square F Value Pr > F speed 3 111.5468750 37.1822917 9.54 <.0001 The SAS System 76 -------------------------------------- speed=1 -----------------—-------------------- Plot of eij*expeij. Symbol used is '*'. 2.438 * 1.438 * eij 0.438 * -0.563 * -1.563 * —1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 Rank for Variable eij 3(F/ . --------- '---:----:7-~-~:::--4::#---~1-‘speed=2':-r. -------- F-¥--:-r----~--—--:---r~—-: Plot of eij*exfiéij. Symbol USed is '4'. eij ‘ ' W ' 3.125 ' 2.125 1.125 0.125 -0.875 -1.e75 -2.875 -3.875 --—-|—1——1—4——1— -2.0 —1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 Rank for Variable eij Plot of eij*expeij. Symbol used is '*'. eij 6.313 5.313 4.313 3.313 2.313 1.313 0.313 -O.68B -1.688 -2.688 -3.688 —4.688 +—l—1——l——1— -1.5 -1.0 ~0.5 fihO 0.5 1.0 1.5 2.0 Rank for Variable eij eij 8.438 6-433 4.438 2.438 0.438 -1.563 -3.563 -5.563 —7.563 -9.563 ~—+—4——+—+—4— -2.0 —1.5 -1.0 ~0.5 0.0 0.5 1.0 1.5 2.0 Rank for Variable eij The ems System 80 The CORR Procedure 2 Variables: eij BXPGij Pearson Correlation Coefficients, N = 16 Prob > |r| under H0: Rho=0 eij expeij eij 1.00000 [0.99574 I 3L7, <.o o1 ' expeij 0.99574 1 .00000 Rank for Variable eij <.0001 ----------------- '¢-¢--eg-F---}--gl;--e.speed=2 -—‘----~-----------—------------------ . The CORR Procedure 1.;flgf>23=Variablee; *eij' L .expeij 1;“{QffPearsonxCorreiation'Coefficiente}.N =.16 " " ' Prob > [r1 under H0: Rho=0 eij expeij eij ' 1 .00000 0.99835 [ [Q 3 3/ expei j 0.99835 1 . 00000 Rank for Variable eij <.0001 The GOP R Procedure 2 Variables: eij expeij Pearson Correlation Coefficients, N = 16 Prob > |r| under Ho: Rho=0 eij expeij eij 1.00000 l0.99077l E;(:Ei ) < . 0001 expei j 0.99077 1 .00000 Rank for Variable eij <.0001 -------------------------------------- speed=4 ---------------------—---------------- The CORR Procedure 2 Variables: eij expeij Pearson Correlaticm Coefficients, N = 16 Prob > |r| winder H0: Rh0=0 eij expeij eij. 1.00000 [0.99411 2 3(fi / <.0 expeij 0.99411 1.00000 Rank for Variable eij <.0001 ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern