subject
Mathematics, 05.05.2020 21:42 xarianna2007

This problem uses the UN11 data in the alr4 package. (a) Plot fertility against ppgdp. Fit a linear model regressing fertility on ppgdp and add the fit on the plot. Comment on why this model is not good. (b) Use a "residuals vs fit" plot to check if there is any non-constant variance or non-linearity problem. State the main problem and explain why in one or two sentences. (c) Use a normal Q-Q probability plot to check if the normality assumption is met. State the main problem and explain why in one or two sentences. (d) Shapiro-Wilk test is a test of normality of a numeric variable. The null hypothesis for this test is that the variable is normally distributed. Use the R function shapiro. test() to test if the residuals of the linear fit in part (a) is normally distributed. State the p-value of this test and your conclusion given α = 0.05. Does the result support your conclusion in part (c)? (Use the code ?shapiro. test or help(shapiro. test) to understand how to use this function.)

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 17:00
Acar travels at an average speed of 52 miles per hour. how long does it take to travel 299 miles
Answers: 1
question
Mathematics, 21.06.2019 18:00
What is the upper quartile in the box plot?
Answers: 1
question
Mathematics, 21.06.2019 19:10
At a kentucky friend chicken, a survey showed 2/3 of all people preferred skinless chicken over the regular chicken. if 2,400 people responded to the survey, how many people preferred regular chicken?
Answers: 1
question
Mathematics, 21.06.2019 19:30
Jada has a meal in a restaurant she adds up the prices listed on the menu for everything they ordered and gets a subtotal of $42.00. after tax the total is 45.99. what percentage of the subtotal is the total?
Answers: 2
You know the right answer?
This problem uses the UN11 data in the alr4 package. (a) Plot fertility against ppgdp. Fit a linear...
Questions
question
English, 10.10.2021 19:10
question
Physics, 10.10.2021 19:10
question
Mathematics, 10.10.2021 19:20
question
Biology, 10.10.2021 19:20
question
Social Studies, 10.10.2021 19:20
question
Computers and Technology, 10.10.2021 19:20
Questions on the website: 13722363