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 20:00
Which of the following is the inverse of y = 3∧x y = 1/3∧x y = ㏒3x y = (1/3) ∧x y = ㏒ 1/3∧x
Answers: 1
question
Mathematics, 21.06.2019 21:30
Atrain leaves little? rock, arkansas, and travels north at 90 kilometers per hour. another train leaves at the same time and travels south at 80 kilometers per hour. how long will it take before they are 680 kilometers? apart?
Answers: 1
question
Mathematics, 21.06.2019 23:20
8litres of paint can cover 129.6 m². how much paint is required to paint an area of 243m²?
Answers: 3
question
Mathematics, 22.06.2019 00:00
What is the distance from (–3, 1) to (–1, 5)? round your answer to the nearest hundredth. (4 points) a. 3.60 b. 4.12 c. 4.47 d. 5.66
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
Mathematics, 28.01.2020 07:31
Questions on the website: 13722360