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
Give me the equations of two lines that have the same slope but are not parallel.
Answers: 3
question
Mathematics, 21.06.2019 19:20
The fraction of defective integrated circuits produced in a photolithography process is being studied. a random sample of 300 circuits is tested, revealing 17 defectives. (a) calculate a 95% two-sided confidence interval on the fraction of defective circuits produced by this particular tool. round the answers to 4 decimal places. less-than-or-equal-to p less-than-or-equal-to (b) calculate a 95% upper confidence bound on the fraction of defective circuits. round the answer to 4 decimal places. p less-than-or-equal-to
Answers: 3
question
Mathematics, 21.06.2019 19:30
Select the margin of error that corresponds to the sample mean that corresponds to each population: a population mean of 25, a standard deviation of 2.5, and margin of error of 5%
Answers: 2
question
Mathematics, 21.06.2019 23:00
Using only odd number for numerators write two different subtraction problems that have a difference of 3/4
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, 06.05.2021 07:50
question
Mathematics, 06.05.2021 08:00
question
Mathematics, 06.05.2021 08:00
question
World Languages, 06.05.2021 08:00
Questions on the website: 13722361