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 16:00, yurimontoya759
12. the amount of money in a bank account decreased by 21.5% over the last year. if the amount of money at the beginning of the year is represented by ‘n', write 3 equivalent expressions to represent the amount of money in the bank account after the decrease?
Answers: 2
image
Mathematics, 21.06.2019 21:00, venancialee8805
The perimeter of a rectangle is 42 inches. if the width of the rectangle is 6 inches, what is the length
Answers: 2
image
Mathematics, 21.06.2019 21:00, vliu470
Even if a person is in very good shape, applying to be a police officer requires commitment to fitness. applicants must pass a physical fitness test. in order to prepare for the test, janet purchases an activity tracker to court her steps. her goal is to walk 10,000 steps each day. she measures heard average step length to be 30 inches. play janet runs, her average steps length increases to 36 in. how many steps would she have to take to run 1 mile 50280 round to the nearest step
Answers: 3
image
Mathematics, 21.06.2019 21:30, lainnn974
Questions 7-8. use the following table to answer. year 2006 2007 2008 2009 2010 2011 2012 2013 cpi 201.6 207.342 215.303 214.537 218.056 224.939 229.594 232.957 7. suppose you bought a house in 2006 for $120,000. use the table above to calculate the 2013 value adjusted for inflation. (round to the nearest whole number) 8. suppose you bought a house in 2013 for $90,000. use the table above to calculate the 2006 value adjusted for inflation. (round to the nearest whole number)
Answers: 3
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
History, 12.11.2020 06:10
Konu
Mathematics, 12.11.2020 06:10