How to create graphs with a best fit line in Excel

Similar documents
Summary of important mathematical operations and formulas (from first tutorial):

Curve Fitting in Microsoft Excel By William Lee

Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure

Scientific Graphing in Excel 2010

Graphing in excel on the Mac

Excel Tutorial. Bio 150B Excel Tutorial 1

A Guide to Using Excel in Physics Lab

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Graphing Parabolas With Microsoft Excel

Calibration and Linear Regression Analysis: A Self-Guided Tutorial

Excel Math Project for 8th Grade Identifying Patterns

MARS STUDENT IMAGING PROJECT

Excel -- Creating Charts

What is the difference between simple and compound interest and does it really matter?

Using Microsoft Excel to Plot and Analyze Kinetic Data

Dealing with Data in Excel 2010

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program

Microsoft Excel Tutorial

This activity will show you how to draw graphs of algebraic functions in Excel.

Excel Guide for Finite Mathematics and Applied Calculus

Updates to Graphing with Excel

Using Excel for Handling, Graphing, and Analyzing Scientific Data:

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider :: :: info@bluepecan.co.

Microsoft Excel. Qi Wei

Creating Charts in Microsoft Excel A supplement to Chapter 5 of Quantitative Approaches in Business Studies

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

Information Literacy Program

Estimating a market model: Step-by-step Prepared by Pamela Peterson Drake Florida Atlantic University

Plots, Curve-Fitting, and Data Modeling in Microsoft Excel

In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class.

Years after US Student to Teacher Ratio

Activity 5. Two Hot, Two Cold. Introduction. Equipment Required. Collecting the Data

Lab 1: The metric system measurement of length and weight

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Creating and Formatting Charts in Microsoft Excel

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

Excel Basics By Tom Peters & Laura Spielman

Exploring Relationships between Highest Level of Education and Income using Corel Quattro Pro

Using Excel for descriptive statistics

Using Excel 2003 with Basic Business Statistics

Microsoft Excel 2013: Charts June 2014

How to make a line graph using Excel 2007

ESTIMATING THE DISTRIBUTION OF DEMAND USING BOUNDED SALES DATA

Create Charts in Excel

Using Excel for Business Analysis: A Guide to Financial Modelling Fundamentals

Assignment objectives:

Intro to Excel spreadsheets

Part 1: Background - Graphing

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data

Interactive Excel Spreadsheets:

Creating an Excel XY (Scatter) Plot

USING EXCEL ON THE COMPUTER TO FIND THE MEAN AND STANDARD DEVIATION AND TO DO LINEAR REGRESSION ANALYSIS AND GRAPHING TABLE OF CONTENTS

Appendix C. Vernier Tutorial

Formulas, Functions and Charts

Tutorial 2: Using Excel in Data Analysis

0 Introduction to Data Analysis Using an Excel Spreadsheet

Making a Chart Using Excel

Computer Skills Microsoft Excel Creating Pie & Column Charts

Acceleration of Gravity Lab Basic Version

Pivot Tables & Pivot Charts

If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel.

Intermediate PowerPoint

Figure 1. An embedded chart on a worksheet.

Prism 6 Step-by-Step Example Linear Standard Curves Interpolating from a standard curve is a common way of quantifying the concentration of a sample.

Because the slope is, a slope of 5 would mean that for every 1cm increase in diameter, the circumference would increase by 5cm.

Lab 11: Budgeting with Excel

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

Using SPSS, Chapter 2: Descriptive Statistics

Basic Graphing Functions for the TI-83 and TI-84

FRICTION, WORK, AND THE INCLINED PLANE

Data representation and analysis in Excel

Introduction to SPSS 16.0

Preface of Excel Guide

ITS Training Class Charts and PivotTables Using Excel 2007

NICK COLLIER - REPAST DEVELOPMENT TEAM

Advanced Microsoft Excel 2010

Mail Merge Creating Mailing Labels 3/23/2011

Microsoft Excel 2010 Part 3: Advanced Excel

Microsoft Excel Tutorial

EXCEL EXERCISE #8: Consolidating and Linking Spreadsheets

Experiment 1A: Excel Graphing Exercise

Microsoft Excel 2010 Charts and Graphs

What is Microsoft Excel?

3. Saving Your Work: You will want to save your work periodically, especially during long exercises.

Microsoft Excel Basics

BMV-602 Data Link Manual

Microsoft Excel 2013 Tutorial

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

PERFORMING REGRESSION ANALYSIS USING MICROSOFT EXCEL

Plot and Solve Equations

Creating a Database in Access

How to Create a Data Table in Excel 2010

APPENDIX A Using Microsoft Excel for Error Analysis

Integrating Spreadsheet Templates and Data Analysis into Fluid Power Instruction

CHAPTER 7 INTRODUCTION TO SAMPLING DISTRIBUTIONS

Microsoft Office Excel 2007 Key Features. Office of Enterprise Development and Support Applications Support Group

2. Creating Bar Graphs with Excel 2007

Quickstart for Desktop Version

Transcription:

How to create graphs with a best fit line in Excel In this manual, we will use two examples: y = x, a linear graph; and y = x 2, a non-linear graph. The y-values were specifically chosen to be inexact to illustrate what you will see when you analyze data from your labs. When working with more than one set of data points, it is advisable to label rows and columns. 1. Open Excel and input data: 2. Format your cells to the appropriate number of Significant Figures (this is just an example). Start by highlighting all the numbers with the same number of decimal places. Then right click (ie click the right button of your mouse) the highlighted cells. When the menu box appears, click format cells:

3. Select Number and choose the correct number of decimal places to display: 4. Click OK and repeat for all values. Next, highlight the columns of the points you wish to graph. Excel recognizes the left hand column to be the x-axis values and the right hand column to be the y-axis values:

5. If you have multiple columns and you need values from a column that is not directly next to your x-axis values, highlight the first column, and while holding down the Ctrl button, highlight the second column: 6. Next, either click the graph button: or, go to the top menu and click Insert > Chart 7. A wizard will appear, prompting you for the chart type. Choose XY (Scatter) ; then click Next. Make sure the box WITHOUT lines is selected. If you choose the ones with lines, Excel will simply connect the dots (data points) and this is not correct.

8. Step 2 of the Chart Wizard will show you your graph and its data range. If it is correct, click Next and go to Step 10. If you need to change something or verify your axes, go to Step 9.

9. To verify that your axes are not transposed, click on the Series tab. This tells you that your x-values come from Column A, and your y-values, from Column B, which is correct. Also, the trend of the data points is indicative of y = x. If the columns are transposed, there are 2 methods to correct your plot. Method 1: Method 2: Change each letter in the x and y values boxes to the letter of the column where your data is. Click the box to the right of the x-values box and highlight the column where your data is. Repeat for the y-values.

10. Step 3 of the Chart Wizard gives you a dialog box where you may now enter such values as the Graph Title as well as to label the x and y axes. REMEMBER to include the units in your labels! 11. If you wish to add more gridlines, click said tab and check the boxes you wish. 12. You can even move the legend around or change numerous other options. When you are done, click Next.

13. Step 4 of the Wizard allows you to choose whether to place the graph on the same page as your data, or a separate full page in your workbook: 14. If you choose new sheet, you may name the chart for convenience and it will appear in the lower left hand tabs of your workbook. Click Finish.

15. Now it s time to draw the Best Fit Line. Right Click on any one of the data points and a dialog box will appear. Click Add Trendline ; this is what Excel calls a best fit line : 16. An options window appears and to ask what type of Trend/Regression type you want. You MUST understand what it is you are graphing to properly make this decision. Our current graph is simple, y = x ; we know this equation is linear and that is what we choose. 17. By clicking the Options tab in this dialog box, we see that Excel will display the equation of the line/curve if we check the box. This is useful in lab for your linear graphs in that you will be able to verify your own slope calculations.

18. Then click OK and you will see your Best Fit Line as well as its equation (If it is difficult to read, you can click to highlight it, then move it):

19. As you can see (and this will be similar to your lab results), not all points will lie on the line. As it says in your Lab Manual: when you calculate your slope, do not use your data points unless they actually fall on the best fit line. You can visually see that they could give you the wrong slope. We know that the slope of y = x is 1, but here it is 1.0383, which is close. Furthermore, even though you set the number of decimal places for the data points, the equation on the graph may or may not have the proper number of significant figures. Excel does NOT take significant figures into account during calculations. This is why it is still necessary to calculate the slope manually. 20. Steps 1-13 of this tutorial are exactly the same for the parabolic graph, y = x 2. However, this equation is NOT linear so when we get to the Add Trendline dialog box we need to choose a more appropriate fit. In this case, it would be Power or Polynomial (in which Order 2 is usually sufficient for what you will be doing in your labs): 21. Again, the equation is displayed on the graph, and again, the data points will not all lie on the curve. However, we can see that if the numbers in the trendline s equation are rounded (y = 1.0936x 1.9583 ), the equation is y = x 2. The equation can be an indication whether your data is accurate.

22.