This page includes Step-by-Step instructions to use MS Excel to calculate the multiple regression equation for the Temperature/Sun/Water example.  


Example: Assume that for 7 randomly selected days during a three-hour period spent outside, a person recorded the outside temperature, whether they were in the sun or not, and their water consumption.  The number 1 indicates the sun was present and the number 0 indicates that the sun was not present.

Use Excel to find the Multiple Regression Equation if the amount of  the amount of water consumed is dependent on the temperature and the presence of sun.  Use the data given below.

 

Temperature (F) Sun Water Consumption (ounces)
75 1 16
83 0 20
85 0 25
85 1 27
92 0 32
97 1 48
99 0 48

 


 

Preliminaries: Make sure you have the Data Analysis Tool Pak loaded.  (Click here for additional information.  Use the back button on your browser to return to this page.)


Preliminaries: Entering the data. 


Procedure· 

  1. From the main menu select Tools>Data Analysis
  2. From the Data Analysis dialog box, scroll down and select Regression. Click OK
  3. The Regression dialog box should appear.

     

  1. Save your work. Select FILE > SAVE AS. Call the data set ExcelIndicator.

Learn the Procedure for Modeling with Indicator Variables

  

Regression Tutorial Menu    Dictionary

STATS @ MTSU