Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- footnote 'Thulasi Thirugnanam, 101114637';
- options pagesize=45;
- ods pdf file="C:\Users\thulasithirugnanam\desktop\STAT2507\Assignment1_Q4.pdf";
- data oxygen;
- input temp heartrate;
- cards;
- 35.7 70
- 36.3 68
- 37.2 80
- 37.2 75
- 37.2 79
- 36.0 75
- 36.9 74
- 36.9 84
- 37.1 73
- 37.1 84
- 37.3 66
- 37.4 68
- run;
- ods graphics off;
- proc reg lineprinter;
- model heartrate=temp;
- plot heartrate*temp="*";
- plot R.*P.="o";
- plot R.*temp="+";
- output out=resid R=resid;
- quit;
- proc chart;
- vbar resid;
- run;
- print clm cli;
- quit;
- ods pdf close;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement