8W - run; proc print data=test; var RStud hat cook;run;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
data a1; infile 'C:\Documents and Settings\Administrator\My Documents\Lectures\2009- 1st\Statistics\SAS Files\Data files\ch06pr18.txt'; input Rental_rate age tax rate footage; seq=_n_; proc print data=a1;run; /*Problem a): Studentized deleted residual: Check RStudent*/ /*Problem b): Hat matrix*/ proc reg data=a1; model Rental_rate = age tax rate footage/influence r; output out=test RStudent=RStud h=hat cookd=cook;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: run; proc print data=test; var RStud hat cook;run; data a2; age=10; tax=12; rate=0.5; footage=350000; output; data a3; set a1 a2; proc print data=a3; run; proc reg data=a3; model Rental_rate = age tax rate footage/influence r; run; data test2; set a1; set test; proc gplot data=test2; plot cook*seq; run;...
View Full Document

This note was uploaded on 08/28/2011 for the course STAT 00000 taught by Professor - during the Spring '11 term at Purdue University-West Lafayette.

Ask a homework question - tutors are online