













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!














Excel Statistics & Regression Tools Review Focus The focus of this assignment is on understanding the mechanics of running a regression analysis using Excel. In addition, Excel’s descriptive statistics generator is briefly explored.
Excel includes a built-in regression tool in its Analysis ToolPak. Although the regression tool is relatively easy to use it has some limitations. For example, if you use multiple variables for the X range in the regression, the variables must be located next to one another in the worksheet. And, the regression outputs this tool generates are tightly packed into a worksheet making them relatively hard to read, especially if you choose to generate charts.
Skills The Data Analysis ToolPak Excel Regression Naming Ranges Excel Data Analysis ToolPak Descriptive Statistics
Files You Need To complete the work for this assignment, download this file from the class “Review Files” web page: StatsRegr.xlsx.
Deliverable Complete the Statistics and Regression Tools for Excel Review online quiz.
Notes For your convenience the instructions in this assignment are divided into these sections:
Completing the Assignment: Summary Descriptions Short descriptions of the assignment requirements, useful if you are already familiar with the core skills.
Completing the Assignment: Detailed Descriptions More detailed descriptions of the assignment tasks and techniques, useful if you are unfamiliar with the assignment topics. You may find it helpful to have a good Excel reference guide on hand or to become familiar with Excel’s online help.
A Skills Review Summary for this Assignment
Statistics and Regression Tools Review: Summary Descriptions
Task 1: Use Excel to Run a Multiple Regression & Create a Chart of Results Use Excel’s built-in regression tool to analyze whether a variety of information about price, advertising, income, etc. collected by the Mrs. Smyth’s Gourmet Frozen Fruit Pie Company can predict company pie sales. Make the “Task 1–Pie Data” worksheet current. Then:
End of the Task 1 Summary Description
Task 2: Use Excel’s Descriptive Statistics Generator to Analyze Data Make the “Task 2-Auto Imports” worksheet current. This sheet contains data on imports into the U.S. passenger car market from 1971 to 1997, comparing Korean, Japanese, and German import sales with sales of passenger cars manufactured in North America.
Task 2 Intermediate Check In the set of initial results, many columns are not wide enough to display their data completely. In addition, Excel generates a column of descriptive statistics labels (Mean, Standard Error, Median, etc.) for each country/region analyzed (Columns A, C, E, and G). This label redundancy makes the output more difficult to read.
Statistics and Regression Tools Review: Summary Descriptions
End of the Task 2 Summary Description
End of the Statistics and Regression Tools Review Summary Description
Statistics and Regression Tools Review: Detailed Descriptions
For the data in the “Task 1–Pie Data” worksheet, you need not rearrange the data. The X variables are together in Columns F through K and the Y variable values are all in Column E.
2. Run the Regression Analysis In the “Data” tab on Excel’s ribbon find the “Analysis” group and choose “Data Analysis”.
Excel opens its “Data Analysis” dialog. Scroll down and find the “Regression” option. Click OK.
Columns not used in the regression.
Independent, X variables, located together in the worksheet.
The dependent, Y variable.
Statistics and Regression Tools Review: Detailed Descriptions
The “Regression” dialog displays. This is the sole interface to Excel’s regression tool. All your interaction with Excel’s regression tool happens in this dialog.
Complete the “Regression” dialog box as follows:
With data ranges and choices specified, your dialog should now look like the one below.
(^1) In this selection operation be careful to select data and header only and not an entire column. Here’s an
easy way to select just the contiguous data from a column of data: Click the top cell. Depress the SHIFT key. Tap the End key and then tap the down arrow key. Excel selects all data down the column until it reaches the first empty cell in the column.
Statistics and Regression Tools Review: Detailed Descriptions
To rename this worksheet “Task 1” right-click the worksheet tab and enter the name in place of the default worksheet name.
Task 1 Intermediate Check Selecting the Residuals, and Standardized Residuals options in the “Regression” dialog produces the output partially shown below.
In this view columns have been widened to show the results completely.
Excel labels the output areas “SUMMARY OUTPUT”, “ANOVA”, and “RESIDUAL OUTPUT”.
3. Create a Chart Create a line chart comparing the actual Unit Sales in the “Task 1 –Pie Data” worksheet with the Predicted Unit Sales produced by the regression analysis.
Partial view of Excel’s regression output Partial view of the “Task 1 - Pie Data” showing the “Predicted Unit Sales”. worksheet showing “Unit Sales”.
Statistics and Regression Tools Review: Detailed Descriptions
The data needed to create this chart are located on two different worksheets. The Unit Sales data is on the original “Task 1–Pie Data” worksheet. The Predicted Unit Sales data – output by the regression analysis – is under the “Residual Output” header on the worksheet of outputs you just generated and now named “Task 1”.
To create a chart using data from two different sheets:
Drag the chart to the right of the RESIDUAL OUTPUT section of the worksheet. The basic chart and its location in relation to the outputs on your “Task 1” worksheet should look like the illustration below.
Statistics and Regression Tools Review: Detailed Descriptions
Range Naming Note You need not name the ranges of data you plan to use in an Excel analysis, but being able to work with named ranges can be helpful. When the data already has headers (as does the data we used in Task 1), a quick way to assign names to all the variables is to:
Depress and hold down the Shift key, tap and release the End key, and tap and release the down arrow key. Release the Shift key. Excel selects all the data beneath the selected headers for you.
Partial view.
Next, click the “Formulas” tab and find the “Defined Names” group.
Choose the “Create from Selection” button. Excel opens a “Create Names from Selection” dialog.
Choose the “Top row” option in this dialog and click OK.
Statistics and Regression Tools Review: Detailed Descriptions
Excel uses the text in the top row of each column of data as the range name for that column.
Choose the “Name Manager” button in the same “Defined Names” group to open a dialog that displays all the named ranges in your workbook. The names from the selected headers in the pie data should be listed in this dialog.
You can now use any of these names in place of their corresponding range references to refer to those ranges. For example, the range E10:E57 can be referred to by the range name “Unit Sales”.
Additional Notes A range named in this way (using create from selection) does not include the header cell that provides the name. If a header consists of two or more words separated by spaces, Excel automatically replaces the spaces with underscores in the range names. Two other ways to create a range name:
Statistics and Regression Tools Review: Detailed Descriptions
Make the “Task 2 - Auto Imports” worksheet current. This worksheet contains data on imports into the U.S. passenger car market from 1971 to 1997, comparing Korean, Japanese, and German import sales with sales of passenger cars manufactured in North America.
Choose the “Data” tab and find the “Analysis” group. Click the “Data Analysis” button. Select the “Descriptive Statistics” option to open the dialog for that tool. Complete the “Descriptive Statistics” dialog as follows:
Excel automatically converts any cell references you enter in this dialog to absolute references.
Statistics and Regression Tools Review: Detailed Descriptions
Columns with redundant labels
Excel generates a complete set of descriptive statistics for the data that looks like the illustration that follows.
Task 2 Intermediate Check The initial results remain selected; click any cell to deselect the range. In this “raw” output, many columns are not wide enough to display their data completely. In addition, Excel generates a column of descriptive statistics labels (Mean, Standard Error, Median, etc.) for each country/region analyzed (Columns B, D, F, and H). This label redundancy makes the output more difficult to read.
Widen columns so all the data is visible and edit the output so it has a single labels column at the left of the data. Arrange the output so country/region names are above their data. Use Excel’s delete and move options to rearrange the data.
For example, select the data for Japan and drag it to the left.
Excel Statistics & Regression Tools Review Skills Summary
Import a Text File into Excel Use Excel’s normal File, Open commands. A 3-step “Text Import Wizard” dialog opens. Complete the wizard steps to specify the data type, characteristics, and import formats. Also use the wizard to determine which columns of data to import and the import starting row. Once a text file is imported into Excel it remains a text file until converted to Excel format by clicking the Office button, then Save As , and then Excel Workbook.
Excel’s Analysis ToolPak
To Access From the “Data” tab and the “Analysis” group, click the “Data Analysis” button to open the “Data Analysis” dialog.
The Analysis ToolPak is a part of MS Excel. It’s packaged as an add-in. It’s available if you have loaded the add-in during your Excel installation and if you’ve turned it on as an available add-in.
Tools Provides functions and interfaces for financial and scientific data analyses.
Operation From the “Data Analysis” dialog select the analysis you want to perform and then complete the dialog that displays. The dialog prompts for input data, output specifications, and (in many cases) run-time options.
Excel Statistics & Regression Tools Review Skills Summary
Run a Regression Analysis Using Excel’s Built-In Regression Tool Excel’s built-in regression analysis tool is part of its Analysis ToolPak add-in.
Chart Data from Different Worksheets
Find a List of Excel’s Statistical Functions On the “Formulas” tab choose the “Function Library” group and click the “Insert Function” button. Choose “Statistical” from the category list to see a list of built-in functions that handle statistical operations.