Manpower Data
Linear Regression Review
Tutorial for Stat 331 Adrian Waddell
University of Waterloo
February 2, 2010
Adrian Waddell (University of Waterloo)
Applied Linear Models
February 2, 2010
1 / 13
Manpower Data
Manpower Data
Consider the hospital man
# R code: gas consumption data STAT 331 Tutorial, Feb.5, 2010 # multiple regression and hypothesis tests # example data: example 1.2.7 on page11 in Introduction to regression modeling
gas=read.table(E:/gas.txt,head=T) attach(gas)
# read the data set
cor(g