1)
a)
X | Y | XY | X^2 | Y^2 |
1 | 6 | 6 | 1 | 36 |
2 | 7 | 14 | 4 | 49 |
3 | 5 | 15 | 9 | 25 |
4 | 4 | 16 | 16 | 16 |
5 | 3 | 15 | 25 | 9 |
6 | 1 | 6 | 36 | 1 |
7 | 2 | 14 | 49 | 4 |
n | 7 |
sum(XY) | 86.00 |
sum(X) | 28.00 |
sum(Y) | 28.00 |
sum(X^2) | 140.00 |
sum(Y^2) | 140.00 |
Numerator | -182.00 |
Denominator | 196.00 |
r | -0.9286 |
r square | 0.8622 |
Xbar(mean) | 4.0000 |
Ybar(mean) | 4.0000 |
SD(X) | 1.7078 |
SD(Y) | 1.9720 |
b | -0.9286 |
a | 7.7143 |
r = -0.93
(b)
X | Y | XY | X^2 | Y^2 |
1 | 2 | 2 | 1 | 4 |
2 | 1 | 2 | 4 | 1 |
3 | 4 | 12 | 9 | 16 |
4 | 3 | 12 | 16 | 9 |
5 | 7 | 35 | 25 | 49 |
6 | 5 | 30 | 36 | 25 |
7 | 6 | 42 | 49 | 36 |
n | 7 |
sum(XY) | 135.00 |
sum(X) | 28.00 |
sum(Y) | 28.00 |
sum(X^2) | 140.00 |
sum(Y^2) | 140.00 |
Numerator | 161.00 |
Denominator | 196.00 |
r | 0.8214 |
r square | 0.6747 |
Xbar(mean) | 4.0000 |
Ybar(mean) | 4.0000 |
SD(X) | 1.7078 |
SD(Y) | 1.9720 |
b | 0.8214 |
a | 0.7143 |
r = 0.82
(c)
X | Y | XY | X^2 | Y^2 |
1 | 7 | 7 | 1 | 49 |
2 | 6 | 12 | 4 | 36 |
3 | 5 | 15 | 9 | 25 |
4 | 4 | 16 | 16 | 16 |
5 | 3 | 15 | 25 | 9 |
6 | 2 | 12 | 36 | 4 |
7 | 1 | 7 | 49 | 1 |
n | 7 |
sum(XY) | 84.00 |
sum(X) | 28.00 |
sum(Y) | 28.00 |
sum(X^2) | 140.00 |
sum(Y^2) | 140.00 |
Numerator | -196.00 |
Denominator | 196.00 |
r | -1.0000 |
r square | 1.0000 |
Xbar(mean) | 4.0000 |
Ybar(mean) | 4.0000 |
SD(X) | 1.7078 |
SD(Y) | 1.7078 |
b | -1.0000 |
a | 8.0000 |
r = -1.00
1. For cach of the data sets shown below, calculater. (6) X y 16 27 3...
Consider the following small data set. x-11 y- 22 , x-15 y-16 , x-12 y-27 , x-6 y-26 ,x-5 y- 21 Find the linear correlation coefficient. r=
Identify the histogram for the frequency distribution below. Data Frequency 2-6 2 7-11 3 12-16 3 17-21 4 22-26 3 Identify the histogram for the frequency distribution below Data Frequency 2-6 2 7-11 3 12-16 3 17-21 4 22-26 3 3.5 .5 0.5 12 17 22 27 12 1 17 22 27 2 71217 22 27 2 71217 22 27 dara data data
For the data below, what is the value of Pearson’s r? X Y 5 4 6 3 8 6 9 6 4 4 s x = 2.07 s y = 1.34 .21 .37 .63 .79
Consider the following data on x and y shown in the table below, x 2 4 7 10 12 15 18 20 21 25 y 5 10 12 22 25 27 39 50 47 65 Fit the model E(y)=β0+β1x to the data, and plot the residuals versus x for the model on Minitab. Do you detect any trends? If so, what does the pattern suggest about the model?
The graph of y = f(x) is shown below: y = f(.) 1 2 3 4 5 6 7 8 9 For which values of S and is the following statement FALSE: If 2 - 51 < 8, then f(x) - 2 < 8=1, € = 2 • 8 = 2, = 1.5 8 = 1, € = 3 6= 3, € = 1.5
Based on the data shown below, calculate the correlation coefficient (to three decimal places) x y 4 23.14 5 21.07 6 19.1 7 18.33 8 19.86 9 18.49 10 18.42 11 19.45 12 19.28 13 18.61 14 16.34 15 15.97 16 15.4
Calculate the average deviation: Formula AD = ∑|X-mean|)/N Data: (X) X-mean |X- mean| 17.5 27 16 17 28 27.5 16.5 16.5 6 26 18.5 20 25 21 27 23 22.5 20.5 25 21 27 27.5
16. Verify the correctness of the following program segment with the assertions shown. x=z+1 y=x+2 y-6) if y >0 then z=y' + 1 else z=2*y end if (z = 7} 16. Verify the correctness of the following program segment with the assertions shown. x=z+1 y=x+2 y-6) if y >0 then z=y' + 1 else z=2*y end if (z = 7}
For the data set shown below, complete parts (a) through (d) below. x 3 4 5 7 8 y 3 7 6 11 14 (a) Find the estimates of beta 0 and beta 1 . beta 0 almost equalsb 0equalsnothing (Round to three decimal places as needed.) beta 1 almost equalsb 1equalsnothing (Round to three decimal places as needed.)
Question 3. For each of the following data sets use R to i) sketch a scatterplot and the line of best fit. ii) calculate the covariance, correlation and r2 values. Interpret each number. Data set 1. x: -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6 y: -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1 Data set 2. x: 1, 2, 3, 4, 5, 6, 7 y: 5.1, 8.0, 15.5, 10.3,...