subject
Mathematics, 25.02.2020 22:29 dawood7068

For this exercise we will use the faithful dataset. This is a default dataset in R, so there is no need to load it. You should use ?faithful to learn about the background of this dataset.

(a) Suppose we would like to predict the duration of an eruption of the Old Faithful geyser in Yellowstone National Park based on the waiting time before an eruption. Fit a simple linear model in R that accomplishes this task. Store the results in a variable called faithful_model. Output the result of calling summary on faithful_model
(b) Output only the estimated regression coefficients. Interpret Bo and B in the contert of the problem. Be aware that only one of those is an estimate (c) Use your model to predict the duration of an eruption based on a waiting time of 80 minutes. Do you feel confident in this prediction? Briefly explain.
(d) Use your model to predict the duration of an eruption based on a waiting time of 120 minutes. Do you feel confident in this prediction? Briefly explain.
(e) Calculate the RSS for this model.
(f) Create a scatterplot of the data and add the fitted regression line. Make sure your plot is well labeled and is somewhat visually appealing
(g) Report the value of R2 for the model. Do so directly. Do not simply copy and paste the value from the full output in the console after running summary) in part (a)

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 16:00
Mr and mrs smith buy tickets for themselves and their four children. the cost of an adult ticket is ? 6 more than the adult ticket. the total cost of the six tickets is ? 40.50 work out the cost of an adult ticket. in your working let c be the cost of the child ticket and a be the cost of the adult ticket.
Answers: 1
question
Mathematics, 21.06.2019 19:30
The amount spent on food and drink by 20 customers is shown below what is the modal amount spent and the median? 40 25 8 36 18 15 24 27 43 9 12 19 22 34 31 20 26 19 17 28
Answers: 1
question
Mathematics, 21.06.2019 23:00
Mike wants to make meatloaf. his recipe uses a total of 8 pounds of meat. if he uses a 3 to 1 ratio of beef to pork, how much pork will he use? enter your answer as a mixed number in simplest terms.
Answers: 1
question
Mathematics, 22.06.2019 03:00
Determine if the sequence is arithmetic or geometric.  then identify the next term in the sequence.    0.2, 1, 5, 25, . . group of answer choices arithmetic; 75 geometric; 75 arithmetic; 125 geometric; 125
Answers: 1
You know the right answer?
For this exercise we will use the faithful dataset. This is a default dataset in R, so there is no n...
Questions
Questions on the website: 13722361