Univ_Reg

Univ_Reg - dm 'log;clear;output;clear;'; o options ps=50...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
dm 'log;clear;output;clear;'; options ps=50 ls=75 pageno=1; o *********************************************************************; ** **; ** COURSE: STAT 6360 **; ** PURPOSE: Show how to perform multiple linear regression **; *********************************************************************; * *The following title will appear as the first line of every page in the output window; title1 'STAT 6360'; t data sasdata.univ; infile 'K:\6360\SASdata\univ.txt' firstobs=2; input name $ sat top10 accept sfratio expenses grad; run; r proc reg data=sasdata.univ; model sat=top10 accept sfratio expenses grad; run; r proc reg data=sasdata.univ; model sat=top10 accept sfratio expenses grad/ p r; run; r data univpred; input sat top10 accept sfratio expenses grad; datalines; . 72 68 12 30 90 ; proc reg data=sasdata.univ; model sat=top10 accept sfratio expenses grad /p r; run; r proc reg data=sasdata.univ; model sat=top10 accept sfratio expenses /p r; run; r *Backward variable selection; proc reg data=sasdata.univ;
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Univ_Reg - dm 'log;clear;output;clear;'; o options ps=50...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online