(Least Squares Investigation)

Similar documents
Part 1: Background - Graphing

Scientific Graphing in Excel 2010

Curve Fitting in Microsoft Excel By William Lee

GeoGebra. 10 lessons. Gerrit Stols

2. Select Point B and rotate it by 15 degrees. A new Point B' appears. 3. Drag each of the three points in turn.

Introduction to the TI-Nspire CX

Graphing Quadratic Functions

Geometer s Sketchpad. Discovering the incenter of a triangle

Interactive Excel Spreadsheets:

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

Dealing with Data in Excel 2010

Tessellating with Regular Polygons

Elements of a graph. Click on the links below to jump directly to the relevant section

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

Scatter Plots with Error Bars

Activity 6 Graphing Linear Equations

Graphing in excel on the Mac

Quickstart for Desktop Version

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

Pro/ENGINEER Wildfire 4.0 Basic Design

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

Intro to Excel spreadsheets

Create a Poster Using Publisher

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

Intermediate PowerPoint

Excel Tutorial. Bio 150B Excel Tutorial 1

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

Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.

MARS STUDENT IMAGING PROJECT

Gerrit Stols

We are going to investigate what happens when we draw the three angle bisectors of a triangle using Geometer s Sketchpad.

Graphic Designing with Transformed Functions

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

CONSTRUCTING SINGLE-SUBJECT REVERSAL DESIGN GRAPHS USING MICROSOFT WORD : A COMPREHENSIVE TUTORIAL

2.5 Transformations of Functions

What is a parabola? It is geometrically defined by a set of points or locus of points that are

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

Updates to Graphing with Excel

Microsoft Excel 2010 Part 3: Advanced Excel

What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b.

Excel Math Project for 8th Grade Identifying Patterns

Microsoft Excel 2010 Charts and Graphs

Excel 2007 Basic knowledge

Statgraphics Getting started

SolidWorks Implementation Guides. Sketching Concepts

Tutorial 1: The Freehand Tools

The Center for Teaching, Learning, & Technology

Graphing Linear Equations

SPIRIT 2.0 Lesson: A Point Of Intersection

Coordinate Plane, Slope, and Lines Long-Term Memory Review Review 1

Experiment 5: Magnetic Fields of a Bar Magnet and of the Earth

EdExcel Decision Mathematics 1

Excel -- Creating Charts

x x y y Then, my slope is =. Notice, if we use the slope formula, we ll get the same thing: m =

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

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

Cabri Geometry Application User Guide

How to make a line graph using Excel 2007

Algebra Cheat Sheets

What is a piper plot?

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.

There are six different windows that can be opened when using SPSS. The following will give a description of each of them.

A Guide to Using Excel in Physics Lab

How To Create A View Frame In 3D

Sketcher. Preface What's New? Getting Started Basic Tasks Customizing Workbench Description Glossary Index

Exploring Geometric Transformations in a Dynamic Environment Cheryll E. Crowe, Ph.D. Eastern Kentucky University

0 Introduction to Data Analysis Using an Excel Spreadsheet

THE LEAST SQUARES LINE (other names Best-Fit Line or Regression Line )

Lab 1: The metric system measurement of length and weight

Creating an Excel XY (Scatter) Plot

Common Core Unit Summary Grades 6 to 8

Acceleration of Gravity Lab Basic Version

Introduction to CATIA V5

Questions: Does it always take the same amount of force to lift a load? Where should you press to lift a load with the least amount of force?

Reviewing documents with track changes in Word 2013

with functions, expressions and equations which follow in units 3 and 4.

Doing Multiple Regression with SPSS. In this case, we are interested in the Analyze options so we choose that menu. If gives us a number of choices:

o Graph an expression as a function of the chosen independent variable to determine the existence of a minimum or maximum

Data representation and analysis in Excel

Using Microsoft Access

Chapter 9. Systems of Linear Equations

Formulas, Functions and Charts

PowerPoint 2013: Basic Skills

Presentations and PowerPoint

To draw a line. To create a construction line by specifying two points

Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program

Review of Fundamental Mathematics

Introduction to Microsoft Excel 2007/2010

Electrical Resonance

Calculator Notes for the TI-Nspire and TI-Nspire CAS

Geometry 1. Unit 3: Perpendicular and Parallel Lines

Lecture 11: Chapter 5, Section 3 Relationships between Two Quantitative Variables; Correlation

Interactive Voting System. IVS-Basic IVS-Professional 4.4

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

Academic Support Center. Using the TI-83/84+ Graphing Calculator PART II

Solving Equations Involving Parallel and Perpendicular Lines Examples

Chapter 6: Constructing and Interpreting Graphic Displays of Behavioral Data

Microsoft Excel Tutorial

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION MATHEMATICS B. Thursday, January 29, :15 a.m. to 12:15 p.m.

Transcription:

(Least Squares Investigation) o Open a new sketch. Select Preferences under the Edit menu. Select the Text Tab at the top. Uncheck both boxes under the title Show Labels Automatically o Create two points in the sketch as shown at the right. Double click on the bottom point until it flashes (this will mark the point as a center of rotation). o Then, single click on the top point to highlight it and select Rotate under the Transform menu. o Make sure that Fixed Angle is checked and that the angle is set to 90 degrees. Finally press. o Next, double click the original top point until it flashes. o Then, single click the original bottom point to highlight it and select Rotate under the Transform menu o Make sure that Fixed Angle is checked and that the angle is set to 90 degrees. Finally press. o This should create the four vertices of a square that is defined by the original two points. Highlight or select all four points in consecutive order and select Quadrilateral Interior from the Construct menu. o With the square s interior still selected, select Area under the Measure menu. o Highlight everything on the sketch (the points, the square, and the area measure). Then click on the custom tool button, select Create New Tool o Change the Tool Name to Square. o Next, select Document Options the File menu. o Under the Document Options window, click on the Add Page Button and select Blank Page. o Finally, change the Page Names to Square and Least Squares as shown in the window at the far right., and under M. Winking p.96

o After altering the document options, you should notice two tabs at the bottom of the sketch. If it is not already selected click on the Least Squares Tab. o Next, select Show Grid under the Graph Menu. o Then, select Hide Grid under the Graph Menu. This should leave just the x and y axes. o Reposition the origin to the bottom left hand corner of the sketch (as shown in the second picture at the right). o Then using the point tool, create 6 points in the first quadrant that will represent a scatter plot. For the purpose of this investigation it will be easier if you initially position the points showing a positive association and so that no two points have the same abscissa (x coordinate). o One of the most commonly used lines of best fit for a scatter plot is a linear regression or least squares line. If asked most people agree that a line of best fit should be as close to all of the points at the same time as possible. This can be done in a couple of ways. One way might be to minimize the overall total vertical distance (known as residual) from the line. In other words, measure the vertical distance each point is away from the line (example shown at the right) and then move the line around until the sum of all the vertical distances has been minimized. Although this is close to a least squares line it is not (the difference can be a likened to the differences between mean deviation and standard deviation). Another hypothesis usually posed by students and 1.07 cm 1.21 cm 2.23 cm 0.66 cm -2.31 cm -2.15 cm mathematicians is that the line should be equally weighted on both sides. In other words there should be an equal amount of vertical distances above and below the line. It turns out there are an infinite number of lines that can meet this property. Any line that passes through the mean point will always have an equal residual (or total vertical distance) above and below the line of best fit. The mean point is simply the (average x, average y). The least squares line does pass through this point. o Highlight all of the points that represent the scatter plot and select Abscissa(x) under the Measure menu. o Highlight all of the same points again and this time select Ordinate (y) under the Measure menu. M. Winking p.97

o Under the Measure menu select Calculate. This should bring up a calculator looking type of window (as shown at the right). Reposition the window so that you can see all of the abscissas. Start the calculation with an open parenthesis,, and then click on the measurement x A in the actual sketch. Then click the addition button,, and continue adding all 6 abscissas. Finally, close the parenthesis, divide by 6 to find the average x, and press. o Repeat the same steps for the Ordinate (y coordinates to find an average y. o After the average x and average y have been determined. Deselect everything by clicking in a blank space and then highlight the average x, the average y, x x x x x x 6 ya yb yc yd ye yf 6 A B C D E F in that order., and then Finally, select Plot As (x,y) under the Graph menu as shown at the right. o After the mean point appears on the graph, you may want to change the color of the point and label it so that you don t mistake the point for one of the original scatter plot points. o Highlight the y-axis and select Point On Axis (shown below at the bottom left). o Label this point a lower case b it will represent the y-intercept for our least square line. Switch the Straight Edge tool to a line,, and create a line passing through the point b on the y-axis and the mean point (shown below at the bottom right). M. Winking p.98

o Highlight all of the original scatter plot points and the y-axis. Then, select Parallel Lines from the Construct menu (shown below at the left). o Then, carefully click on the intersection of each newly created parallel line with the least squares line to create a point of intersection. (Side note: You should notice at the very bottom of the Sketchpad window a description of what Sketchpad will do if you click. This can be helpful when you are creating the intersection points by clicking on them.) Side Note: Notice just before you click on the precise intersection point, Sketchpad is letting you know here what will happen if you click. o Click and hold down on the Custom Tool Button,, and select the custom tool we made earlier, Square. Using this tool click on the scatter plot point first and then the intersection point of the parallel lines to create each square (You may need to experiment some to determine how best to create each square so that it is the most visible. You may also need to move some of the original points of the scatter plot around temporarily for better viewing.) o Next for better viewing, highlight all of the parallel lines and the unnecessary points on the squares. Select Hide Objects under the Display menu. o Then, select Calculate under the Measure menu. o As we did earlier when calculating the mean point, add together all of the square s areas together and press. o Now Simply move the point b until the total sum of the areas is minimized. The result should be the least squares line. M. Winking p.99

o Highlight the Least Squares line and select Equation under the Measure menu. You can verify the results with a Texas Instruments Calculator. Advanced Analysis: o You can make an actual function plot of how the value of the y-intercept effects the overall sum of the squares. Highlight the b point on the least squares line. Select Ordinate(y) under the Measure menu. o Highlight this the new ordinate measure and the combined sum of the areas measure (in that order) and select Plot As (x,y) under the Graph menu. (shown at the right) o This should create a new point on the sketch. Look carefully at the measures you just plotted to determine its location. You may have to move the point b a little to see the newly plotted point. o Once the new point is found, highlight the plotted point and the point b. Then select Locus under the Construct Menu. o This should create a graph (a parabola) that represents the combined sum of the square s areas as a function of y-intercept b. In other words as you move the point b it shows you how the combined area of the squares if effected.