Scatter Plot, Correlation, and Regression on the TI-83/84



Similar documents
You buy a TV for $1000 and pay it off with $100 every week. The table below shows the amount of money you sll owe every week. Week

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

Tutorial for the TI-89 Titanium Calculator

Getting to know your TI-83

How Does My TI-84 Do That

Copyright 2013 by Laura Schultz. All rights reserved. Page 1 of 7

Guide for Texas Instruments TI-83, TI-83 Plus, or TI-84 Plus Graphing Calculator

Pearson s Correlation Coefficient

LAYOUT OF THE KEYBOARD

Exercise 1.12 (Pg )

2. Simple Linear Regression

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

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

USING A TI-83 OR TI-84 SERIES GRAPHING CALCULATOR IN AN INTRODUCTORY STATISTICS CLASS

Using Your TI-89 in Elementary Statistics

Introduction to the Graphing Calculator

I. Turn it on: Press É

Answer: C. The strength of a correlation does not change if units change by a linear transformation such as: Fahrenheit = 32 + (5/9) * Centigrade

Pre-Calculus Graphing Calculator Handbook

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

Univariate Regression

Straightening Data in a Scatterplot Selecting a Good Re-Expression Model

Years after US Student to Teacher Ratio

Chapter 23. Inferences for Regression

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

price quantity q The Supply Function price quantity q

Correlation. What Is Correlation? Perfect Correlation. Perfect Correlation. Greg C Elvers

Lesson Using Lines to Make Predictions

Regression and Correlation

Introductory Handbook for the TI-89 Titanium

Chapter Table & Graph

AP Physics 1 and 2 Lab Investigations

Copyright 2007 by Laura Schultz. All rights reserved. Page 1 of 5

Calculator Notes for the TI-89, TI-92 Plus, and Voyage 200

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

Activity 6 Graphing Linear Equations

0 Introduction to Data Analysis Using an Excel Spreadsheet

Dealing with Data in Excel 2010

Data Mining Part 5. Prediction

How Many Drivers? Investigating the Slope-Intercept Form of a Line

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

TIME SERIES ANALYSIS & FORECASTING

The importance of graphing the data: Anscombe s regression examples

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

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

Simple Regression Theory II 2010 Samuel L. Baker

Example: Boats and Manatees

DATA HANDLING AND ANALYSIS ON THE TI-82 AND TI-83/83 PLUS GRAPHING CALCULATORS:

Graphing Calculator Workshops

A Guide to Using Excel in Physics Lab

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

Correlation key concepts:

Getting Correct Results from PROC REG

The Big Picture. Correlation. Scatter Plots. Data

Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering

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

GeoGebra Statistics and Probability

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

2013 MBA Jump Start Program. Statistics Module Part 3

WEB APPENDIX. Calculating Beta Coefficients. b Beta Rise Run Y X

Session 7 Bivariate Data and Analysis

2 Describing, Exploring, and

Using Microsoft Excel to Plot and Analyze Kinetic Data


Diagrams and Graphs of Statistical Data

Using Excel for Statistical Analysis

Tutorial 2: Using Excel in Data Analysis

Linear Regression. Chapter 5. Prediction via Regression Line Number of new birds and Percent returning. Least Squares

Regression Analysis: A Complete Example

Acceleration of Gravity Lab Basic Version

Grade level: secondary Subject: mathematics Time required: 45 to 90 minutes

Curve Fitting in Microsoft Excel By William Lee

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

(Least Squares Investigation)

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

XPost: Excel Workbooks for the Post-estimation Interpretation of Regression Models for Categorical Dependent Variables

Chapter 7: Simple linear regression Learning Objectives

Simple Linear Regression, Scatterplots, and Bivariate Correlation

Describing Relationships between Two Variables

Course Objective This course is designed to give you a basic understanding of how to run regressions in SPSS.

DEPARTMENT OF PSYCHOLOGY UNIVERSITY OF LANCASTER MSC IN PSYCHOLOGICAL RESEARCH METHODS ANALYSING AND INTERPRETING DATA 2 PART 1 WEEK 9

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:

Introduction to Regression and Data Analysis

Chapter 4 Creating Charts and Graphs

7.7 Solving Rational Equations

POLYNOMIAL AND MULTIPLE REGRESSION. Polynomial regression used to fit nonlinear (e.g. curvilinear) data into a least squares linear regression model.

DATA INTERPRETATION AND STATISTICS

7.1 Graphs of Quadratic Functions in Vertex Form

Quadratic Functions Applications

The Correlation Coefficient

(More Practice With Trend Forecasts)

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.

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

Slope-Intercept Equation. Example

LAGUARDIA COMMUNITY COLLEGE CITY UNIVERSITY OF NEW YORK DEPARTMENT OF MATHEMATICS, ENGINEERING, AND COMPUTER SCIENCE

Transcription:

Scatter Plot, Correlation, and Regression on the TI-83/84 Summary: When you have a set of (x,y) data points and want to find the best equation to describe them, you are performing a regression. This page shows you how to determine the strength of the association between your two variables (correlation coefficient), and how to find the line of best fit (least squares regression line). For an illustration of linear regression, we ll use the data given below in a table. The explanatory variable x is dial settings on a freezer, and the response variable y is temperature of the freezer. Contents: Step 0. Setup Step 1. Make the Scatter Plot Step 2. Perform the Regression Step 3. Display the Regression Line Step 4 (optional). Display the Residuals Step 0. Setup Set floating point mode, if you haven t already. Go to the home screen Turn on diagnostics with the [DiagnosticOn] command. [MODE] [ ] [ENTER] [2nd MODE makes QUIT] [CLEAR] [2nd 0 makes CATALOG] [x -1 ] Don t press the [ALPHA] key, because the CATALOG command has already put the calculator in alpha mode. Scroll down to DiagnosticOn and press [ENTER] twice. The calculator will remember these settings when you turn it off: next time you can start with Step 1.

Step 1. Make the Scatter Plot Before you even run a regression, you should first plot the points and see whether they seem to lie along a straight line. If the distribution is obviously not a straight line, don t do a linear regression. (Some other form of regression might still be appropriate, but that is outside the scope of this course.) Turn off other plots. Enter the numbers. Dial (x) 0 2 3 5 6 Temp, F (y) 6 1 3 10 16 Set up the scatter plot. [Y=] Cursor to each highlighted = sign or Plot number and press [ENTER] to deactivate. [STAT] [1] selects the list-edit screen. Cursor onto the label L1 at top of first column, then [CLEAR] [ENTER] erases the list. Enter the x values. Cursor onto the label L2 at top of second column, then [CLEAR] [ENTER] erases the list. Enter the y values. [2nd Y= makes STAT PLOT] [1] [ENTER] turns Plot 1 on. [ ] [ENTER] selects scatter plot. [ ] [2nd 1 makes L1] ties list 1 to the x axis. [ ] [2nd 2 makes L2] ties list 2 to the y axis. Plot the points. [ZOOM] [9] automatically adjusts the window frame to fit the data, but does not adjust the grid spacing. (optional) [WINDOW], set Xscl=1 and Yscl=5, then [GRAPH] to redisplay it. (Appropriate values of Xscl and Yscl may be different for other problems. Pick the values that make the graph look best to you.)

Step 2. Perform the Regression Set up to calculate statistics. [STAT] [ ] [4] pastes LinReg(ax+b) to the home screen. [2nd 1 makes L1] [,] [2nd 2 makes L2] defines L1 as x values and L2 as y values. Set up to store regression equation. Make it so! [,] [VARS] [ ] [1] [1] pastes Y1 into the LinReg command. [ENTER] shows correlation and regression statistics and pastes the regression equation into Y1. Write down a (slope), b (y intercept), r (correlation coefficient; r * is our symbol). Round a and b to two more decimal places than your actual y values have; remember that final rounding should be done only at the end of calculations. Round r * to two decimal places unless it s very close to ±1 or to 0. a = 3.52 b = 6.46 r * = 0.992 R² is the coefficient of determination. The closer it is to 1, the better a predictor is the regression equation. Another way to look at it is that in this case R² is about 98%, so 98% of the variation in y is associated with the variation in x. Statisticians say that R² tells you how much of the variation in y is explained by variation in x, but if you use that word remember that it means a numerical association, not necessarily a cause-and-effect explanation. Only linear regression will have a correlation coefficient r, but any type of regression will have a coefficient of determination R² that tells you how well the regression equation predicts y from the independent variable(s). (The calculator uses r², but most authors use R².)

Step 3. Display the Regression Line Show line with original data points. [GRAPH] Step 4 (optional). Display the Residuals A plot of residuals can be helpful to show whether linear regression was the right choice. If the residuals are more or less evenly distributed above and below the axis and show no particular trend, you were probably right to choose linear regression. But if there is a trend, you have probably forced a linear regression on non-linear data. If your data points looked like they fit a straight line but the residuals show a trend, it probably means that you took data along a small part of a curve. The residuals are automatically calculated during the regression; all you have to do is plot them on the y axis against your existing x data. Make the residuals visible in the statistics editor. [STAT] [1] brings up the editor. Cursor to the column heading of [L3] and press [ 2nd DEL makes INS] to open up a new list. You see the NAME= indicator at the bottom of the screen, with the blinking A to indicate alpha mode.

Press [2nd STAT makes LIST], then scroll to RESID and press [ENTER]. The list of residuals appears. Turn off other plots. Set up the plot of residuals against the x data. Press [Y=]. Cursor to the highlighted = sign next to Y1 and press [ENTER]. Cursor to PLOT1 and press [ENTER]. Set up Plot 2 for the residuals. Press [2nd Y= makes STAT PLOT] [ ] [ENTER] [ENTER] to turn on Plot 2. Press [ ] [ENTER] to select a scatter plot. The x s are still in L1, so press [2nd 1 makes L1] [ ENTER]. In this plot, the y s will be the residuals: press [2nd STAT makes LIST], cursor to RESID, and press [ENTER] [ENTER]. Display the plot. [ZOOM] [9] displays the plot. Don t worry about the magnitude of the residuals, because [ZOOM] [9] adjusts the vertical scale so that the points take up the full screen. What you want to look at is whether there s a trend in the residuals. Here there is no trend, so you conclude that a linear regression was the right choice, as opposed to regression against some curve. (By the way, if you want to remove the residuals list from your statistics editor, just cursor to the column heading and press [DEL].)