Which explanatory variable has the strongest correlation wit
Which explanatory variable has the strongest correlation with the response? What is the correlation?
Are there any explanatory variables that are highly correlated? If so, name them.
> cor(stackloss Air.Flow Water.Temp Acid.Conc. stack.loss 18 22 26 10 25 40 Air.Flow 1.0000000 0.7818523 0.50014290.9196635 Water. Temp0.7818523 1.0000000 0.3909395 0.8755044 Acid.Conc. 0.5001429 0.3909395 1.0000000 0.3998296 stack.loss 0.9196635 0.8755044 0.3998296 1.0000000 Air Flow Water Temp Acid.Conc.8 50 60 70 80 75 85Solution
Assuming the response variable is stack.loss,
Air.flow is highly correlated with the response variable, with a correlation of 0.9196635.
Among the explanantory variables, Air.flow and Water.temp are highly correlated with correlation of 0.7818523
Acid.conc and Water.temp have a high correlation of 0.5001429
