Warning! It seems that you are using Dodona within another webpage, so not everything may work properly. Let your teacher know so that he can solve the problem by adjusting a setting in the learning environment. In the meantime, you can click this link to open Dodona in a new window.
Chapter 13 exercise 7
Sign in to test your solution.
# question 1
lm.fit1 <- ... # Advertising
lm.fit2 <- ... # Age
lm.fit3 <- ... # CompPrice
lm.fit4 <- ... # Education
lm.fit5 <- ... # Income
lm.fit6 <- ... # Population
lm.fit7 <- ... # Price
p.values <- rep(0,7)
p.values[1] <- summary(lm.fit1)$coefficients[2,4]
p.values[2] <- summary(lm.fit2)$coefficients[2,4]
p.values[3] <- summary(lm.fit3)$coefficients[2,4]
p.values[4] <- summary(lm.fit4)$coefficients[2,4]
p.values[5] <- summary(lm.fit5)$coefficients[2,4]
p.values[6] <- summary(lm.fit6)$coefficients[2,4]
p.values[7] <- summary(lm.fit7)$coefficients[2,4]
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.