stat512sol6 - Statistics 512 Solution to Homework#6 For the following 3 problems use the computer science data that we have been discussing in class You

stat512sol6 - Statistics 512 Solution to Homework#6 For the...

This preview shows page 1 - 2 out of 4 pages.

Statistics 512: Solution to Homework#6 For 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 set csdata.dat from the class website. The variables are: id , a numerical identifier for each student; GPA , the grade point average after three semesters; HSM ; HSS ; HSE ; SATM ; SATV , which were all explained in class; and GENDER , 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.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture