Presentation is loading. Please wait.

Presentation is loading. Please wait.

Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 14: Introduction.

Similar presentations


Presentation on theme: "Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 14: Introduction."— Presentation transcript:

1 Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 14: Introduction to Linear Regression and Correlation Analysis By Groebner, Shannon, Fry, & Smith Prentice-Hall Publishing Company Copyright, 2011

2 Chapter 14 Excel Examples Correlation Coefficient Correlation Coefficient Correlation Coefficient Correlation Coefficient Midwest Distribution Simple Linear Regression & Correlation Simple Linear Regression & Correlation Fitzpatrick & Associates Simple Linear Regression Simple Linear Regression Simple Linear Regression Simple Linear Regression Vantage Electronics Regression Analysis for Description Regression Analysis for Description Regression Analysis for Description Regression Analysis for Description Car Mileage

3 Chapter 14 Excel Examples Regression Analysis for Prediction Regression Analysis for Prediction Regression Analysis for Prediction Regression Analysis for Prediction Freedom Hospital

4 Correlation Coefficient - Midwest Distribution Issue: The company wants to analyze the relationship between salary and years with the company. Objective: Use Excel 2007 to help test whether a significant linear relationship exists between salary and years with the company. Data file is Midwest.xls

5 Correlation Coefficient – Midwest Distribution. Open the file Midwest.xls To construct the scatter diagram see the Personal Computers tutorial in Chapter 2.

6 Correlation Coefficient – Midwest Distribution. Select the Data tab Select Data Analysis Select Correlation OK

7 Correlation Coeffricient – Midwest Distribution. Input Range = A1:B13 Grouped by Columns Labels in First Row New Worksheet Ply: Correlation

8 Correlation Coefficient – Midwest Distribution. The correlation between Sales and Years with Midwest is 0.8325

9 Simple Linear Regression - Fitzpatrick & Associates Issue: The Fitzpatrick analysts want to model the relationship between profits and number of employees. Objective: Use Excel 2007 to test whether the apparent linear relationship is statistically significant. Data file is Fortune 50.xls

10 Simple Linear Regression – Fitzpatrick & Associates Open the file Fortune 50.xls

11 Simple Linear Regression – Fitzpatrick & Associates Because you want the Employees to plot on the horizontal axis, it needs to be to the left of Profit. To accomplish this, copy Column D to Column K. Select the Insert Tab Select Scatter chart Select the Scatter with only Markers

12 Simple Linear Regression – Fitzpatrick & Associates Add titles Delete Legend Move chart to new sheet titled Scatter plot

13 Simple Linear Regression – Fitzpatrick & Associates To find Regression: Return to the Data Sheet Select the Data tab Select Regression OK

14 Simple Linear Regression – Fitzpatrick & Associates Y Range = K3:K53 X Range = J3:J53 New Worksheet Ply OK

15 Simple Linear Regression – Fitzpatrick & Associates Output Shows the Correlation Coefficient, R square and Regression Coefficients

16 Simple Linear Regression - Vantage Electronics Issue: Analysts want to compare the effectiveness of the Vantage Sensor - Vanguard against its competitor, Scorpion. Objective: Use Excel 2007 to test whether the apparent linear relationship is statistically significant. Data file is Vantage.xls

17 Simple Linear Regression - Vantage Electronics Using the procedures from this chapter Create a Scatter Plot Note: Copy the Scorpion data to the column to the right of the Vantage data. Add titles, delete legend, and move to a new sheet.

18 Simple Linear Regression - Vantage Electronics The resulting model will give you the regression coefficient, the slope and the t- test statistic

19 Regression Analysis for Description- Car Mileage Issue: Analysts want to determine the relationship between EPA highway mileage and automobile horsepower. Objective: Use Excel 2007 to test whether the apparent linear relationship is statistically significant. Data file is Automobiles.xls

20 Regression Analysis for Description – Car Mileage Open the file Automobiles.xls Select the Data tab Select Data Analysis Select Regression OK

21 Regression Analysis for Description – Car Mileage Input Y Range: B1:B31 Input X Range: F1:F31 Select Labels New Worksheet Ply: Auto OK

22 Regression Analysis for Description – Car Mileage The output shows the coefficient of determination the coefficients for the regression equation.

23 Regression Analysis for Prediction - Freedom Hospital Issue: The administrator has been requested by the hospital’s board of directors to develop a model that can be used to predict the total charges for a geriatric patient. Objective: Use Excel 2007 to develop a statistically significant prediction model. Data file is Patients.xls

24 Regression Analysis for Prediction – Freedom Hospital Open the file Patients.xls Select the Data tab Select Data Analysis Select Regression OK

25 Regression Analysis for Prediction – Freedom Hospital Input Y Range: G1:G139 Input X Range: B1: B139 Select Labels New Worksheet Ply: Patients OK

26 Regression Analysis for Prediction – Freedom Hospital The Excel output shows the coefficient of determination and the coefficients of the linear regression model.

27 Regression Analysis for Prediction – Freedom Hospital To determine the prediction interval Return to data sheet Click on the Add-In tab Click on PHStat, Regression Simple Linear Regression.

28 Regression Analysis for Prediction – Freedom Hospital Y Variable Cell Range G1:G139 X Variable Cell range: B1:B139 Select First Cells… Select Regression Statistics … Select Confidence … = 5 Confidence Interval … 95

29 Regression Analysis for Prediction – Freedom Hospital The output shows the 95% confidence interval for both the Average Value of Y and for an Individual Value of Y


Download ppt "Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 14: Introduction."

Similar presentations


Ads by Google