This preview shows page 1. Sign up to view the full content.
Statistics 512: Problem Set No. 6
Due October 23, 2009
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 identiﬁer 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 a
data
step, create a new variable
GENDERW
that has values 1 for women and 0 for men
(use arithmetic on the original variable
GENDER
). Run a regression to predict
GPA
using the
explanatory variables
HSM
,
HSS
,
HSE
,
SATM
,
SATV
,and
GENDERW
. (Do not include any interaction
terms.)
(a) Give the equation of the ﬁtted regression line using all six explanatory variables.
(b) Give the ﬁtted regression line for women (use part a).
(c) Give the ﬁtted regression line for men (use part a).
DO NOT attempt to run
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 03/15/2012 for the course STAT 512 taught by Professor Staff during the Fall '08 term at Purdue University.
 Fall '08
 Staff
 Statistics

Click to edit the document details