Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

filecrime.csv. is given in the puctures below. It has two columns, one of which is the percentage ofindividuals in the county with at least a

filecrime.csv. is given in the puctures below.
It has two columns, one of which is the percentage ofindividuals in the county with at least a high-school diploma (columndip), and the other is the crimerate per 100,000 residents for the counties (columnrate). Consider Y to be crime rate, and X to bepercentage with high school diploma. Use R to complete the following tasks:
(a) Plot a scatter plot of Y and X, being sure to label the axes and give a main title.
(b) Calculate the estimated regression line.
(c) Interpret the slope and intercept (if appropriate) in terms of the problem.
(d) Does there appear to be outliers in the plot from (a)? If so, identify them in R (for example, listthe pair (X,Y) that are outliers, or equivalently the row).
(e) Create a QQ plot (normal probability plot) of the residuals. Does it appear that they are normallydistributed? Explain.
(f) Create a plot of the errors vs. the fitted values (Yis). Does it appear the variance of the errorsis constant? Explain.
(g) Find the 95% confidence interval for the slope, and interpret it in terms of the problem. Doesthe interval suggest there is a significant linear relationship? Explain.
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
rate dip 8487 8179 8362 8220 6246 9100 6561 5873 7993 7932 6491 6816 9639 4595 5037 4427 6226 10768 8335 12311 10104 10503 7562 8593 7133 10205 14016 5959 3764 74 82 81 81 87 66 68 81 74 82 75 82 78 84 82 79 78 73 77 65 77 76 79 79 78 84 78 81 89 1993 7932 6491 6816 9639 4595 5037 4427 6226 10768 8335 12311 10104 10503 7562 8593 7133 10205 14016 5959 3764 4297 7562 4844 5777 3599 3219 11187 2105 6650 11371 4517 7348 5696 4995 9248 14 82 75 82 78 84 82 79 78 73 77 65 77 76 79 79 78 4 78 81 89 85 77 74 80 84 8 75 77 78 661 91 83 77 85 70 82 79 78 73 77 65 77 76 79 79 78 84 78 81 89 5037 4427 6226 10768 8335 12311 10104 10503 7562 8593 7133 10205 14016 5959 3764 4297 7562 4844 5777 3599 3219 11187 2105 6650 11371 4517 7348 5696 4995 9248 6860 9776 4280 11154 3442 9674 85 77 74 80 884 8 75 77 78 61 91 83 77 85 70 8 80 82 82 82 70 89 85 77 74 80 84 88 75 77 78 661 91 83 77 85 70 3764 4297 7562 4844 5777 3599 3219 11187 2105 6650 11371 4517 7348 5696 4995 9248 6860 9776 4280 11154 3442 9674 7309 4530 4017 7122 5689 66109 3343 5029 4330 5425 8769 6880 6538 6521 9423 88 80 82 82 82 70 64 79 83 77 76 80 84 82 81 74 81 76 78 78 (9) 82 82 70 64 79 83 7 1154 3442 9674 7309 4530 4017 7122 5689 6109 3343 5029 4330 5425 8769 6880 6538 6521 9423 9697 3805 3134 3433 2979 6836 5804 7986 10994 11322 8937 8807 11087 10355 7858 3632 8040 6981 7582 76 80 84 82 881 74 81 76 78 78 79 83 79 83 81 84 64 67 75 73 77 64 75 80 83 85 91 8 83 76 84 82 3343 5029 4330 5425 8769 6880 6538 6521 9423 9697 3805 3134 3433 2979 6836 5804 7986 10994 11322 8937 8807 11087 10355 7858 3632 8040 6981 7582 81 74 81 76 78 78 79 83 79 83 81 84 64 67 75 73 77 64 75 80 83 85 91 8 83 76 rate dip 8487 8179 8362 8220 6246 9100 6561 5873 7993 7932 6491 6816 9639 4595 5037 4427 6226 10768 8335 12311 10104 10503 7562 8593 7133 10205 14016 5959 3764 74 82 81 81 87 66 68 81 74 82 75 82 78 84 82 79 78 73 77 65 77 76 79 79 78 84 78 81 89 1993 7932 6491 6816 9639 4595 5037 4427 6226 10768 8335 12311 10104 10503 7562 8593 7133 10205 14016 5959 3764 4297 7562 4844 5777 3599 3219 11187 2105 6650 11371 4517 7348 5696 4995 9248 14 82 75 82 78 84 82 79 78 73 77 65 77 76 79 79 78 4 78 81 89 85 77 74 80 84 8 75 77 78 661 91 83 77 85 70 82 79 78 73 77 65 77 76 79 79 78 84 78 81 89 5037 4427 6226 10768 8335 12311 10104 10503 7562 8593 7133 10205 14016 5959 3764 4297 7562 4844 5777 3599 3219 11187 2105 6650 11371 4517 7348 5696 4995 9248 6860 9776 4280 11154 3442 9674 85 77 74 80 884 8 75 77 78 61 91 83 77 85 70 8 80 82 82 82 70 89 85 77 74 80 84 88 75 77 78 661 91 83 77 85 70 3764 4297 7562 4844 5777 3599 3219 11187 2105 6650 11371 4517 7348 5696 4995 9248 6860 9776 4280 11154 3442 9674 7309 4530 4017 7122 5689 66109 3343 5029 4330 5425 8769 6880 6538 6521 9423 88 80 82 82 82 70 64 79 83 77 76 80 84 82 81 74 81 76 78 78 (9) 82 82 70 64 79 83 7 1154 3442 9674 7309 4530 4017 7122 5689 6109 3343 5029 4330 5425 8769 6880 6538 6521 9423 9697 3805 3134 3433 2979 6836 5804 7986 10994 11322 8937 8807 11087 10355 7858 3632 8040 6981 7582 76 80 84 82 881 74 81 76 78 78 79 83 79 83 81 84 64 67 75 73 77 64 75 80 83 85 91 8 83 76 84 82 3343 5029 4330 5425 8769 6880 6538 6521 9423 9697 3805 3134 3433 2979 6836 5804 7986 10994 11322 8937 8807 11087 10355 7858 3632 8040 6981 7582 81 74 81 76 78 78 79 83 79 83 81 84 64 67 75 73 77 64 75 80 83 85 91 8 83 76

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions

Question

How do LSD, nicotine, and opiate drugs influence behavior?

Answered: 1 week ago

Question

Identify conflict triggers in yourself and others

Answered: 1 week ago