(b) Verify the given sums Ex, £y, Ex², Ey², Exy, and the value of the sample correlation coefficient r. (Round your value for r to four decimal places.) Ex = Ey = Ex2 = Ey2 = Exy = r= (c) Find x, and y. Then find the equation of the least-squares line ŷ = a + bx. (Round your answer to four decimal places.) x = y = ý = (d) Graph the least-squares line. Be sure to plot the point (x, y) as a point on the line. y y 10- 10 5 5 a b. -5 4 8 10 12 14 2 4 8 10 12 14 y y 10 10 5 of d. 2 4 6 8 10 12 14 4 8 10 12 14

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Does prison really deter violent crime? Let x represent percent change in the rate of violent crime and y represent percent change in the rate of imprisonment in the general U.S. population. For 7 recent years, the following data have been obtained.

Does prison really deter violent crime? Let x represent percent change in the rate of violent crime and y represent percent change in the rate of imprisonment in the general U.S. population. For 7 recent years, the following data have been obtained.
6.0
5.9
4.2
5.2
6.2
6.5
11.1
y
-1.5
-4.0
-7.4
-4.0
3.6
-0.1
-4.4
Complete parts (a) through (e), given Ex = 45.1, Ey = -17.8, Ex? = 319.39, Ey? = 121.34, Exy = -111.65, and rx 0.0648.
(a) Draw a scatter diagram displaying the data.
Transcribed Image Text:Does prison really deter violent crime? Let x represent percent change in the rate of violent crime and y represent percent change in the rate of imprisonment in the general U.S. population. For 7 recent years, the following data have been obtained. 6.0 5.9 4.2 5.2 6.2 6.5 11.1 y -1.5 -4.0 -7.4 -4.0 3.6 -0.1 -4.4 Complete parts (a) through (e), given Ex = 45.1, Ey = -17.8, Ex? = 319.39, Ey? = 121.34, Exy = -111.65, and rx 0.0648. (a) Draw a scatter diagram displaying the data.
(b) Verify the given sums Ex, Ey, Ex?, Ey?, Exy, and the value of the sample correlation coefficient r. (Round your value for r to four decimal places.)
Ex =
Ey =
Ex2 =
Ey2 =
Σχy
r =
(c) Find x, and y. Then find the equation of the least-squares line ý = a + bx. (Round your answer to four decimal places.)
x =
y=
(d) Graph the least-squares line. Be sure to plot the point (x, y) as a point on the line.
y
y
10F
10
5
5
a
b.
-5
2
4
8
10
12
14
2
4
8
10
12
14
y
10
10H
5
5
d
2
4
6.
8
10
12
14
4
6.
8
10
12
14
Transcribed Image Text:(b) Verify the given sums Ex, Ey, Ex?, Ey?, Exy, and the value of the sample correlation coefficient r. (Round your value for r to four decimal places.) Ex = Ey = Ex2 = Ey2 = Σχy r = (c) Find x, and y. Then find the equation of the least-squares line ý = a + bx. (Round your answer to four decimal places.) x = y= (d) Graph the least-squares line. Be sure to plot the point (x, y) as a point on the line. y y 10F 10 5 5 a b. -5 2 4 8 10 12 14 2 4 8 10 12 14 y 10 10H 5 5 d 2 4 6. 8 10 12 14 4 6. 8 10 12 14
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Research Ethics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman