Mathematics
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.)

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 17:30, missperfectionp89qqq
Hello can you me find all the products
Answers: 1
image
Mathematics, 21.06.2019 18:00, davidoj13
Aculture started with 3000 bacteria. after 5 hours it grew to 3900 bacteria. predict how many bacteria will be present after 9 hours
Answers: 3
image
Mathematics, 21.06.2019 20:10, tiggyandrep2dbee
Look at the hyperbola graphed below. the hyperbola gets very close to the red lines on the graph, but it never touches them. which term describes each of the red lines? o o o o a. asymptote b. directrix c. focus d. axis
Answers: 3
image
Mathematics, 21.06.2019 23:00, janeou17xn
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
Do you know the correct answer?
This problem uses the UN11 data in the alr4 package. (a) Plot fertility against ppgdp. Fit a linear...

Questions in other subjects:

Konu
Mathematics, 23.11.2020 05:10
Konu
English, 23.11.2020 05:10
Konu
Mathematics, 23.11.2020 05:10