LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.3 Prepared.

Slides:



Advertisements
Similar presentations
Introduction to Excel 2007 Part 2: Bar Graphs and Histograms February 5, 2008.
Advertisements

Excel Charts – Basic Skills Creating Charts in Excel.
Localized Trendlines LSP 120 Week 6 Joanna Deszcz.
Analysis of the Rainfall of Tropical Storm Allison Creating an Excel Model Creating an Excel Model.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Prepared by Ozlem Elgun1.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Week 1 LSP 120 Joanna Deszcz.  Relationship between 2 variables or quantities  Has a domain and a range  Domain – all logical input values  Range.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Prepared by Ozlem Elgun1.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Prepared by Ozlem Elgun
Graphing With Excel 2010 University of Michigan – Dearborn Science Learning Center Based on a presentation by James Golen Revised by Annette Sieg…
Using Excel for Data Analysis in CHM 161 Monique Wilhelm.
Chapter 12a Simple Linear Regression
First-Year Engineering Program 1 Autumn 2009 Graphing with Microsoft Excel Lecture 11 Engineering H191 Engineering Fundamentals and Laboratory.
1 Business 260: Managerial Decision Analysis Professor David Mease Lecture 1 Agenda: 1) Course web page 2) Greensheet 3) Numerical Descriptive Measures.
X y Exploratory data analysis Cross tabulations and scatter diagrams.
LSP 120: Quantitative Reasoning and Technological Literacy
What is a linear function?
LSP 120: Quantitative Reasoning and Technological Literacy Section 903 Özlem Elgün.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Prepared by Ozlem Elgun1.
LSP 120: Quantitative Reasoning and Technological Literacy Section 903 Özlem Elgün.
Data Tutorial Tutorial on Types of Graphs Used for Data Analysis, Along with How to Enter Them in MS Excel Carryn Bellomo University of Nevada, Las Vegas.
Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209.
How To Make Graphs in Microsoft Excel Outline Making Bar Graphs Making Scatter Plots – 1 series Making Scatter Plots – Multiple Series.
Graphing in Excel X-Y Scatter Plot SCI 110 CCC Skills Training.
Graphing with Excel: Graphing Made Easy Mac 2008 Version.
Types of Graphs Creating a Graph With Microsoft Excel.
DISCLAIMER This guide is meant to walk you through the physical process of graphing and regression in Excel…. not to describe when and why you might want.
Mathematical Modeling Making Predictions with Data.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Linear Regression Analysis Using MS Excel Making a graph Analyzing Data.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
06. Excel Charts. File -> Open -> 06b-datastart.xlsx.
LECTURE -9 CREATING A CHART IN MICROSOFT EXCEL. CHARTS Picture representation of data used Easy understanding Comparison of data Checking trends in data.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® PowerPoint 2010 © 2011 The McGraw-Hill Companies,
1 XY Scatter Plots in Excel In this example, the position of a hanger on a spring was measured (with respect to a Motion Sensor) as a function.
Excel Workshop CHEM 2001, FALL Make some calculations Always begin a function with ‘=‘ Multiply X and Y Multiply X by 50 (2 methods) – Absolute.
Graphs in Physics PowerPoint #4. A graph is… A convenient way to show data.
Graph Some basic instructions
Graphing On Excel Rasienna Willars
Excel chapter 4.
Excel Workshop CHEM 2001, FALL Make some calculations Always begin a function with ‘=‘ Multiply X and Y Multiply X by 50 (2 methods) – Absolute.
Graphical Analysis in Excel EGN 1006 – Introduction to Engineering.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 2: Exponential Models Lecture notes 2.1 Prepared by Ozlem Elgun1.
Model Trendline Linear Excel 2013 V0F 1 by Milo Schield Member: International Statistical Institute US Rep: International Statistical Literacy Project.
Example 13.2 Quarterly Sales of Johnson & Johnson Regression-Based Trend Models.
Graphing Types of graphs & how to create graphs in Excel.
Using Google Sheets To help with data. Sheets is a spreadsheet program that can interface with Docs, or Slides A spreadsheet program has cells (little.
DAY 6: MICROSOFT EXCEL – CHAPTER 3 Sravanthi Lakkimsetty September 2, 2015.
Topic 11.2: Measurement and Data Processing Graphing.
Making Bar Graphs and Scatter Plots in Microsoft Excel 2007.
Graphing Using Excel AB Volume of Lead (ml)Mass of Lead (g) How to input data into Excel. Units only go in the column title not with.
Creating a Scatter Plot On a Mac. Data in Excel Spreadsheet Insert the variable you want on the x-axis in the left column Insert the variable you want.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.2 Prepared.
EXCEL GRAPHING *Basic Graphing Steps* by A.B. -NNHS.
Graphing in Excel X-Y Scatter Plot SCI 110 CCC Skills Training.
Introduction to Excel 2010 December, 2015 Addis Ababa.
Correlations and Scatterplots
XY Scatter Plots in Excel 2007
Using Excel to Graph Data
Using Excel to Graph Data
Mathematical Modeling
Mathematical Modeling Making Predictions with Data
Welcome to LSP 120 Dr. Curt M. White.
Mathematical Modeling Making Predictions with Data
Introduction to Computer Applications West Virginia University
LSP 120: Quantitative Reasoning and Technological Literacy
Using Excel to Graph Data
Help with Excel Graphs CHM 2046L.
Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209.
Presentation transcript:

LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.3 Prepared by Ozlem Elgun1

Adding a Trendline Using Excel Open the file: MileRecordsUpdate.xls and calculate the slope (rate of change) in column C.MileRecordsUpdate.xls Is this women’s data perfectly linear? No, there is not a constant rate of change. (See table below.) Prepared by Ozlem Elgun2

Calculating rate of change Graphing the data produces the following graph which confirms that the data is not perfectly linear. To graph data, highlight the data you want to graph (not headers or empty cells). Choose a chart type: Under the Insert tab click on Scatter located under the Charts group. Under Scatter, choose Scatter with only Markers (the first option). A simple graph is created. Prepared by Ozlem Elgun3

We can clearly see that the data is not linear but we can use a linear model to approximate the data. You will need to add a title, axis labels and trendline (including the equation and r-squared value). First click on the graph to activate the Chart Tools menu and then choose the Design tab. Under the Charts Layout group, select #9. (Click on the "more" arrow to display all eleven layouts. Slide over each layout until you locate #9.) Your graph should look like this: Prepared by Ozlem Elgun4

5

Click on the Chart Title and add a descriptive title (consider who, what, where and when). Click on each Axis Title and label both your x-axis (horizontal axis) and your y-axis (vertical axis). If you are graphing only one series of data, always be certain to remove the legend (just click on the legend and use either the delete or backspace button). To move the equation/r-squared value slide on the text box containing both the equation/r-squared value. Once your cursor changes to "cross-hairs" press on the left mouse button and slide the text box to a location on the graph where it is easier to read. It is suggested that you remove the minor axis gridline by changing them to the same color as your background. Right-click on the y-axis (vertical axis), choose Format Minor Gridlines then Solid Line. Change the color of the line to match your background (currently your background is white). It is important to add a text box stating the data source used to create the graph. Under the Insert tab choose text box under the Text group. Draw a text box on your chart and then type in "Source:" followed by the data source. If no data source is listed, type "Unknown". Prepared by Ozlem Elgun6

7

In the preceding graph… The black trendline is the line that “best fits” the data. It is a line that comes as close the all the data points as possible. The R 2 value indicates how linear the data actually is. The R 2 value will be a decimal between 0 and 1. The closer it is to one, the closer the data is to linear. The smaller the R 2 value, the less linear the data. We can see here that the R 2 value for the women’s mile record is.9342 which is very close to one, so the data is very close to linear. The equation is the equation of the trendline in y = mx + b form. We can see that the slope or the rate of change of the trendline is which means that according to the trendline, the mile record is decreasing by just under 1 second every year. Prepared by Ozlem Elgun8

Use excel functions, not the equation given in the graph to calculate future predictions You learned in class to use the =slope() and +intercept() functions. You should use the slope and intercept functions when you are modeling and calculating predictions because the equation that Excel puts on the graph is often rounded to only a few decimal places. Using the equation that Excel puts on the graph can lead to aberrant results because of this rounding. Prepared by Ozlem Elgun9

Why do we add a trendline and how do we use it? Since the trendline is an approximation what is happening with data, we can use it to make predictions about the data. For example, to predict what the mile record was in 1999, use the equation of the trendline. First identify the variables. X is year and Y is record in seconds. Calculate slope and intercept on Excel. Then plug 1999 in for X in the linear equation and solve for Y. Prepared by Ozlem Elgun10

Five guidelines to see if the trendline a good fit for the data Guideline 1: Do you have at least 7 data points? Guideline 2: Does the R 2 value indicate a relationship? Reminder: R 2 is the percentage of variance of y that is explained by our trendline. It is a standard measure of how well the trendline fits the data. Guideline 3: Verify that your trendline fits the shape of your graph. Guideline 4: Look for outliers Guideline 5: Use practical knowledge/ common sense to evaluate your findings Prepared by Ozlem Elgun11

Justifying your prediction in words Once we calculate the answer to the question, we cannot simply report the numbers. We need to present them in meaningful sentences that explain their meaning in their contexts. SAMPLE LEAD SENTENCES “If the trend established from persists, we expect the Women’s world record to be seconds in “ SUPPORTING SENTENCES “We are confident in our prediction because the r-squared value of shows that the data has a strong/ moderate/weak linear relationship. Even though in the long term we expect the rate of change in women’s mile records to decrease and not stay constant, we expect that in the very near future the linear trend should continue, giving us confidence in our prediction. ITEMS THAT MUST BE POINTED OUT WHEN APPLICABLE Reason for using less than 7 data points. Omitting any single data point. Focusing on a localized linear trend. Continuing to predict a higher amount when they trend actually decreases (or the opposite). Prepared by Ozlem Elgun12

Self Practice: Adding a Trendline (in Excel 2007) Open the file: MileRecordsUpdate.xls and calculate the slope (average rate of change) in column H for Men’s World records in the Mile Run.MileRecordsUpdate.xls Is this men’s data perfectly linear? Can you use a linear model to describe the data? (Hint: Graph the data in a simple scatter plot) Create a graph with a trendline, title your graph appropriately. What would the men’s world record be in the year 2000? (Hint: in your calculations you need to use the SLOPE and INTERCEPT Excel functions, and use the linear equation.) Check you answer by extending the trendline to year (right click on trendline, under forecast, increase it forward by number of units you need to, to reach 2000). Does your trendline show a similar number as your prediction. Once you calculate your answers write your answers our in meaningful sentences, justifying your prediction in words. (Hint: report your prediction, the R-squared value, and any possible caveats.) Prepared by Ozlem Elgun13