Regression (Single Predictor)

Overview | How to | Example

 


 

Overview

This procedure performs regression with a single predictor, in linear, second-order or third-order polynomial terms. The residuals and fitted values of the response are shown in Columns AC:AD.

 


 

How to

At the Excel Menu (For Excel 2007, go to Add-ins first)

  1. Choose ProcessMA > Statistics > Regression > Regression (Single Predictor)

  2. In Response, select the column containing the response data (Numeric)

  3. In Predictor, select the column containing the predictor data (Numeric)

  4. In Model, choose the order of the regression equation

  5. Check Plot Residual, if you want to display residual plots

  6. Check Plot Fitted Line, if you want to display the fitted line plot

  7. Check Show Confidence Bands, if you want to plot confidence bands in the fitted line plot

  8. Check Show Prediction Bands, if you want to plot prediction bands in the fitted line plot

  9. In Confidence Level, enter the desired confidence level (Numeric, >0 & <1)

  10. Click OK
 

 

Example

You want to model the relationship between the size of the valve and the speed of the machine using a quadratic model. You collected data on various settings of the valve size and the resultant speed of the machine.

  1. Open data worksheet by choosing ProcessMA > Tools > Data

  2. Choose ProcessMA > Statistics > Regression > Regression (Single Predictor)

  3. In Response, select O - Speed

  4. In Predictor, select P - Valve

  5. In Model, choose Quadratic

  6. Check Plot Residual

  7. Check Plot Fitted Line

  8. Check Show Confidence Bands

  9. Check Show Prediction Bands

  10. Click OK

 

Results & Interpretation

The p value for the model suggests a good fit to the data. The R2 value indicates that about 94% of the variation in speed is explained by the variation in the valve size. The 95%CL lines are the confidence limits for the machine speed and the 95% PL lines are the prediction limits for new observations.

 


 

Copyright © ProcessMA