a)
The least absolute deviation line is,
Now, the sum of absolute deviation is obtained using the formula,
Where, is the predicted value of y using the least absolute deviation line
x | y | y-hat | y-y-hat |
2 | 21 | 1.5*2+17=20 | 1 |
3 | 20 | 21.5 | 1.5 |
11 | 38 | 33.5 | 4.5 |
7.5 | 30 | 28.25 | 1.75 |
5 | 25 | 24.5 | 0.5 |
10.5 | 32 | 32.75 | 0.75 |
16 | 41 | 41 | 0 |
SUM | 10 |
b)
The median median line is obtained in following steps,
Step 1:Sort both x and y with respect to x data points from smallest to largest.
x | y |
2 | 21 |
3 | 20 |
5 | 25 |
7.5 | 30 |
10.5 | 32 |
11 | 38 |
16 | 41 |
Step 2: Divide the data into three groups (since data points are odd put one data point in middle group)
x | y |
2 | 21 |
3 | 20 |
5 | 25 |
7.5 | 30 |
10.5 | 32 |
11 | 38 |
16 | 41 |
Step 3: Calculate median for x and y for each group,
x | y | Median x | Median y |
2 | 21 | 2.5 | 20.5 |
3 | 20 | ||
5 | 25 | 7.5 | 30 |
7.5 | 30 | ||
10.5 | 32 | ||
11 | 38 | 13.5 | 39.5 |
16 | 41 |
Step 4: The slope of the median median line is obtained by taking the gradient of upper and lower group median values,
Step 5: The median median equation is obtained from middle group median point,
c)
Actual y value for x = 11 is,
For Least absolute deviation line,
For median median line
Since the predicted value of y for median median line is closer compare to Least absolute deviation line hence median median line done a better job.
3. Use the data table below to answer the following questions: (a) The least absolute deviation line for the data i...
(1 point) Use the table below to find the standard deviation of the following data set: Use at least three decimal places of accuracy at each step. 21,28,41,41,42,47 21 28 41 41 42 47 SUM SUM SUM 12- Note: In order to get credit for this problem all answers must be correct.
My last question has gone hours without being answered, so I am submitting these again. Anyone who could help with these 10 questions would be MASSIVELY appreciated. Thank you!! 11. Find the y-intercept of the equation of the least-squares regression line for the dataset in the table. (1 poins x y 1 15 6 18 7 18 15 24 16 23 22 26 23 27 28 30 33 32 0.52 1.91 15.14 -23.91 12. For the data in the table,...
6) Compute the least-squares regression line for predicting y from x given the following summary statistics. Round the slope and y -intercept to at least four decimal places. = x 8.8 = s x 1.2 = y 30.4 = s y 16 = r 0.60 Send data to Excel Regression line equation: = y 7)Compute the least-squares regression equation for the given data set. Use a TI- 84 calculator. Round the slope and y -intercept to at least four decimal...
7) Compute the least-squares regression equation for the given data set. Use a TI- 84 calculator. Round the slope and y -intercept to at least four decimal places. x 44 38 16 20 25 38 19 y 73 68 24 30 43 66 33 Send data to Excel Regression line equation: = y 8) Price of eggs and milk: The following table presents the average price in dollars for a dozen eggs and a gallon of milk for each month...
Part 2: Statistical Analysis Table 2 Calculation of RMS Deviation Data Point i Value of data xi Deviation from Mean Squared Deviations 25 35 Sa 72 . 10. 11. 12. 13. 38 2 48 40 96 84 75 15. 16. 17. 88 18. 98 19. 63 20. 1104 Record mean value obtained figures. 49 one standard deviation, using the correct number of significant
Applied Econometrics Use the dataset attached on blackboard and answer the following questions: First study the simple linear regression model for the heart attack death rates, on the only basis of the number of phones. Determine whether the number of phone is associated significantly with the heart attack death rate. Write the multiple linear regression model for the heart attack death rates on the basis of the number of phones and the proportion of saturated fat. Compute the associated least...
Consider the data set shown below. Find the standard deviation of the least squares regression line. y 0 3 2 3 8 10 11 x -2 0 2 4 6 8 10 3) A) 1.49045 B) 1.5 C) 0.9003 D) 0.94643
Q1 Please use this sample dataset to answer the following questions: 3 26 38 22 21 35 10 16 13 22 13 25 28 36 10 4 17 15 46 32 (1) Please calculate mean, median, and mode. (2) Please calculate sample variance and sample standard deviation. (3) Please draw the stem-n-leaf plot.
Q1 Please use this sample dataset to answer the following questions: 3 26 38 22 21 35 10 16 13 22 13 25 28 36 10 4 17 15 46 32 (1) Please calculate mean, median, and mode. (2) Please calculate sample variance and sample standard deviation. (3) Please draw the stem-n-leaf plot.
3. The following questions are related to a simulated data Y. The least square method was used to fit a model of the form Ý, 0 + At + t 1, . .200. The regression output, the ACF plot of the standardized residuals (after regressing Y on time) and the code is below. The code is not needed to answer the question a. Estimate the slope and the intercept of the least regression line for the data. b. What percentage...