ECMT1010 Lecture Notes - Lecture 10: The Intercept, Test Statistic, Confidence Interval
Document Summary
The generic equation of a regression line is: The regression line to predict y from x is not the same as the regression line to predict x from: a regression line is in the form: (cid:1844)(cid:1857)(cid:1871)(cid:1868)(cid:1867)(cid:1866)(cid:1871)(cid:1857) =(cid:1854)(cid:2868)+(cid:1854)(cid:2869) (cid:1831)(cid:1876)(cid:1868)(cid:1864)(cid:1853)(cid:1866)(cid:1853)(cid:1872)(cid:1867)(cid:1870)(cid:1877) The equation of the regression line is often called a prediction equation because we can use it to make predictions. We substitute the value of the explanatory variable into the prediction equation to calculate the predicted response. We seek the predicted temperature, given 140 chirps per minute. If the predicted values closely match the observed data values, the residuals will be small. The least squares line, also called the line of best fit is the line which minimises the sum of the squared residuals. Interpreting the slope and intercept of the regression line: Regression cautions: avoid trying to apply a regression line to predict values far from those that were used to create it, plot the data!