In this assignment you will be working with a very small data set. You need to build a regression from the ground up. I want you to focus on your understanding of the regression error term. Specifically, can you have an error term without first having a regression line?
Read pages 9-25 in the Lewis-Beck book Applied Regression for help.
| X | Y |
|---|---|
| 2 | 1 |
| 4 | 5 |
| 6 | 6 |
| 8 | 7 |
| 10 | 11 |
Our regression model is: \(y = b_0 + b_1 x + e\)
The variance/covariance of our data is:
var(x): 10
var(y): 13
cov(x,y): 11
ANSWER:
ANSWER:
\(\bar{y} = b_0 + b_1 \bar{x}\)
ANSWER:
ANSWER:
ANSWER:
Replace each a in the table with the correct value.
| X | Y | \(\hat{Y}\) | e | \(e^2\) |
|---|---|---|---|---|
| 2 | 1 | a | a | a |
| 4 | 5 | a | a | a |
| 6 | 6 | a | a | a |
| 8 | 7 | a | a | a |
| 10 | 11 | a | a | a |
ANSWER:
ANSWER:
| Df | Sum Sq | Mean Sq | F value | Pr(>F) | |
|---|---|---|---|---|---|
| x | 1 | 48.4 | 48.4 | 40.33 | 0.007898 |
| Residuals | 3 | 3.6 | 1.2 | NA | NA |
After you have completed your lab, knit your RMD file. Login to Canvas at http://canvas.asu.edu and navigate to the assignments tab in the course repository. Upload your RMD and your HTML files to the appropriate lab submission link.
You can create a new RMarkdown file, or download the lab template: RMD Template
Remember to: