SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
Dealing with Data in Excel 2010
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
below. Notice the data
is highlighted (purple is
x-axis and blue is the yaxis) and that the Chart
Tools appear on the
ribbon bar.

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

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
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.

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 2
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 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.
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 eye-balling 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 2010 – February 2012

Sinex & Wong

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 2010 – February 2012

Sinex & Wong

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: 52 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 2010 – February 2012

Sinex & Wong

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 105 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 2010 – February 2012

Sinex & Wong

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 2010 – February 2012

Sinex & Wong

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 2010 – February 2012

Sinex & Wong

Page 8

Weitere ähnliche Inhalte

Was ist angesagt?

MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Chartsdnbakhan
 
2016 ms excel_bm
2016 ms excel_bm2016 ms excel_bm
2016 ms excel_bmRajesh Math
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel BasicsCompudon
 
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot EngibaryanCommon MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot EngibaryanAshot Engibaryan
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesBobby Jones
 
Creating graphs in excel
Creating graphs in excelCreating graphs in excel
Creating graphs in excelclynnc
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excelrebelbrindley
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excelorthms
 
Lesson 11 working with charts
Lesson 11   working with chartsLesson 11   working with charts
Lesson 11 working with chartsguevarra_2000
 

Was ist angesagt? (20)

MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Charts
 
Basic Ms excel
Basic Ms excelBasic Ms excel
Basic Ms excel
 
Excel2002
Excel2002Excel2002
Excel2002
 
Advanced Excel Demo
Advanced Excel DemoAdvanced Excel Demo
Advanced Excel Demo
 
Pivot table
Pivot tablePivot table
Pivot table
 
Excel Basic Knowledge
Excel Basic KnowledgeExcel Basic Knowledge
Excel Basic Knowledge
 
Pivot Table | Statistics
Pivot Table | StatisticsPivot Table | Statistics
Pivot Table | Statistics
 
50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks 50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks
 
2016 ms excel_bm
2016 ms excel_bm2016 ms excel_bm
2016 ms excel_bm
 
stats
statsstats
stats
 
Ppt on pivot table
Ppt on pivot tablePpt on pivot table
Ppt on pivot table
 
Pivot Tables
Pivot TablesPivot Tables
Pivot Tables
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel Basics
 
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot EngibaryanCommon MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
Creating graphs in excel
Creating graphs in excelCreating graphs in excel
Creating graphs in excel
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excel
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excel
 
Introduction of ms excel
Introduction of ms excelIntroduction of ms excel
Introduction of ms excel
 
Lesson 11 working with charts
Lesson 11   working with chartsLesson 11   working with charts
Lesson 11 working with charts
 

Andere mochten auch

#24進行表
#24進行表#24進行表
#24進行表FMBIRD
 
Quon mai
Quon maiQuon mai
Quon maiFMBIRD
 
D:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar belD:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar belvaleria
 
Motores de videojuegos
Motores de videojuegosMotores de videojuegos
Motores de videojuegosJuan Felipe
 
Fundamentals of heat exchangers
Fundamentals of heat exchangersFundamentals of heat exchangers
Fundamentals of heat exchangersdaisydhei
 
Montajes destacados 2013
Montajes destacados 2013Montajes destacados 2013
Montajes destacados 2013Juan Felipe
 
Spx cooling tower presentation
Spx cooling tower presentationSpx cooling tower presentation
Spx cooling tower presentationdaisydhei
 
RUS Holding
RUS HoldingRUS Holding
RUS Holdingirenelap
 
Presentasi bisnis-biogano
Presentasi bisnis-bioganoPresentasi bisnis-biogano
Presentasi bisnis-bioganosansyarif
 
Quiz UAS Struktur Data
Quiz UAS Struktur DataQuiz UAS Struktur Data
Quiz UAS Struktur Datasansyarif
 
Destacados 2015 casa básica
Destacados 2015 casa básicaDestacados 2015 casa básica
Destacados 2015 casa básicaJuan Felipe
 
1.2 power plant module2 batch3
1.2 power plant module2 batch31.2 power plant module2 batch3
1.2 power plant module2 batch3daisydhei
 
Muestra diseño editorial
Muestra diseño editorialMuestra diseño editorial
Muestra diseño editorialJuan Felipe
 

Andere mochten auch (17)

#24進行表
#24進行表#24進行表
#24進行表
 
Quon mai
Quon maiQuon mai
Quon mai
 
D:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar belD:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar bel
 
Motores de videojuegos
Motores de videojuegosMotores de videojuegos
Motores de videojuegos
 
Fundamentals of heat exchangers
Fundamentals of heat exchangersFundamentals of heat exchangers
Fundamentals of heat exchangers
 
Grsb xarxa calent-pam-
Grsb xarxa calent-pam-Grsb xarxa calent-pam-
Grsb xarxa calent-pam-
 
MLB Arbitration
MLB ArbitrationMLB Arbitration
MLB Arbitration
 
Montajes destacados 2013
Montajes destacados 2013Montajes destacados 2013
Montajes destacados 2013
 
Spx cooling tower presentation
Spx cooling tower presentationSpx cooling tower presentation
Spx cooling tower presentation
 
RUS Holding
RUS HoldingRUS Holding
RUS Holding
 
Presentasi bisnis-biogano
Presentasi bisnis-bioganoPresentasi bisnis-biogano
Presentasi bisnis-biogano
 
No SQL
No SQL No SQL
No SQL
 
Quiz UAS Struktur Data
Quiz UAS Struktur DataQuiz UAS Struktur Data
Quiz UAS Struktur Data
 
Destacados 2015 casa básica
Destacados 2015 casa básicaDestacados 2015 casa básica
Destacados 2015 casa básica
 
1.2 power plant module2 batch3
1.2 power plant module2 batch31.2 power plant module2 batch3
1.2 power plant module2 batch3
 
Muestra diseño editorial
Muestra diseño editorialMuestra diseño editorial
Muestra diseño editorial
 
Examen ofimatica entrada
Examen ofimatica entradaExamen ofimatica entrada
Examen ofimatica entrada
 

Ähnlich wie Dealing with data-excel

computer applications in business unit 3
computer applications in business unit 3computer applications in business unit 3
computer applications in business unit 3Dr T.Sivakami
 
Lesson11 working with charts
Lesson11 working with chartsLesson11 working with charts
Lesson11 working with chartsricsanmae
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiAbramMartino96
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiAbramMartino96
 
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docxHomework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docxadampcarr67227
 
Excel Graphs Charts
Excel Graphs ChartsExcel Graphs Charts
Excel Graphs Chartssimply_coool
 
Lesson 10 working with charts
Lesson 10   working with chartsLesson 10   working with charts
Lesson 10 working with chartsguevarra_2000
 
DATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADDATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADRS Trainings
 
Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003bud_00
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3jayarellirs
 
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.pptMS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.pptpkm16499
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03lonetree
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptJoshuaCasas7
 

Ähnlich wie Dealing with data-excel (20)

Regression analysis in excel
Regression analysis in excelRegression analysis in excel
Regression analysis in excel
 
computer applications in business unit 3
computer applications in business unit 3computer applications in business unit 3
computer applications in business unit 3
 
Lesson11 working with charts
Lesson11 working with chartsLesson11 working with charts
Lesson11 working with charts
 
Tech training workshop 3 final 090810
Tech training   workshop 3 final 090810Tech training   workshop 3 final 090810
Tech training workshop 3 final 090810
 
Ms excel ppt
Ms excel pptMs excel ppt
Ms excel ppt
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docxHomework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
 
Advanced Models
Advanced ModelsAdvanced Models
Advanced Models
 
Excel Graphs Charts
Excel Graphs ChartsExcel Graphs Charts
Excel Graphs Charts
 
Print16
Print16Print16
Print16
 
Lesson 10 working with charts
Lesson 10   working with chartsLesson 10   working with charts
Lesson 10 working with charts
 
DATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADDATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABAD
 
Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3
 
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.pptMS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
 
Lab 4 Excel Basics.ppt
Lab 4 Excel Basics.pptLab 4 Excel Basics.ppt
Lab 4 Excel Basics.ppt
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
 

Mehr von pacevedoma Acemaci

Mehr von pacevedoma Acemaci (6)

Interpretaciones del-mensajede silo
Interpretaciones del-mensajede siloInterpretaciones del-mensajede silo
Interpretaciones del-mensajede silo
 
La muerte es la ilusion maxima
La muerte es la ilusion maximaLa muerte es la ilusion maxima
La muerte es la ilusion maxima
 
Autoli bcoreccfinal
Autoli bcoreccfinalAutoli bcoreccfinal
Autoli bcoreccfinal
 
Reconciliacion
ReconciliacionReconciliacion
Reconciliacion
 
Elisabeth kübler ross- sobre la muerte- (rig).pps
Elisabeth kübler ross- sobre la muerte- (rig).ppsElisabeth kübler ross- sobre la muerte- (rig).pps
Elisabeth kübler ross- sobre la muerte- (rig).pps
 
Notashum
NotashumNotashum
Notashum
 

Kürzlich hochgeladen

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 

Kürzlich hochgeladen (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Dealing with data-excel

  • 1. Dealing with Data in Excel 2010 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 below. Notice the data is highlighted (purple is x-axis and blue is the yaxis) and that the Chart Tools appear on the ribbon bar. Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 1
  • 2. 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 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. Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 2
  • 3. 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 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. 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 eye-balling 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 2010 – February 2012 Sinex & Wong Page 3
  • 4. 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 2010 – February 2012 Sinex & Wong Page 4
  • 5. 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: 52 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 2010 – February 2012 Sinex & Wong Page 5
  • 6. 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 105 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 2010 – February 2012 Sinex & Wong Page 6
  • 7. 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 2010 – February 2012 Sinex & Wong Page 7
  • 8. 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 2010 – February 2012 Sinex & Wong Page 8