Solutions_to_HW_4_Problems

Solutions_to_HW_4_Problems - x12 region; dens=x2/x1;

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

View Full Document Right Arrow Icon
6.3) Adding more regressors cannot decrease the r_squared, but it does increase the complexity of the model requiring additional estimation and the potential for overfitting.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

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

View Full DocumentRight Arrow Icon
Here is some sample SAS code for 3.6: data plastic; input y x; cards; 199.0 16.0 205.0 16.0 ----data------ 246.0 40.0 ; run; proc reg data=plastic; model y=x; output out=plastic_resid residual=resid; plot r.*p.; run; proc univariate normal plot data=plastic_resid; qqplot; run; Here is some sample SAS code for 6.29 data cdi; input id county $ state $ x1 x2 x3 x4 x5 x6 y x7 x8 x9 x10 x11
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x12 region; dens=x2/x1; cards;-------------------data------------------------; run; proc reg data=cdi; model y= dens x11 x7; run; proc sort data=cdi out=cdi_sort; by region; run; proc reg data=cdi_sort; model y=dens x11 x7; by region; plot r.*p.; output out= cdi_resid resdiual=resid; run; proc univariate normal plot data=cdi_resid; qqplot; by region; run; Homework 5 Solutions, Stat 4315, Summer 2008...
View Full Document

This note was uploaded on 11/28/2009 for the course STAT 4315 taught by Professor Heuter during the Fall '09 term at Columbia.

Page1 / 6

Solutions_to_HW_4_Problems - x12 region; dens=x2/x1;

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

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