# STA302H5 Lecture 14: Lecture 14 - 20131028_003524.pdf

## Document Summary

When gasoline is pumped into the tank of a car, vapors are vented into the atmosphere. > cor(gas) y x1 x2 x3 x4 y 1. 0000000 0. 8260665 0. 9093507 0. 8698845 0. 9213333 x1 0. 8260665 1. 0000000 0. 7742909 0. 9554116 0. 9337690 x2 0. 9093507 0. 7742909 1. 0000000 0. 7815286 0. 8374639 x3 0. 8698845 0. 9554116 0. 7815286 1. 0000000 0. 9850748 x4 0. 9213333 0. 9337690 0. 8374639 0. 9850748 1. 0000000. Call: lm(formula = y ~ x1 + x2 + x3 + x4, data = gas) Error t value pr(>|t|) (intercept) 1. 01502 1. 86131 0. 545 0. 59001 x1 -0. 02861 0. 09060 -0. 316 0. 75461 x2 0. 21582 0. 06772 3. 187 0. 00362 ** x3 -4. 32005 2. 85097 -1. 515 0. 14132 x4 8. 97489 2. 77263 3. 237 0. 00319 ** Signif. codes: 0 ***" 0. 001 **" 0. 01 *" 0. 05 . " 0. 1 " 1. Residual standard error: 2. 73 on 27 degrees of freedom. F-statistic: 84. 54 on 4 and 27 df, p-value: 7. 249e-15. Tank temperature = x1 and vapour pressure in tank = x3 are highly correlated, r = 0. 96. H0: 1 = 3 = 0 h0: c = t.