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 13:30
David bought a poster for an art project. the poster is 2.7 feet wide and 3.9 feet tall. what is the area of the poster?
Answers: 2
question
Mathematics, 21.06.2019 18:30
Express the following as a function of a single angle. cos(60) cos(-20) - sin(60) sin(-20)
Answers: 1
question
Mathematics, 21.06.2019 20:30
Asmall business produces and sells balls. the fixed costs are $20 and each ball costs $4.32 to produce. each ball sells for $8.32. write the equations for the total cost, c, and the revenue, r, then use the graphing method to determine how many balls must be sold to break even.
Answers: 1
question
Mathematics, 22.06.2019 00:30
Bo is buying a board game that usually costs bb dollars. the game is on sale, and the price has been reduced by 18\%18%. which of the following expressions could represent how much bo pays for the game? choose 2 answers: choose 2 answers: (choice a) a 0.82b0.82b (choice b) b 1.18b1.18b (choice c) c b-0.18b−0.18 (choice d) d b-18b−18 (choice e) e b-0.18bb−0.18b
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
Computers and Technology, 23.10.2019 21:00