![stephanieb75](/avatars/8862.jpg)
stephanieb75
05.05.2020 •
Mathematics
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.)
Solved
Show answers
More tips
- F Food and Cooking Аэрогриль: Все, что нужно знать для подготовки здоровой и вкусной пищи...
- G Goods and services How to choose a washing machine?...
- F Family and Home Is it Worth Knowing the Gender of Your Child Before Birth?...
- H Health and Medicine Mercury Thermometer Danger: What to do when a thermometer breaks?...
- F Food and Cooking How to cook crayfish? Everything you need to know...
- G Goods and services LED-подсветка в LCD-телевизорах: 5 причин, почему она лучше других технологий...
- P Photography and Videography Understanding HDR: How It Works and Why You Need It...
- G Goods and services Which TV is better - LCD or Plasma?...
- S Sport How to Learn to Pull Up on Monkey Bars?...
- L Leisure and Entertainment Scrapbooking: What is it and Why is it Becoming More Popular?...
Answers on questions: Mathematics
- M Mathematics Four less than 5 times the number x is -24 solve the equation x=...
- M Mathematics Number four please: I display number cube measures 20 inches on each side the sides are numbered one through six that I numbered sides are covered in blue fabric...
- M Mathematics D. Based on the residuals, is your regression line a reasonable model for the data? Why or why not? (2 points)...
- M Mathematics The roof of Camden‘s house is shaped like a parallelogram. the base of the roof is 12m and the area is 78m. choose a number and unit to make a true statement the...
- M Mathematics Can 5yd, 12yd, 13,yd can it form a right triangle can 11km,12km,15 km can it form a right triangle PLZ HELP ME 81 POINTS!!...
- M Mathematics The endpoints of a diameter of a circle are (6,2) and (−4,7) . What is the standard form of the equation of this circle? Enter your answer by filling in the boxes....
- M Mathematics Solve the equation. Then check your solution....
- M Mathematics HELP ME PLEASE FOR THE LOVE OF GOD (if the answers are incorrect, in the first box your second choice is “twice the” and if the second box is incorrect your other...
- M Mathematics 8. Which algebraic expression models the given word phrase? (1 point) 10 times the sum of a and b Oatb 10(a - b) O 10(a + b) 10a + b...
- M Mathematics Use the below e Tool to solve the problem. Click the link to the right to view full version. CC35-38 HW O CC35-38 HW e Tool O O 5-38. On graph paper, plot the points...
Ответ:
(a)
>install.packages("air4")
>library(air4)
>attach(UN11)
>plot(ppgdp, fertility)
Check attachments for the plots
Ответ:
duh its C!