# Inference for Multiple Linear Regression in Microsoft® Excel

## Chapter 9, Printout 2

1. Launch Excel.

2. Enter the data.

• Type "x1" in cell A1; then, in cells A2-A18, enter the Air Flow data from Table 4.8 (p. 150).

• Type "x2" in cell B1; then, in cells B2-B18, enter the Cooling Water Inlet Temperature data from the table.

• Type "x1^2" in cell C1.

• In cell C2, type "=A2^2"

• Select cells C2-C19.

• Select "Edit --> Fill --> Down."

Excel fills cells C2-18 with the squares of the values in cells A2-A18.

• Type "y" in cell D1; then, in cells D2-D18, enter the Stack Loss data from Table 4.8.

Screenshot:

3. Compute the multiple linear regression.

• Select "Tools --> Data Analysis."

• In the dialog that follows, select "Regression" from the list of options.

Screenshot:

• Click "OK."

• Fill out the resulting dialog box as follows:

Input Type Label Value
Input Y Range: \$D\$1:\$D\$18
Input X Range: \$A\$1:\$C\$18
Labels checked
Constant is Zero unchecked
Confidence Level unchecked
New Worksheet Ply: selected
New Worksheet Ply:
Residuals unchecked
Residual Plots unchecked
Standardized Residuals unchecked
Line Fit Plots unchecked
Normal Probability Plots unchecked

Screenshot:

• Click "OK."

Excel creates a new sheet in the workbook with the summary information.

Screenshot:

Note: you can resize all columns to fit their contents by selecting all the cells you want to resize, then selecting "Format --> Column --> Autofit Selection."