dentifying the Line of Best Fit (Least Squares Regression)
Question
A random sample of 11 workers produced the following data, where x is the years of employment, and y is the average number of minutes required to complete the morning duties. The data are presented below in the table of values.
x | y |
---|---|
5 | 49 |
8 | 42 |
10 | 41 |
12 | 39 |
15 | 37 |
16 | 34 |
19 | 30 |
22 | 25 |
25 | 24 |
27 | 22 |
28 | 16 |
What is the equation of the regression line?
Select the correct answer below:
yˆ=10.082x+54.2
yˆ=−1.267x+17.0
yˆ=−1.267x+54.2
yˆ=10.082x+17.0
X | Y | (x-x̅)² | (y-ȳ)² | (x-x̅)(y-ȳ) |
5 | 49 | 144.00 | 267.8 | -196.4 |
8 | 42 | 81.00 | 87.7 | -84.3 |
10 | 41 | 49.00 | 70.0 | -58.5 |
12 | 39 | 25.00 | 40.5 | -31.8 |
15 | 37 | 4.00 | 19.0 | -8.7 |
16 | 34 | 1.00 | 1.9 | -1.4 |
19 | 30 | 4.0 | 7.0 | -5.3 |
22 | 25 | 25.00 | 58.3 | -38.2 |
25 | 24 | 64.00 | 74.6 | -69.1 |
27 | 22 | 100.00 | 113.1 | -106.4 |
28 | 16 | 121.00 | 276.77 | -183.00 |
ΣX | ΣY | Σ(x-x̅)² | Σ(y-ȳ)² | Σ(x-x̅)(y-ȳ) | |
total sum | 187 | 359 | 618.000 | 1016.5 | -783 |
mean | 17.00 | 32.64 | SSxx | SSyy | SSxy |
sample size , n = 11
here, x̅ = 17.00 , ȳ
= 32.6363
SSxx = Σ(x-x̅)² = 618.00
SSxy= Σ(x-x̅)(y-ȳ) = -783.0
slope , ß1 = SSxy/SSxx =
-1.2670
intercept, ß0 = y̅-ß1* x̄ =
54.1752
so, regression line is Ŷ = −1.267x
+ 54.2
dentifying the Line of Best Fit (Least Squares Regression) Question A random sample of 11 workers...
2. Use least-squares regression to fit a straight line to r 6 7 11 15 17 21 23 29 29 37 39 29 21 29 14 21 157 13 03 Plot the data and the regression line using Matlab (submit plot). If someone made an additional measurement of 10. y 10, would you suspect, based on a visual assessment and the standard error, that the measurement was valid or faulty? Explain.
2. Use least-squares regression to fit a straight line...
Using the data below find the slope and intercept for the least squares regression line. (SHOW ALL STEPS/WORK) x y xy x2 y2 16 109 1744 256 11881 25 122 3050 625 14884 39 143 5577 1521 20449 45 132 5940 2025 17424 49 199 9751 2401 39601 64 185 11840 4096 34225 70 199 13930 4900 39601 29 130 3770 841 16900 57 175 9975 3249 30625 22 118 2596 484 13924 416 1512 68173 20398 239514
The least squares regression line for the cost of a diamond necklace from a department store (y, in dollars) in the year x years since 2000 is given by yˆ=1823+314x. Interpret the y-intercept of the least squares regression line.
A random sample of 11 employees produced the following data, where x is the consecutive hours worked, and y is current employee satisfaction (out of a maximum of 100 points). The data are presented below in the table of values. x y 4 86 5 76 7 92 8 71 10 63 11 70 12 58 14 57 16 49 18 45 19 46 What is the equation of the regression line? ˆ=−3.864x+97.1 yˆ=−3.864x+87.3 yˆ=−2.864x+97.1 yˆ=−1.864x+87.3
For the data set below (a) Determine the least-squares regression line. (b) Graph the least-squares regression line on the scatter diagram. x 4 5 6 7 9 y 710 8 14 17 (a) Determine the least-squares regression line. (Round to four decimal places as needed.)
For the data set below, (a) Determine the least-squares regression line. (b) Graph the least-squares regression line on the scatter diagram. 6 7 y 7 10 8 14 17 (a) Determine the least-squares regression line. (Round to four decimal places as needed.)
least squares to fit a straight line
Pre-lab A-3 Least Squares Fit to a Straight Line Read lab A-3: Least squares fit to a straight line. A set of data is given in the following table and plotted on the right: x(s) y (m) Lab 3 exercise 27 Use the graph on the right to calculate the slope and the intercept of the line. 1 2 3 4 5 Slope Intercept Use equations (6) in the lab manual to calculate...
please solve it with codes in Matlab
3) 6 11 12 15 17 19 TO 7 12 :12 Use least-squares regression to fit a straight line to the list of data in the accompanying table. Give the slope and the intercept Compute the correlation coefficient Give an estimation of y for r 10 Slope: Intercept: Your answer: Your Answer Page 1 of 1
3) 6 11 12 15 17 19 TO 7 12 :12 Use least-squares regression to fit a...