
Stat 5600, Homework 4, due Monday Feb 23
1. Consider the “pulse” data available from
http://www.math.usu.edu/~adele/s5600/data/pulse.dat
The variables represent
Age (in years)
Weight (in kg)
Oxygen uptake rate
Time taken to run a course
Rest pulse rate (beats per minute)
Average pulse rate while running (beats per minute)
Maximum pulse rate while running (beats per minute)
The variable “oxygen” is the response variable of interest.
The data can be read into R using:
pulsedata=read.table("Data/pulse.dat",header=F)
colnames(pulsedata)=c("age","weight","oxygen",
"runtime","rstpulse","runpulse","maxpulse")
a) Perform a routine initial analysis of the data (looking
for outliers, unusual structure, etc) and comment on
whether the data appear to be suitable for a regression
analysis for predicting oxygen from the other variables.
b) Perform the standard least squares regression
analysis. Are there any obvious signs of
multicollinearity? How do you know?
c) Perform a PCA on the explanatory variables (i.e. all
except oxygen). Decide how many PCs should be
retained (comment if it is ambiguous). Interpret the
PCs you decide to keep.
d) Compare the standard linear model with
PC regression
ridge regression