Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(b) Report the MSE obtained on VOTETRAIN. How much does this increase when you score your model on VOTETEST? My Answers so far: MSE on

(b) Report the MSE obtained on VOTETRAIN. How much does this increase when you score

your model on VOTETEST?

My Answers so far:

MSE on VOTETRAIN = 8.53419^2 = 72.832

MSE on VOTETEST = 47.7987

When scoring my model on VOTETEST the MSE declines 25.0263

Also where does the **(2/232) come from in the Predicted_err equation of my code? Thanks

/*To calculate MSE of votetest using regression equation of votetrain*/

data mod_votetest; set votetest;

y_hat = -53.30075+ (1.42003*female)+(0.00263*density)+(0.91191*poverty)+(0.60507*veterans);

Predicted_err = ((votes -y_hat)**2/232);

run;

proc print data = mod_votetest;

sum Predicted_err;

proc print sum Predicted_err;

run;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transportation A Global Supply Chain Perspective

Authors: John J. Coyle, Robert A. Novak, Brian Gibson, Edward J. Bard

8th edition

9781305445352, 1133592961, 130544535X, 978-1133592969

More Books

Students also viewed these Mathematics questions

Question

What is Indian Polity and Governance ?

Answered: 1 week ago