x y xy x2 y2
3 4 12 9 16
4 6 24 16 36
5 7 35 25 49
7 12 84 49 144
8 14 112 64 196
_____________________________________________
27 43 267 163 441
Find the slope and intercept
| X | Y | X * Y | X2 | |
| 3 | 4 | 12 | 9 | |
| 4 | 6 | 24 | 16 | |
| 5 | 7 | 35 | 25 | |
| 7 | 12 | 84 | 49 | |
| 8 | 14 | 112 | 64 | |
| Total | 27 | 43 | 267 | 163 |
Equation of regression line is Ŷ = a +
bX
b = ( n Σ(XY) - (ΣX* ΣY) ) / ( n Σ X2 - (ΣX)2
)
b = ( 5 * 267 - 27 * 43 ) / ( 5 * 163 - ( 27 )2)
b = 2.0233
a =( ΣY - ( b * ΣX ) ) / n
a =( 43 - ( 2.0233 * 27 ) ) / 5
a = -2.3256
Equation of regression line becomes Ŷ = -2.3256 + 2.0233
X
Slope b = 2.0233
Intercept a = - 2.3256
x y xy x2 y2 3 4 12 9 16 4 6 24 16 36 5 7 35 25 49 7 12 84 49 144 8 14 112 64 196 _____________________________________________ 27 43 267 163 441 Find the slope and intercept
5. Compute the slope and intercept for the following data: X Y XY X*X Y*Y 2 12 24 4 144 7 20 140 49 400 9 23 207 81 529 1 14 14 1 196 5 15 75 25 225 12 24 288 144 576 36 108 748 304 2070
Compute the slope and intercept for the following data: X Y XY X*X Y*Y 2 12 24 4 144 7 20 140 49 400 9 23 207 81 529 1 14 14 1 196 5 15 75 25 225 12 24 288 144 576 Sum36 108 748 304 2070 The last row is the sum of the numbers and not another data set.
Step 4 -92,850, and (c) Use a calculator to verify that ΣΧ-56, ΣΧ2-826, Σ y·642. Σ y, xy 8.604. Compute r. As x increases from 3 to 21 months, does the value of r imply that y should tend to increase or decrease? Explain your answer First, we construct a computation table so that we can calculate the values of x2, y2, and xy. Then we sum each column to compute each summation. 3600 9025 12 14 21 60 95...
Write a bash shell Script to look like this using C-style nest for loop. | 1 2 3 4 5 6 7 8 9 10 11 12 -----+------------------------------------------------------------ 1 | 1 2 3 4 5 6 7 8 9 10 11 12 2 | 2 4 6 8 10 12 14 16 18 20 22 24 3 | 3 6 9 12 15 18 21 24 27 30 33 36 4 | 4 8 12 16 20 24 28 32 ...
Write a program in C that stores the result of all
multiplications between 1 and 9 in a two-dimensional int array and
then prints the contents of the array to the screen. Also, write
some comments in the code.
Example:
Expected output: 1 4 6 7 8 8 1 12 14 16 18 4 3 6 9 12 15 18 21 24 27 4 8 12 16 20 24 28 32 36 5 1e 15 20 25 30 35 40...
Find the x-intercept and the y-intercept of each equation. 33. - 3x + 2 y = 12 34 34. 2x – 3y = 24 CHAP FUN Find the slope of the line through each pair of points. 36. (-8, 6) and (-8,-1) In ma relati types an ir 35. (-12, 3) and (-12, -7) 37. (6, -5) and (-12,-5) Find the slope of each line. 38. 3x – 2y = 3 40. x = 6 39. y = 5x +12...
A random variable X is said to follow a lognormal
distribution if Y = log(X) follows a normal
distribution. The lognormal is sometimes used as a model for
heavy-tailed skewed distributions.
please answer the follow:
110 15 60 5419 15 73 190 57 4344 18 37 43 55 19 23 82 175 50 80 65 63 36 6 10 17 52 43 70 22 95 20 4 17 15 12 29 29 6 22 40 17 26 30 16 116...
Write a C or C++ program
A6pc(pp) that accepts one command
line argument which is an integer n between 2 and 6
inclusive. Generate a string of 60 random upper case English
characters and store them somewhere (e.g. in a char array). Use
pthread to create n threads to convert the string into a
complementary string (‘A’<->’Z’, ‘B’<->’Y’,
‘C’<->’X’, etc). You should divide this conversion task among
the n threads as evenly as possible. Print out the string
both before...
2. Find the slope of the tangent line to f(x, y) 6-x2 + xy - y2 at (4, 2), toward the point (7, 1). Then find the maximum slope and its direction
2. Find the slope of the tangent line to f(x, y) 6-x2 + xy - y2 at (4, 2), toward the point (7, 1). Then find the maximum slope and its direction