

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Simple Linear Regression Analysis: CH 9 Y = bo + b 1 X + € Regression Output: -Enter response variable into C1 & predictor variable into C2. STAT-REGRESSION-REGRESSION… In dialogue box, specify C2 as response and C1 as PREDICTORS. Residual Plots: In the STAT-REGRESSION-REGRESSION box, input response & predictor data… In dialogue box, click GRAPHS – enter C1 in the residuals vs the variables box, click OK. Estimation and Prediction: Enter response variable into C1 & predictor into C2. STAT-REGRESSION-REGRESSION… Complete the dialogue box with C1 & C2 in response and predictor spots, click OPTIONS- enter the value of X for which an estimate of the mean of Y and/or a prediction of Y is desired in the PREDICTION INTERVALS FOR NEW OBSERVATIONS box (only 1 value at a time). Click the buttons for FITS (estimated mean value and predicted value), SDs of FITS (standard error of the estimated mean value), CONFIDENCE LIMITS, and PREDICTION LIMITS – Click OK. Correlation Coefficient: Choose STAT-BASIC STATISTICS-CORRELATION… In the dialogue box, enter C1 C2, and click OK. Selling Price Problem: Predict selling price of one house in a population of houses. Y = selling price (response variable) X = area of house in square feet (predictor variable) *if knowledge of X is useful in predicting Y, there is an association between X & Y. *there is causation if a change in X results in a change in Y. Step 1: Graph points on a scatter plot. Stat-Regression-Regression-Response Variable is Y, Predictor is X-graphs-check normal plot-OK Step 2: Use equations to find b 1 , bo, & €. (by hand, this info is given in Minitab output) If b1 is 0, then there is no linear association between Y & X. SP(XY) = Σ(Xi – Xavg)(Yi – Yavg) SS(X) = Σ(Xi – Xavg)² Step 3: Estimate the Error Variance σ€² Use estimator S€² to estimate σ€² S€² = SSE / n-2; where SSE = Σ(Yi – Yavg)² In Minitab output, the residual variance will be under MS column and in the Error row Residual variance = MSE, mean square for error S€² measures how well the regression line fits the sample Y-values If S€² is closer to 0, the fit is close to perfect The larger the value of S€², the worse the fit of the line In Minitab output, s = 2.503 (whatever #) is the residual standard deviation Residual standard deviation = RMSE, root mean square for error Step 4: Coefficient of Determination: Partitioning the Total Variation Objective of regression is to find the best fit to make the value of S€² as small as possible To find that best fit we use Coefficient of Determination, r² r² = SSR / SST = SST – SST / SST
In Minitab output, it is listed next to s = 2.503, as R-sq = .8272, or 82.72% The greater the variation among sample Y-values, the more difficult they are to predict Coefficient of determination always lies between 0 and 1; a value closer to 0 indicates the estimated regression explains little of the variation in the sample; where a value close to 1 indicates the estimated regression equation explains most of the variation in the sample Y- values. The greater the coefficient of determination, the better the fit and more effective the estimated regression equation is at predicting Y. Assumptions of Model: -Simple linear model correctly depicts the association between response and predictor variables. -Error variance is constant. -Random errors are independent. -Random errors are normally distributed. Mean and Standard Error of b1 & bo If b1 > 0 or if b1 <0, there is a presence of linear relationships If b1 = 0, no linear relationship present. E(b1) = β SE(b1) = √ S€² / SS(X) Sampling Distribution of b T = b1 – β1 / SE(b1) The statistic has a T distribution with n-2 degrees of freedom. Hypothesis Testing for β Ho: β1 = 0 Ha: β1 ≠ 0 Stat-BASIC STATISTICS-1 SAMPLE T, etc, etc. ANOVA Approach to β Ho: β1 = 0 Ha: β1 ≠ 0 Stat-BASIC STATISTICS-ANOVA-1 way Unstacked, enter response & predictor-OK Multiple Linear Regressions: CH 10 Fitting Regression Models: Enter the data, sales into C1, price into C2, temperature into C3, type of day data into C4 (0 for weekdays and 1 for weekends), and the humidity into C5. Choose STAT-REGRESSION-REGRESSION… In the dialogue box, specify C1 as the Response variable, and C2 & C3 as predictor variables, click the results button… In the results dialogue box, click the button for IN ADDITION, THE FULL TABLE OF FITS AND RESIDUALS, click OK twice. To compute the predicted values and the residuals, in the REGRESSION dialogue box, click STORAGE button, in STORAGE dialogue box, click the boxes for RESIDUALS and FITS, click OK. This will place the predicted values and residuals in C6 (FITS1) and C7 (RESI1), respectively. Estimation and Prediction: