Dealing with Data in Excel 2013/2016

Similar documents
Introduction to Excel Workshop

Excel Spreadsheets and Graphs

Introduction to Excel Workshop

Reference and Style Guide for Microsoft Excel

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12

Excel Primer CH141 Fall, 2017

0 Graphical Analysis Use of Excel

Plotting Graphs. Error Bars

Microsoft Excel 2007 Creating a XY Scatter Chart

Scientific Graphing in Excel 2007

Technology Assignment: Scatter Plots

Scientific Graphing in Excel 2013

= 3 + (5*4) + (1/2)*(4/2)^2.

Chemistry Excel. Microsoft 2007

Total Number of Students in US (millions)

Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data

Microsoft Excel 2007

How to Create a Box Plot in Excel

San Francisco State University

Pre-Lab Excel Problem

Scottish Improvement Skills

Introduction to the workbook and spreadsheet

Graphical Analysis of Data using Microsoft Excel [2016 Version]

Models for Nurses: Quadratic Model ( ) Linear Model Dx ( ) x Models for Doctors:

Excel for Gen Chem General Chemistry Laboratory September 15, 2014

Microsoft Excel Using Excel in the Science Classroom

How to use Excel Spreadsheets for Graphing

Microsoft Word for Report-Writing (2016 Version)

Spreadsheet and Graphing Exercise Biology 210 Introduction to Research

STAT 311 (3 CREDITS) VARIANCE AND REGRESSION ANALYSIS ELECTIVE: ALL STUDENTS. CONTENT Introduction to Computer application of variance and regression

1.1 Opening/Closing the file The first step to using Excel is launching the program and knowing how to close it when you re finished.

Using Excel for Graphical Analysis of Data

Topics Covered. Create and format a column chart Create and format a pie chart Create and format a line chart Use a trendline Insert a sparkline

You are to turn in the following three graphs at the beginning of class on Wednesday, January 21.

ME 142 Engineering Computation I. Graphing with Excel

Activity Graphical Analysis with Excel and Logger Pro

Chemistry 1A Graphing Tutorial CSUS Department of Chemistry

Excel Tips and FAQs - MS 2010

Introduction to CS graphs and plots in Excel Jacek Wiślicki, Laurent Babout,

ENV Laboratory 2: Graphing

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

Lab1: Use of Word and Excel

Reading: Graphing Techniques Revised 1/12/11 GRAPHING TECHNIQUES

1. What specialist uses information obtained from bones to help police solve crimes?

Creating a Basic Chart in Excel 2007

Using Excel for Graphical Analysis of Data

Excel 2010 Charts and Graphs

GCSE CCEA GCSE EXCEL 2010 USER GUIDE. Business and Communication Systems

Years after US Student to Teacher Ratio

Here is the data collected.

Chemistry 30 Tips for Creating Graphs using Microsoft Excel

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

Activity: page 1/10 Introduction to Excel. Getting Started

Spreadsheet Warm Up for SSAC Geology of National Parks Modules, 2: Elementary Spreadsheet Manipulations and Graphing Tasks

Excel 2010 Worksheet 3. Table of Contents

Saratoga Springs City School District/Office of Continuing Education Introduction to Microsoft Excel 04 Charts. 1. Chart Types and Dimensions

Data Management Project Using Software to Carry Out Data Analysis Tasks

Excel R Tips. is used for multiplication. + is used for addition. is used for subtraction. / is used for division

1 Introduction to Using Excel Spreadsheets

Tips and Guidance for Analyzing Data. Executive Summary

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example

Excel Core Certification

Error Analysis, Statistics and Graphing

How to Make Graphs with Excel 2007

Math 121 Project 4: Graphs

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

To move cells, the pointer should be a north-south-eastwest facing arrow

Intermediate Microsoft Excel

Math 1525 Excel Lab 1 Introduction to Excel Spring, 2001

An introduction to plotting data

Project 11 Graphs (Using MS Excel Version )

Graphing with Microsoft Excel

Math 2524: Activity 1 (Using Excel) Fall 2002

MOVING FROM CELL TO CELL

BioFuel Graphing instructions using Microsoft Excel 2003 (Microsoft Excel 2007 instructions start on page mei-7)

Using Excel This is only a brief overview that highlights some of the useful points in a spreadsheet program.

Microsoft Excel Microsoft Excel

Making Tables and Graphs with Excel. The Basics

Physics 211 E&M and Modern Physics Spring Lab #1 (to be done at home) Plotting with Excel. Good laboratory practices

Section 33: Advanced Charts

Graphing and Data Transformation in Excel ECON 285 Chris Georges

Cell to Cell mouse arrow Type Tab Enter Scroll Bars Page Up Page Down Crtl + Home Crtl + End Value Label Formula Note:

Excel: Creating Charts and Graphs

Appendix C. Vernier Tutorial

Physics Guide to Excel

Microsoft Excel 2010 Handout

Select the Points You ll Use. Tech Assignment: Find a Quadratic Function for College Costs

Introduction to creating and working with graphs

Using Excel to produce graphs - a quick introduction:

Microsoft Office Excel

Open a new Excel workbook and look for the Standard Toolbar.

Excel 2010-Part. Two

MS Office for Engineers

How to Make a Line Graph with Phase Lines in Excel 2007

Part 1. Module 3 MODULE OVERVIEW. Microsoft Office Suite. Objectives. What is A Spreadsheet? Microsoft Excel

Microsoft Excel Lab: Data Analysis

LABORATORY 1 Data Analysis & Graphing in Excel

Data Analysis Guidelines

Capstone Appendix. A guide to your lab computer software

Transcription:

Dealing with Data in Excel 2013/2016 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for dealing with scientific data. Graphing Data Let s consider graphing the data given below. Go to cell A5 click and hold while highlighting to cell B12. Then go to the Insert ribbon and click on Scatter to bring down the choices. If you move the cursor around on the choices, an explanation appears. In Excel, the scatter chart is the ONLY graph where the x-axis is treated as a numerical value. (On other charts the x-axis is treated as a category, even if numbers are entered). Most scientific plots of data, plot only the data points ( Scatter with only markers ). It is usually bad practice to connect the dots with lines. When you click on the scatter type, the graph should appear as seen on the screenshot on the right. Notice the data is highlighted (purple is x-axis and blue is the y-axis) and that the Chart Tools appear on the ribbon bar. Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 1

One instance where you may want to use a different type of scatter plot is if you have non-linear data such as absorption spectra: in such cases using the Scatter/ smooth lines option may be appropriate. Click on the Layout ribbon (under Chart Tools, NOT Chart Layouts on the Design ribbon) as this is the most useful ribbon for charts. Here you can remove the gridlines, label the x and y axes, add a title, and maneuver the legend if needed. The Chart tools only appear if the graph is highlighted click on the graph to get them. Clean up your graph at this point! One thing you cannot do in the layout section is change the text of the legend. To do this, you must rename the data series: right click anywhere in the chart and click Select Data and the Select Data Source menu pops up. Select the series of data you wish to rename (Series 1 here) and click Edit. You can then rename the data series. This is handy if you have more than one data set on the graph and need to show a legend. You can also switch the x and y axes, or select a new set of data by clicking the value box next to the series X and Y values and highlighting the appropriate data. Adding a Regression Line or Trendline The Line of Best-fit Regression lines are lines of best fit through the data. Excel can do a variety of fits as you will see. Click on char to highlight it. Click on the large green plus (+) sign to the upper right of the chart to get the Chart Elements. Then click on Trendline and drop the menu down. Go to More Trendline Options at the bottom and click on it. Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 2

This will get you the Format Trendline menu on the right side and the Trendline Options. This menu will default to a linear regression which you can change by clicking on the other types of regression fits. You can view these on the graph. Since in most cases we want to know the equation of the model selected and how well it fits the data, go to the bottom of this menu and select Display Equation on chart and Display R- squared value on chart. The equation and r-squared value should appear on the graph. What does R-squared tell you? R-squared is the coefficient of determination and a measure of the goodness-of-fit of the equation to the data. A perfect fit has a value of 1.000. In simple terms, R-squared*100 tells you the percentage of the variation of the y-variable due to the variation of the x-variable. How does linear regression work? Linear regression minimizes the sum of the square of the deviations, where the deviation is the difference between the calculated y-value minus the y-data value. This is shown visually with user eyeballing a best-fit line using an interactive Excel spreadsheet at: http://academic.pgcc.edu/~ssinex/regression.xls Users can also explore the difference between interpolation and extrapolation with this spreadsheet: http://academic.pgcc.edu/~ssinex/interpol_extrapol.xls Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 3

Simple Computations and Formatting Data Transformation of data for analysis is very common. A large number of functions are available in the on the Formula ribbon (click anywhere in the spreadsheet outside of a chart, then click Formula) using the Function Library. The More Functions button includes many common statistical functions such as standard deviation, median, plus others. You can type the function directly into a cell, or you can select it from the library. Any function will have a specific syntax that will appear when the function is selected. Hence to use average, you place the range of cells to average. If you need to calculate a quantity down a column of data, click on the first cell and go to the lower right corner (note the cursor changes) and click and hold while dragging down the column. Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 4

All calculations must start with an equal sign, = in the cell. To multiply numbers use the asterisk such as 3*2. To raise a number to a power: 5 2 is 5^2. Many of the functions need only a cell reference to deliver the quantity. If you want to enter a constant in a separate cell (such as C2) to use in a computation, you will want to change its format to $C$2 (This is an absolute reference.) in the calculation cell and hence it will not change on dragging the calculation down the column. Here we want y =kx. To format data in cells, click on a cell or highlight a column of data and then right click and select Format Cells Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 5

When the Format Cells menu pops up, select the Number tab. Here you can select Number and set the number of decimal places. You can select Scientific is you want to use scientific notation. In Excel the number 2.0 x 10 5 will show up as 2.0E5. For more information on computational spreadsheets, see the following handout. http://academic.pgcc.edu/~ssinex/excelets/computational_spreadsheets.pdf Error Bars on Graphs Error bars are a method of expressing the uncertainty in data on a graph. Adding error bars to a graph is done by selecting the graph, then going to the Layout ribbon, selecting the Error Bars menu and then the More Error Bars Option Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 6

Both horizontal and vertical error bars appear with a fixed value. The vertical or y error bars opens up first as seen on the screenshot below of the Format Error Bars pop-up menu. To set the horizontal or x error bar click on the horizontal bars on the graph. If you highlight the x error bars and then hit delete, you can remove them. We can add custom error amounts such as plus and minus one standard deviation. Here we are using the standard deviation of the three values, so the error bar is plus/minus one standard deviation around the mean value. Select the Custom at the bottom of the Format Error Bar menu and the Custom Error Bars menu pops up. Click in the Positive Error Value box and then highlight the column of data and then repeat for the Negative Error Value. Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 7

Standard Error of Slope and Y-intercept for Linear Regression with Confidence Intervals This is a prebuilt spreadsheet to which you can add data that uses LINEST. This spreadsheet calculates the standard error of the slope and y-intercept plus plots confidence intervals on the graph. http://academic.pgcc.edu/~ssinex/excelets/regression_2.xls Putting a Excel Graph into a Word or PowerPoint Document The easiest way is to click on a graph and then right click and select copy in Excel. Move to Word or PowerPoint and paste. You can drag a corner to resize. An alternate method is to use the Snipping Tool is Windows 7 or your favor screen capture software to capture the graph as an image and save as gif or jpeg and name the file. Here is an Excel graph with y-variable error bars on the data points (markers), axes labeled, title, and a linear regression line and equation. Try to keep the colors simple and all items readable on printing especially if using a black ink printer. This is what a graph should look like!!! Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 8

Adding a Regression Line or Trendline in Excel 2010 Regression lines are lines of best fit through the data. Excel can do a variety of fits as you will see. Click on Trendline and drop the menu down. Go to More Trendline Options at the bottom and click on it. Appendix This will get you the Format Trendline pop-up menu. You may need to move it off the graph. This menu will default to a linear regression which you can change by clicking on the other types of regression. Dealing with Data in Excel Sinex & Wong (2012) modified by Sinex (2017) Page 9