Question: ( 4 points ) Adapt the codes we used in Lecture 5 for College GPA prediction ( codeeviewsGPA 2 . prg ) to do a
points Adapt the codes we used in Lecture for College GPA
prediction codeeviewsGPAprg to do a prediction using a model that
uses the college GPA colgpa on the left hand side and in addition to the
high school percentile ranking hsperc and SAT score sat variables we
used in class, it also uses the athlete status athlete and gender female
Make a point prediction and a confidence interval for two
individuals:
a Person : man, athlete, in the of high school percentile ranking,
and a SAT score equal to
b Person : woman, nonathlete, in the of high school percentile
ranking, and a SAT score equal to
The code you write again adapting from what we've used in class should
read the raw data, run the regression and do the prediction, including the
confidence intervals using the formula on the slides. You can remove the
part of the code that produces the initial data plots. Upload the code to
ELMS and also copy the code to your writeup In your writeup report the
point estimate and the confidence interval you find.
points Using the same data, answer the following question. You do not
need to write a code to do this, but you need show the regression output
you use to answer the question.
Controlling for high school percentile and gender, does being an athlete
change how one's SAT affects one's college GPA? In other words, would a
unit change in SAT have the same effect on college GPA for athlete and non
athlete?
'Second image is the code codeeviewsGPAprg
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
