hp calculators HP 50g Trend Lines The STAT menu Trend Lines Practice predicting the future using trend lines



Similar documents
Notes on the SHARP EL-738 calculator

Data Analysis Tools. Tools for Summarizing Data

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

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

Simple Linear Regression, Scatterplots, and Bivariate Correlation

Bill Burton Albert Einstein College of Medicine April 28, 2014 EERS: Managing the Tension Between Rigor and Resources 1

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

IB Math Research Problem

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

This chapter will demonstrate how to perform multiple linear regression with IBM SPSS

Years after US Student to Teacher Ratio

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Example: Boats and Manatees

2013 MBA Jump Start Program. Statistics Module Part 3

Dealing with Data in Excel 2010

Forecasting in STATA: Tools and Tricks

USING EXCEL ON THE COMPUTER TO FIND THE MEAN AND STANDARD DEVIATION AND TO DO LINEAR REGRESSION ANALYSIS AND GRAPHING TABLE OF CONTENTS

Activity 6 Graphing Linear Equations

Using Microsoft Excel to Plot and Analyze Kinetic Data

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

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

Simple Predictive Analytics Curtis Seare

The KaleidaGraph Guide to Curve Fitting

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

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

How To Run Statistical Tests in Excel

CHARTS AND GRAPHS INTRODUCTION USING SPSS TO DRAW GRAPHS SPSS GRAPH OPTIONS CAG08

Part 2: Analysis of Relationship Between Two Variables

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

Using Excel for Statistical Analysis

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

Chapter 23. Inferences for Regression

Curve Fitting in Microsoft Excel By William Lee

STATISTICA Formula Guide: Logistic Regression. Table of Contents

SPSS Guide: Regression Analysis

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

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

Week TSX Index

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.

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

A Guide to Using Excel in Physics Lab

Session 7 Bivariate Data and Analysis

Simple Regression Theory II 2010 Samuel L. Baker

The correlation coefficient

Merging Labels, Letters, and Envelopes Word 2013

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

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

GeoGebra Statistics and Probability

business statistics using Excel OXFORD UNIVERSITY PRESS Glyn Davis & Branko Pecar

(Least Squares Investigation)

Regression Analysis: A Complete Example

ch12 practice test SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Sharp EL-733A Tutorial

Data Analysis. Using Excel. Jeffrey L. Rummel. BBA Seminar. Data in Excel. Excel Calculations of Descriptive Statistics. Single Variable Graphs

Drawing a histogram using Excel

Microsoft Excel. Qi Wei

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

CURVE FITTING LEAST SQUARES APPROXIMATION

SPSS Explore procedure

5: Magnitude 6: Convert to Polar 7: Convert to Rectangular

Directions for using SPSS

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:

Stepwise Regression. Chapter 311. Introduction. Variable Selection Procedures. Forward (Step-Up) Selection

PERFORMING REGRESSION ANALYSIS USING MICROSOFT EXCEL

One-Way ANOVA using SPSS SPSS ANOVA procedures found in the Compare Means analyses. Specifically, we demonstrate

Data analysis and regression in Stata

How Does My TI-84 Do That

Basic Graphing Functions for the TI-83 and TI-84

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

ABSORBENCY OF PAPER TOWELS

seven Statistical Analysis with Excel chapter OVERVIEW CHAPTER

1. Go to your programs menu and click on Microsoft Excel.

2. Simple Linear Regression

Module 5: Multiple Regression Analysis

Calibration and Linear Regression Analysis: A Self-Guided Tutorial

Gestation Period as a function of Lifespan

TI-83/84 Plus Graphing Calculator Worksheet #2

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION

Chapter 13 Introduction to Linear Regression and Correlation Analysis

Using SPSS, Chapter 2: Descriptive Statistics

Row Echelon Form and Reduced Row Echelon Form

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

Introduction to the TI-Nspire CX

TI-Inspire manual 1. I n str uctions. Ti-Inspire for statistics. General Introduction

Basic Formulas in Excel. Why use cell names in formulas instead of actual numbers?

Exercise 1.12 (Pg )

Using R for Linear Regression

Simple linear regression

CHAPTER 7 INTRODUCTION TO SAMPLING DISTRIBUTIONS

X X X a) perfect linear correlation b) no correlation c) positive correlation (r = 1) (r = 0) (0 < r < 1)

How to make a line graph using Excel 2007

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

Creating a table of contents quickly in Word

2. What is the general linear model to be used to model linear trend? (Write out the model) = or

Using Excel for Handling, Graphing, and Analyzing Scientific Data:

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

USING EXCEL 2010 TO SOLVE LINEAR PROGRAMMING PROBLEMS MTH 125 Chapter 4

Transcription:

The STAT menu Trend Lines Practice predicting the future using trend lines

The STAT menu The Statistics menu is accessed from the ORANGE shifted function of the 5 key by pressing Ù. When pressed, a CHOOSE box is displayed with a number of problem areas within statistics where the HP 50g can be applied. Figure 1 The first choice deals with calculating many values related to the statistics of a single variable, such as the average, standard deviation and others. The second choice deals with placing data within bins or classes and is useful when dealing with frequency distributions or when there is a need to summarize data within a histogram. The third choice, Fit Data.. is what we will use to compute trend lines. The fourth choice allows for the computation of summary statistics from a data set, such as the sum of all X values, the sum of all the Y values squared, and others. The fifth choice allows for the evaluation of many different hypothesis tests and the sixth choice allows for the construction of confidence intervals around a sample mean. To estimate a trend line, press the key until the third choice Fit Data.. is highlighted and press the F key to register the choice of ##OK## shown above the F key at the right side of the display. The ` key can also be used to make selections from a CHOOSE box and will be used below. Alternatively, since the Fit Data.. choice is the third item in the list, the 3 key can be pressed to immediately choose this function. The screen displayed allows for the entry of the existing data for the solution of trend lines. The DAT field at the top of the screen is where a matrix containing the statistics data is entered. When the cursor is on this field, press the A key at the top left of the keyboard to register the choice of #EDIT!!. When pressed, the MatrixWriter is started to allow for the entry of the statistical data as shown in the screen below. Figure 2 In many ways, this screen works like any spreadsheet. Enter numbers and they will go in the highlighted cell. The menu labels at the lower left corner of the screen,!!!go!! and!!go!, determine the direction the cursor moves after a data point has been entered, either right to the next column or down to the next row. In this example, the selection is to move right after each data point has been entered. This is indicated by the square present next to the!!!go!! menu label. To change the way the cursor will move, press the menu label for the direction desired and the square in the menu label will change accordingly. If a column is too small to show the data entered, the!!!wid!! and!!±wid!!! menu keys may be used to expand or shrink the area displayed for each column. Enter the first X data value by keying in the numbers and pressing the `key. The cursor will move to the right into the second column where the first Y data value should be keyed with the `key pressed to accept this value. At this point, the cursor will be in column 3. Use the and š keys to move back to the first column and enter the second X data value. Since the variable for DAT will hold its contents from one calculation to the next, be alert to extra rows of data that may exist below the last row entered Figure 3 hp calculators - 2 -

for the current calculation. Any rows not needed can be deleted if the cursor is on the row to be deleted by pressing the L key and then pressing the!!!-row!!! menu label above the Bkey. Continue entering the pairs of numbers in columns 1 and 2 until all have been entered. Press the key until the cursor is in row 1 and the screen would look something like this: Figure 4 To accept the data as input, press the `key to return to the previous menu. If an error is noticed, use the š cursor keys to move to the cell with the incorrect value. Key in the correct value and press the `key. Do this until all data values have been corrected and press the `key again to return to the previous menu. The screen will now look something like this: To make predictions using a linear regression model, leave the model choice set to the value of Linear Fit. Other choices include Logarithmic, Exponential, Power and Best fits. To access the prediction screen, press the D key to register the choice of #PRED!!. The screen displayed will look like this: Figure 5 Figure 6 Move the cursor key down to the X: or Y: data entry locations. You may then enter an X or Y value for which you wish to predict the corresponding X or Y value. To actually predict the corresponding value, press the #PRED!! key after entering the X or Y value. You may do this as often as you like by moving the cursor back and forth. To exit from this data entry screen, press the $ key to return to the previous data entry screen. From this location, you can either press the $ key again to quit the STAT screen or press ##OK## shown above the F to exit the STAT screen but with the extra feature of copying to the screen information about the linear regression line that was used. Three items will be shown on the screen. The top level indicates the equation of the linear regression-determined line. The second level indicates the correlation of the line. The bottom level indicates the covariance of the line. The correlation will always be between 1 and +1, where values closer to 1 and +1 indicating a good fit of the line to the data. Values nearer to zero indicate little to no fit. Little reliance should be placed upon predictions made where the correlation is not near 1 or +1. Exactly how far away from these values the correlation can be and the equation still be considered a good predictor is a matter of debate. Once these data items are viewed, pressing Ù will return you to the STAT menu where you can reenter the Fit Data.. area if desired. Trend Lines A trend line is actually an equation of a line in the form Y = bx + a, where b is the slope of the line and a is the Y-intercept. Linear regression calculates the equation for this line by minimizing the sum of the squared residuals between the actual data points and the predicted data points using the estimated line s slope and intercept. Once the slope and intercept have been calculated, it is fairly easy to substitute other values for X and predict a corresponding value for Y, or to substitute a value for Y and predict a value for X. When the X value is a measure of time (months or years, for example), the equation is specifically referred to as a trend line. These are often used to predict future sales growth given past sales data. Be aware, however, that it is rarely a good idea to use such an hp calculators - 3 -

equation to predict too far into the future from the actual data used, since circumstances can change rather quickly. Also be aware that these predictions are linear in nature and make no adjustment for any seasonality that may exist. Practice predicting the future using trend lines Example 1: Solution: John s store has had sales for the last 5 months of $150, $165, $160, $175, and $170. Use a trend line to predict sales for months 6 and 7 and also predict when estimated sales would reach $200. What is the correlation for the regression line? The X values will be the months of 1 through 5. The Y values will be the existing sales numbers. Ù `#EDIT!! 1`150` šš2`165` 3`160`4`175`5`170` `PRED!! 6`#PRED!! Figure 7 š7`#pred!! Figure 8 200` #PRED!! Figure 9 $ ##OK## Figure 10 Figure 11 hp calculators - 4 -

Answer: Sales in month 6 are predicted to be $179 and in month 7 $184. Sales are predicted to reach $200 between months 10 and 11. The correlation is 0.82, which indicates a fairly strong relationship and predictive ability. Example 2: A store s quarterly sales for the last 2 years have been $30,000, $31,200, $30,500, $32,400, $32,200, $33,100, $32,600 and $33,250. Use a trend line to predict sales for the next year and also predict when estimated sales would reach $38,000. What is the correlation of the linear regression line? Solution: The X values will be the quarters of 1 through 8. The Y values will be the existing sales numbers. Predictions will be made for quarters 9, 10, 11, and 12. Ù `#EDIT!! 1`30000` šš!!!wid!!!!!wid!! 2` 31200`3`30500`4`32400` 5`32200`6`33100`7` 32600`8`33250` `#PRED!! 9`#PRED!! Figure 12 š10`#pred!! Figure 13 š11`#pred!! Figure 14 š12`#pred!! Figure 15 Figure 16 hp calculators - 5 -

38000` #PRED!! Figure 17 $ ##OK## Figure 18 Answer: Sales for quarters 9 through 12 are predicted to be $33,907, $34,351, $34,796 and $35,241. Sales are predicted to reach $38,000 between months 18 and 19. The correlation is 0.90, which indicates a fairly strong relationship and predictive ability. hp calculators - 6 -