Example of regression fit
main topic
    
see also  

In the Example of a simple scatterplot, you examine the relationship between voltage remaining in your batteries immediately after a flash and the length of time required for a battery to be ready to support another flash. You want to fit a regression line.

Note

You can also fit a regression line by choosing a With Fit option from the histogram gallery.

 

1    Open the worksheet BATTERIES.MTW.

2    Choose Graph > Scatterplot.

3    Choose Simple, then click OK.

4    Under Y variables, enter FlashRecov. Under X variables, enter VoltsAfter.

5    Click Data View.

6    Click the Regression tab.

7    Choose Linear.

8    Click OK in each dialog box.