100%(12)12 out of 12 people found this document helpful
This preview shows page 1 - 2 out of 4 pages.
Statistics 512: Solution to Homework#6For the following 3 problems use the computer science data that we have been dis-cussing in class. You can get a copy of the data setcsdata.datfrom the class website.The variables are:id, a numerical identifier for each student;GPA, the grade pointaverage after three semesters;HSM;HSS;HSE;SATM;SATV, which were all explained inclass; andGENDER, coded as 1 for men and 2 for women.1. In adatastep, create a new variableGENDERWthat has values 1 for women and 0 for men(use arithmetic on the original variableGENDER). Run a regression to predictGPAusing theexplanatory variablesHSM,HSS,HSE,SATM,SATV, andGENDERW. (Do not include any interactionterms.)(a) Give the equation of the fitted regression line using all six explanatory variables.