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 19:00
What are the solutions of the system? y = x^2 + 2x +3y = 4x - 2a. (-1, -6) and (-3, -14)b. (-1, 10) and (3, -6)c. no solutiond. (-1, -6) and (3, 10)
Answers: 1
question
Mathematics, 21.06.2019 23:30
Which equation represents a direct linear variationa. y=x2b. y=2/5xc. y=1/xd. y=x+3
Answers: 3
question
Mathematics, 22.06.2019 03:30
Assume that adults have iq scores that are normally distributed with a mean of mu equals 100 and a standard deviation sigma equals 20. find the probability that a randomly selected adult has an iq less than 132. the probability that a randomly selected adult has an iq less than 132 is?
Answers: 1
question
Mathematics, 22.06.2019 04:30
Skie rented a boat for $16.50 per hour. her total rental fee was $49.50. for how many hours did skie rent the boat
Answers: 1
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.01.2022 22:50
question
Mathematics, 10.01.2022 22:50
question
English, 10.01.2022 23:00
question
Mathematics, 10.01.2022 23:00
Questions on the website: 13722367