show confidence interval regression r code example
Example: confidence for multiple regression in R
new_cars = data.frame(wt = c(3500, 5000), year = c(76, 81))
predict(mpg_model, newdata = new_cars, interval = "confidence", level = 0.99)
new_cars = data.frame(wt = c(3500, 5000), year = c(76, 81))
predict(mpg_model, newdata = new_cars, interval = "confidence", level = 0.99)