Least Squares Regression

Size: px
Start display at page:

Download "Least Squares Regression"

Transcription

1 Least Squares Regression Sections 5.3 & 5.4 Cathy Poliak, Ph.D. Office in Fleming 11c Department of Mathematics University of Houston Lecture Cathy Poliak, Ph.D. Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

2 Outline 1 Least-Squares Regression 2 Prediction 3 Coefficient of Determination 4 Residuals 5 Residual Plots Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

3 Popper Set Up Fill in all of the proper bubbles. Make sure your ID number is correct. Make sure the filled in circles are very dark. This is popper number 07. Cathy Poliak, Ph.D. Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

4 Scatterplots and Correlation We are wanting to know the relationship between two random variables. To quickly look at the relationship we use the scatterplot and correlation to determine: Direction (positive or negative) Strength (weak, moderately weak, strong) Form (linear or non-linear) Cathy Poliak, Ph.D. Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

5 Popper 07 Questions We are looking at the relationship between how many items are on a shelf (shelf space) and the number of items sold in a week. The correlation coefficient is r = What is the direction of the relationship between shelf space and weekly sales? a) Positive b) Negative c) No direction 2. What is the strength the relationship between shelf space and weekly sales? a) Strong b) Moderate c) Weak 3. What form appears to be in the relationship between shelf space and weekly sales? a) Linear b) Non-linear Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

6 Popper 07 Questions Use the following scatterplot to answer the questions below. y x 4. What is the correlation coefficient for this set of data? a. 1 b c d If both X and Y are multiplied by 2, what would happen to the correlation coefficient? a. It will stay the same. c. It will be multiplied by 2. b. It will be divided by 2. d. It will be zero. Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

7 Example The marketing manager of a supermarket chain would like to use shelf space to predict the sales of coffee. A random sample of 12 stores is selected, with the following results. Store Shelf Space (ft) Weekly Sales (# sold) Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

8 Scatterplot Number Sold Shelf Space(feet) Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

9 Examining relationships Correlation measures the direction and strength of the straight-line relationship between two quantitative variables. If a scatterpolt shows a linear relationship, we would like to summarize this overall pattern by drawing a line on the scatterplot. A regression line is a straight line that describes how a response variable y changes as an explanatory variable x changes. This equation is used when one of the variables helps explain or predict the other. Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Sections (Department 5.3 & 5.4of Mathematics University of Lecture Houston 14 ) / 32

10 Least-Squares regression The least-squares regression line (LSRL) of Y on X is the line that makes the sum of the squares of the vertical distances of the data points from the line as small as possible / 32

11 Least-Squares Number Sold Shelf Space(feet) / 32

12 Equation of the least-squares regression line Let x be the explanatory variable and y be the response variable for n individuals. From the data calculate the means x and ȳ and the standard deviations s x and s y of the two variables, and their correlation r. The least-squares line is the equation ŷ = a + bx / 32

13 Equation of the least-squares regression line The least-squares line is the equation ŷ = a + bx. In the example of the supermarket sales, let Y = weekly sales and X = shelf space. The least-squares regression equation to predict weekly sales based on shelf space is ŷ = x / 32

14 Calculating the least squares regression equation by hand Let X be the explanatory variable and Y be the response variable for n individuals. 1. From the data calculate the means x and ȳ and the standard deviations s x and s y of the two variables, and their correlation r. 2. Calculate the slope: 3. Calculate the y-intercept: b = r s y s x a = ȳ b x 4. Then the equation is: ŷ = a + bx. Where you input the slope into b and the y-intercept into a and leave y and x alone (do not put any numbers into y and x) / 32

15 Finding Equation for Coffee Sales Given these values determine the least-square regression line (LSRL) equation for predicting number sold based on shelf space. Explanatory variable: Shelf space (X) x = 12.5 feet, s x = feet. Response variable: Sales (Y ) ȳ = units sold, s y = units sold. Correlation: r = / 32

16 Example of LSLR for Cost of Car The following are descriptive statistics for estimating cost of the car Y by the age of the car (X), r = Estimated Cost (Y ) ȳ = s y = Age (X) x = s x = Determine the Least Squares Equation (LSLR) of the data / 32

17 Least-Square Regression Line Using R Use the command: lm(yvariable Xvariable). For example of the coffee sales. > shelf=c(5,5,5,10,10,10,15,15,15,20,20,20) > sales=c(160,220,140,190,240,260,230,270,280,260,290,310) > lm(sales~shelf) Call: lm(formula = sales ~ shelf) Coefficients: (Intercept) shelf Where the Intercept value is a and the other value is b, the slope. Thus the equation in this example is: ŷ = x / 32

18 Least-Squares Regression Line Using TI-83(84) 1. Make sure the diagnostics is turned on by clicking 2ND CATALOG and scroll down to Diagnostics. 2. Choose STAT CALC then 8:LinReg(a+bx). 3. Make sure your Xlist is L1 and Ylist is L2 and select Calculate. 4. a is your y-intercept and b is your slope / 32

19 Prediction The equation of the regression line makes prediction easy. Substitute an x-value into the equation. Predict the weekly sales of coffee with shelf space of 12 feet. ŷ = = Thus the is the predicted weekly number of units of coffee sold that is has 12 feet of shelf space / 32

20 Popper Questions The least-squares regression line equation to predict cost of the car(y ) by the age of the car (X) is: ŷ = x. 6. Predict the cost of an automobile for a 5 year old car. a) $18358 b) $1534 c) $10688 d) $ Predict the cost of an automobile for a 20 year old car. a) $18358 b) -$1534 c) -$12,322 d) $ / 32

21 Facts about least-squares regression Fact 1: A change of one standard deviation in x corresponds to a change of r standard deviations in y. (b 1 slope) Fact 2: The least-squares regression line always passes through the point ( x, ȳ). That is why we can get b 0 the y-intercept. Fact 3: The distinction between explanatory and response variables is essential in regression / 32

22 R 2 The square of the correlation R 2 describes the strength of a straight-line relationship. The formal name of it is called the Coefficient of Determination. This is the percent of variation of Y that is explained by this equation. R 2 is a measure of how successful the regression was in explaining the response / 32

23 R 2 for coffee sales The correlation is r = The coefficient of determination is R 2 = = This means that 68.4% of the variation in coffee sales can be explained by the equation / 32

24 Example The following is an output of a least-squares regression equation in the TI-84. What percent of the variation in the y-variable can be explained by this regression equation? a) 67% b) % c) 77% d) 88% / 32

25 Is good at predicting the response? The coefficient of determination, R 2 is the percent (fraction) of variability in the response variable (Y ) that is explained by the least-squares regression with the explanatory variable. This is a measure of how successful the regression equation was in predicting the response variable. The closer R 2 is to one (100%) the better our equation is at predicting the response variable. From the previous question we can say that 84.33% of the variation in the monthly gas bills can be explained by the least squares regression line equation / 32

26 Is the LSLR good at predicting the response? A residual is the difference between an observed value of the response variable and the value predicted by the regression line. residual = observed y predicted y We can determine residuals for each observation. The closer the residuals are to zero, the better we are at predicting the response variable. We can plot the residuals for each observation, these are called the residual plots / 32

27 Example of residuals The regression equation to determine number of units sold (y) for coffee by shelf space (x) is: ŷ = x. A store that has 10 feet of space sold 260 units of coffee. Determine the residual for this store. 1. Determine the predicted units sold for x = The observed units sold is the given value The residual is the difference between the observed y and the predicted y / 32

28 Residuals of coffee sales The regression equation is Weekly Sales = Shelf Space Shelf Observed Predicted Residual Space Weekly Sales Weekly Sales / 32

29 Residual Plots The plot of the residual values against the x values can tell us about our LSRL model. This is a scatterplot of where the x-values are on the horizontal axis and the residuals are on the vertical axis. In R: plot(x,resid(lm(y x))) If the equation is a good way of predicting the y-variable (our model is a good fit), the residual plot will be a bunch of scattered points with no pattern that is centered about zero on the vertical axis / 32

30 Residual Plot residuals shelf / 32

31 R code > shelf=c(5,5,5,10,10,10,15,15,15,20,20,20) > sales=c(160,220,140,190,240,260,230,270,280,260,290,310) > plot(shelf,resid(lm(sales~shelf)),ylab="residuals") > abline(0,0) / 32

32 Examining a residual plot A curved pattern shows that the relationship is not linear. Increasing spread about the zero line as x increases indicates the prediction of y will be less accurate for larger x. Decreasing spread about the zero line as x increases indicates the prediction of y to be more accurate for larger x. Individual points with larger residuals are considered outliers in the vertical (y) direction. Individual points that are extreme in the x direction are considered outliers for the x-variable / 32

Inference for Regression

Inference for Regression Inference for Regression Section 9.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 13b - 3339 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Density Curves & Normal Distributions

Density Curves & Normal Distributions Density Curves & Normal Distributions Sections 4.1 & 4.2 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 9-2311 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Bivariate Data Summary

Bivariate Data Summary Bivariate Data Summary Bivariate data data that examines the relationship between two variables What individuals to the data describe? What are the variables and how are they measured Are the variables

More information

BIVARIATE DATA data for two variables

BIVARIATE DATA data for two variables (Chapter 3) BIVARIATE DATA data for two variables INVESTIGATING RELATIONSHIPS We have compared the distributions of the same variable for several groups, using double boxplots and back-to-back stemplots.

More information

Confidence Intervals for Two Means

Confidence Intervals for Two Means Confidence Intervals for Two Means Section 7.5 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 21-2311 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Inverse Normal Distribution and Sampling Distributions

Inverse Normal Distribution and Sampling Distributions Inverse Normal Distribution and Sampling Distributions Section 4.3 & 4.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Department of Mathematics University of Houston Lecture 11-2311 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Standard Normal Calculations

Standard Normal Calculations Standard Normal Calculations Section 4.3 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 10-2311 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Jointly Distributed Variables

Jointly Distributed Variables Jointly Distributed Variables Sec 2.6, 9.1 & 9.2 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 7-3339 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Steps to take to do the descriptive part of regression analysis:

Steps to take to do the descriptive part of regression analysis: STA 2023 Simple Linear Regression: Least Squares Model Steps to take to do the descriptive part of regression analysis: A. Plot the data on a scatter plot. Describe patterns: 1. Is there a strong, moderate,

More information

AP Statistics Two-Variable Data Analysis

AP Statistics Two-Variable Data Analysis AP Statistics Two-Variable Data Analysis Key Ideas Scatterplots Lines of Best Fit The Correlation Coefficient Least Squares Regression Line Coefficient of Determination Residuals Outliers and Influential

More information

Determine is the equation of the LSRL. Determine is the equation of the LSRL of Customers in line and seconds to check out.. Chapter 3, Section 2

Determine is the equation of the LSRL. Determine is the equation of the LSRL of Customers in line and seconds to check out.. Chapter 3, Section 2 3.2c Computer Output, Regression to the Mean, & AP Formulas Be sure you can locate: the slope, the y intercept and determine the equation of the LSRL. Slope is always in context and context is x value.

More information

Summarizing Data: Paired Quantitative Data

Summarizing Data: Paired Quantitative Data Summarizing Data: Paired Quantitative Data regression line (or least-squares line) a straight line model for the relationship between explanatory (x) and response (y) variables, often used to produce a

More information

Name. The data below are airfares to various cities from Baltimore, MD (including the descriptive statistics).

Name. The data below are airfares to various cities from Baltimore, MD (including the descriptive statistics). Name The data below are airfares to various cities from Baltimore, MD (including the descriptive statistics). 178 138 94 278 158 258 198 188 98 179 138 98 N Mean Std. Dev. Min Q 1 Median Q 3 Max 12 166.92

More information

Bernoulli Trials and Binomial Distribution

Bernoulli Trials and Binomial Distribution Bernoulli Trials and Binomial Distribution Sec 4.4-4.5 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 9-3339 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Chapter 3: Describing Relationships

Chapter 3: Describing Relationships Chapter 3: Describing Relationships Section 3.2 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 3 Describing Relationships 3.1 Scatterplots and Correlation 3.2 Section 3.2

More information

Chapter 8. Linear Regression /71

Chapter 8. Linear Regression /71 Chapter 8 Linear Regression 1 /71 Homework p192 1, 2, 3, 5, 7, 13, 15, 21, 27, 28, 29, 32, 35, 37 2 /71 3 /71 Objectives Determine Least Squares Regression Line (LSRL) describing the association of two

More information

Chapter 3: Examining Relationships

Chapter 3: Examining Relationships Chapter 3: Examining Relationships Most statistical studies involve more than one variable. Often in the AP Statistics exam, you will be asked to compare two data sets by using side by side boxplots or

More information

Reminder: Univariate Data. Bivariate Data. Example: Puppy Weights. You weigh the pups and get these results: 2.5, 3.5, 3.3, 3.1, 2.6, 3.6, 2.

Reminder: Univariate Data. Bivariate Data. Example: Puppy Weights. You weigh the pups and get these results: 2.5, 3.5, 3.3, 3.1, 2.6, 3.6, 2. TP: To review Standard Deviation, Residual Plots, and Correlation Coefficients HW: Do a journal entry on each of the calculator tricks in this lesson. Lesson slides will be posted with notes. Do Now: Write

More information

Least-Squares Regression. Unit 3 Exploring Data

Least-Squares Regression. Unit 3 Exploring Data Least-Squares Regression Unit 3 Exploring Data Regression Line A straight line that describes how a variable,, changes as an variable,, changes unlike, requires an and variable used to predict the value

More information

6.1.1 How can I make predictions?

6.1.1 How can I make predictions? CCA Ch 6: Modeling Two-Variable Data Name: Team: 6.1.1 How can I make predictions? Line of Best Fit 6-1. a. Length of tube: Diameter of tube: Distance from the wall (in) Width of field of view (in) b.

More information

MATH 2560 C F03 Elementary Statistics I LECTURE 9: Least-Squares Regression Line and Equation

MATH 2560 C F03 Elementary Statistics I LECTURE 9: Least-Squares Regression Line and Equation MATH 2560 C F03 Elementary Statistics I LECTURE 9: Least-Squares Regression Line and Equation 1 Outline least-squares regresion line (LSRL); equation of the LSRL; interpreting the LSRL; correlation and

More information

Classroom Assessments Based on Standards Integrated College Prep I Unit 3 CP 103A

Classroom Assessments Based on Standards Integrated College Prep I Unit 3 CP 103A Classroom Assessments Based on Standards Integrated College Prep I Unit 3 CP 103A Name: ID Number: Teacher Name: Score: Proficient: yes no How Tall Can He Be? The table below shows the average height in

More information

Test 1 Review. Review. Cathy Poliak, Ph.D. Office in Fleming 11c (Department Reveiw of Mathematics University of Houston Exam 1)

Test 1 Review. Review. Cathy Poliak, Ph.D. Office in Fleming 11c (Department Reveiw of Mathematics University of Houston Exam 1) Test 1 Review Review Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Exam 1 Review Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c

More information

Describing Bivariate Relationships

Describing Bivariate Relationships Describing Bivariate Relationships Bivariate Relationships What is Bivariate data? When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response variables Plot the data

More information

Linear Regression. Linear Regression. Linear Regression. Did You Mean Association Or Correlation?

Linear Regression. Linear Regression. Linear Regression. Did You Mean Association Or Correlation? Did You Mean Association Or Correlation? AP Statistics Chapter 8 Be careful not to use the word correlation when you really mean association. Often times people will incorrectly use the word correlation

More information

Related Example on Page(s) R , 148 R , 148 R , 156, 157 R3.1, R3.2. Activity on 152, , 190.

Related Example on Page(s) R , 148 R , 148 R , 156, 157 R3.1, R3.2. Activity on 152, , 190. Name Chapter 3 Learning Objectives Identify explanatory and response variables in situations where one variable helps to explain or influences the other. Make a scatterplot to display the relationship

More information

Linear Regression and Correlation. February 11, 2009

Linear Regression and Correlation. February 11, 2009 Linear Regression and Correlation February 11, 2009 The Big Ideas To understand a set of data, start with a graph or graphs. The Big Ideas To understand a set of data, start with a graph or graphs. If

More information

Scatterplots and Correlation

Scatterplots and Correlation Bivariate Data Page 1 Scatterplots and Correlation Essential Question: What is the correlation coefficient and what does it tell you? Most statistical studies examine data on more than one variable. Fortunately,

More information

Linear Regression Communication, skills, and understanding Calculator Use

Linear Regression Communication, skills, and understanding Calculator Use Linear Regression Communication, skills, and understanding Title, scale and label the horizontal and vertical axes Comment on the direction, shape (form), and strength of the relationship and unusual features

More information

Session 4 2:40 3:30. If neither the first nor second differences repeat, we need to try another

Session 4 2:40 3:30. If neither the first nor second differences repeat, we need to try another Linear Quadratics & Exponentials using Tables We can classify a table of values as belonging to a particular family of functions based on the math operations found on any calculator. First differences

More information

Chapter 7. Linear Regression (Pt. 1) 7.1 Introduction. 7.2 The Least-Squares Regression Line

Chapter 7. Linear Regression (Pt. 1) 7.1 Introduction. 7.2 The Least-Squares Regression Line Chapter 7 Linear Regression (Pt. 1) 7.1 Introduction Recall that r, the correlation coefficient, measures the linear association between two quantitative variables. Linear regression is the method of fitting

More information

Prob/Stats Questions? /32

Prob/Stats Questions? /32 Prob/Stats 10.4 Questions? 1 /32 Prob/Stats 10.4 Homework Apply p551 Ex 10-4 p 551 7, 8, 9, 10, 12, 13, 28 2 /32 Prob/Stats 10.4 Objective Compute the equation of the least squares 3 /32 Regression A scatter

More information

5.1 Bivariate Relationships

5.1 Bivariate Relationships Chapter 5 Summarizing Bivariate Data Source: TPS 5.1 Bivariate Relationships What is Bivariate data? When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response variables

More information

Chapter 2: Looking at Data Relationships (Part 3)

Chapter 2: Looking at Data Relationships (Part 3) Chapter 2: Looking at Data Relationships (Part 3) Dr. Nahid Sultana Chapter 2: Looking at Data Relationships 2.1: Scatterplots 2.2: Correlation 2.3: Least-Squares Regression 2.5: Data Analysis for Two-Way

More information

3.2: Least Squares Regressions

3.2: Least Squares Regressions 3.2: Least Squares Regressions Section 3.2 Least-Squares Regression After this section, you should be able to INTERPRET a regression line CALCULATE the equation of the least-squares regression line CALCULATE

More information

Chapter 4 Describing the Relation between Two Variables

Chapter 4 Describing the Relation between Two Variables Chapter 4 Describing the Relation between Two Variables 4.1 Scatter Diagrams and Correlation The is the variable whose value can be explained by the value of the or. A is a graph that shows the relationship

More information

Announcements: You can turn in homework until 6pm, slot on wall across from 2202 Bren. Make sure you use the correct slot! (Stats 8, closest to wall)

Announcements: You can turn in homework until 6pm, slot on wall across from 2202 Bren. Make sure you use the correct slot! (Stats 8, closest to wall) Announcements: You can turn in homework until 6pm, slot on wall across from 2202 Bren. Make sure you use the correct slot! (Stats 8, closest to wall) We will cover Chs. 5 and 6 first, then 3 and 4. Mon,

More information

Consistent and Dependent

Consistent and Dependent Graphing a System of Equations System of Equations: Consists of two equations. The solution to the system is an ordered pair that satisfies both equations. There are three methods to solving a system;

More information

s e, which is large when errors are large and small Linear regression model

s e, which is large when errors are large and small Linear regression model Linear regression model we assume that two quantitative variables, x and y, are linearly related; that is, the the entire population of (x, y) pairs are related by an ideal population regression line y

More information

Chapter 12 : Linear Correlation and Linear Regression

Chapter 12 : Linear Correlation and Linear Regression Chapter 1 : Linear Correlation and Linear Regression Determining whether a linear relationship exists between two quantitative variables, and modeling the relationship with a line, if the linear relationship

More information

Mathematics for Economics MA course

Mathematics for Economics MA course Mathematics for Economics MA course Simple Linear Regression Dr. Seetha Bandara Simple Regression Simple linear regression is a statistical method that allows us to summarize and study relationships between

More information

IF YOU HAVE DATA VALUES:

IF YOU HAVE DATA VALUES: Unit 02 Review Ways to obtain a line of best fit IF YOU HAVE DATA VALUES: 1. In your calculator, choose STAT > 1.EDIT and enter your x values into L1 and your y values into L2 2. Choose STAT > CALC > 8.

More information

MINI LESSON. Lesson 2a Linear Functions and Applications

MINI LESSON. Lesson 2a Linear Functions and Applications MINI LESSON Lesson 2a Linear Functions and Applications Lesson Objectives: 1. Compute AVERAGE RATE OF CHANGE 2. Explain the meaning of AVERAGE RATE OF CHANGE as it relates to a given situation 3. Interpret

More information

Math 2311 Written Homework 6 (Sections )

Math 2311 Written Homework 6 (Sections ) Math 2311 Written Homework 6 (Sections 5.4 5.6) Name: PeopleSoft ID: Instructions: Homework will NOT be accepted through email or in person. Homework must be submitted through CourseWare BEFORE the deadline.

More information

Mrs. Poyner/Mr. Page Chapter 3 page 1

Mrs. Poyner/Mr. Page Chapter 3 page 1 Name: Date: Period: Chapter 2: Take Home TEST Bivariate Data Part 1: Multiple Choice. (2.5 points each) Hand write the letter corresponding to the best answer in space provided on page 6. 1. In a statistics

More information

Chapter 12 Summarizing Bivariate Data Linear Regression and Correlation

Chapter 12 Summarizing Bivariate Data Linear Regression and Correlation Chapter 1 Summarizing Bivariate Data Linear Regression and Correlation This chapter introduces an important method for making inferences about a linear correlation (or relationship) between two variables,

More information

Expected Values, Exponential and Gamma Distributions

Expected Values, Exponential and Gamma Distributions Expected Values, Exponential and Gamma Distributions Sections 5.2 & 5.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 13-3339 Cathy

More information

Lecture 46 Section Tue, Apr 15, 2008

Lecture 46 Section Tue, Apr 15, 2008 ar Koer ar Lecture 46 Section 13.3.2 Koer Hampden-Sydney College Tue, Apr 15, 2008 Outline ar Koer 1 2 3 4 5 ar Koer We are now ready to calculate least-squares regression line. formulas are a bit daunting,

More information

Lecture 48 Sections Mon, Nov 16, 2009

Lecture 48 Sections Mon, Nov 16, 2009 and and Lecture 48 Sections 13.4-13.5 Hampden-Sydney College Mon, Nov 16, 2009 Outline and 1 2 3 4 5 6 Outline and 1 2 3 4 5 6 and Exercise 13.4, page 821. The following data represent trends in cigarette

More information

Chapter 3: Describing Relationships

Chapter 3: Describing Relationships Chapter 3: Describing Relationships Section 3.2 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 3 Describing Relationships 3.1 Scatterplots and Correlation 3.2 Section 3.2

More information

Algebra I Notes Modeling with Linear Functions Unit 6

Algebra I Notes Modeling with Linear Functions Unit 6 Unit 6 MODELING WITH LINEAR FUNCTIONS PREREQUISITE SKILLS: students should understand how to plot points on the coordinate plane students should understand how to write and solve linear equations in two

More information

AP Statistics Bivariate Data Analysis Test Review. Multiple-Choice

AP Statistics Bivariate Data Analysis Test Review. Multiple-Choice Name Period AP Statistics Bivariate Data Analysis Test Review Multiple-Choice 1. The correlation coefficient measures: (a) Whether there is a relationship between two variables (b) The strength of the

More information

a. Length of tube: Diameter of tube:

a. Length of tube: Diameter of tube: CCA Ch 6: Modeling Two-Variable Data Name: 6.1.1 How can I make predictions? Line of Best Fit 6-1. a. Length of tube: Diameter of tube: Distance from the wall (in) Width of field of view (in) b. Make a

More information

Chapter 6. Exploring Data: Relationships

Chapter 6. Exploring Data: Relationships Chapter 6 Exploring Data: Relationships For All Practical Purposes: Effective Teaching A characteristic of an effective instructor is fairness and consistenc in grading and evaluating student performance.

More information

appstats8.notebook October 11, 2016

appstats8.notebook October 11, 2016 Chapter 8 Linear Regression Objective: Students will construct and analyze a linear model for a given set of data. Fat Versus Protein: An Example pg 168 The following is a scatterplot of total fat versus

More information

Examining Relationships. Chapter 3

Examining Relationships. Chapter 3 Examining Relationships Chapter 3 Scatterplots A scatterplot shows the relationship between two quantitative variables measured on the same individuals. The explanatory variable, if there is one, is graphed

More information

Correlation A relationship between two variables As one goes up, the other changes in a predictable way (either mostly goes up or mostly goes down)

Correlation A relationship between two variables As one goes up, the other changes in a predictable way (either mostly goes up or mostly goes down) Two-Variable Statistics Correlation A relationship between two variables As one goes up, the other changes in a predictable way (either mostly goes up or mostly goes down) Positive Correlation As one variable

More information

Example: Can an increase in non-exercise activity (e.g. fidgeting) help people gain less weight?

Example: Can an increase in non-exercise activity (e.g. fidgeting) help people gain less weight? Example: Can an increase in non-exercise activity (e.g. fidgeting) help people gain less weight? 16 subjects overfed for 8 weeks Explanatory: change in energy use from non-exercise activity (calories)

More information

Scatterplots. 3.1: Scatterplots & Correlation. Scatterplots. Explanatory & Response Variables. Section 3.1 Scatterplots and Correlation

Scatterplots. 3.1: Scatterplots & Correlation. Scatterplots. Explanatory & Response Variables. Section 3.1 Scatterplots and Correlation 3.1: Scatterplots & Correlation Scatterplots A scatterplot shows the relationship between two quantitative variables measured on the same individuals. The values of one variable appear on the horizontal

More information

Chapter 11. Correlation and Regression

Chapter 11. Correlation and Regression Chapter 11 Correlation and Regression Correlation A relationship between two variables. The data can be represented b ordered pairs (, ) is the independent (or eplanator) variable is the dependent (or

More information

Lecture 8 CORRELATION AND LINEAR REGRESSION

Lecture 8 CORRELATION AND LINEAR REGRESSION Announcements CBA5 open in exam mode - deadline midnight Friday! Question 2 on this week s exercises is a prize question. The first good attempt handed in to me by 12 midday this Friday will merit a prize...

More information

Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details. Section 10.1, 2, 3

Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details. Section 10.1, 2, 3 Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details Section 10.1, 2, 3 Basic components of regression setup Target of inference: linear dependency

More information

Ch Inference for Linear Regression

Ch Inference for Linear Regression Ch. 12-1 Inference for Linear Regression ACT = 6.71 + 5.17(GPA) For every increase of 1 in GPA, we predict the ACT score to increase by 5.17. population regression line β (true slope) μ y = α + βx mean

More information

AP Statistics Unit 6 Note Packet Linear Regression. Scatterplots and Correlation

AP Statistics Unit 6 Note Packet Linear Regression. Scatterplots and Correlation Scatterplots and Correlation Name Hr A scatterplot shows the relationship between two quantitative variables measured on the same individuals. variable (y) measures an outcome of a study variable (x) may

More information

ASSIGNMENT 3 SIMPLE LINEAR REGRESSION. Old Faithful

ASSIGNMENT 3 SIMPLE LINEAR REGRESSION. Old Faithful ASSIGNMENT 3 SIMPLE LINEAR REGRESSION In the simple linear regression model, the mean of a response variable is a linear function of an explanatory variable. The model and associated inferential tools

More information

Expected Values, Exponential and Gamma Distributions

Expected Values, Exponential and Gamma Distributions Expected Values, Exponential and Gamma Distributions Sections 5.2-5.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 14-3339 Cathy Poliak,

More information

Graphing Equations in Slope-Intercept Form 4.1. Positive Slope Negative Slope 0 slope No Slope

Graphing Equations in Slope-Intercept Form 4.1. Positive Slope Negative Slope 0 slope No Slope Slope-Intercept Form y = mx + b m = slope b = y-intercept Graphing Equations in Slope-Intercept Form 4.1 Positive Slope Negative Slope 0 slope No Slope Example 1 Write an equation in slope-intercept form

More information

Determining the Spread of a Distribution Variance & Standard Deviation

Determining the Spread of a Distribution Variance & Standard Deviation Determining the Spread of a Distribution Variance & Standard Deviation 1.3 Cathy Poliak, Ph.D. cathy@math.uh.edu Department of Mathematics University of Houston Lecture 3 Lecture 3 1 / 32 Outline 1 Describing

More information

AP Statistics L I N E A R R E G R E S S I O N C H A P 7

AP Statistics L I N E A R R E G R E S S I O N C H A P 7 AP Statistics 1 L I N E A R R E G R E S S I O N C H A P 7 The object [of statistics] is to discover methods of condensing information concerning large groups of allied facts into brief and compendious

More information

Chapter 16. Simple Linear Regression and dcorrelation

Chapter 16. Simple Linear Regression and dcorrelation Chapter 16 Simple Linear Regression and dcorrelation 16.1 Regression Analysis Our problem objective is to analyze the relationship between interval variables; regression analysis is the first tool we will

More information

BNAD 276 Lecture 10 Simple Linear Regression Model

BNAD 276 Lecture 10 Simple Linear Regression Model 1 / 27 BNAD 276 Lecture 10 Simple Linear Regression Model Phuong Ho May 30, 2017 2 / 27 Outline 1 Introduction 2 3 / 27 Outline 1 Introduction 2 4 / 27 Simple Linear Regression Model Managerial decisions

More information

y n 1 ( x i x )( y y i n 1 i y 2

y n 1 ( x i x )( y y i n 1 i y 2 STP3 Brief Class Notes Instructor: Ela Jackiewicz Chapter Regression and Correlation In this chapter we will explore the relationship between two quantitative variables, X an Y. We will consider n ordered

More information

Unit #2: Linear and Exponential Functions Lesson #13: Linear & Exponential Regression, Correlation, & Causation. Day #1

Unit #2: Linear and Exponential Functions Lesson #13: Linear & Exponential Regression, Correlation, & Causation. Day #1 Algebra I Name Unit #2: Linear and Exponential Functions Lesson #13: Linear & Exponential Regression, Correlation, & Causation Day #1 Period Date When a table of values increases or decreases by the same

More information

Chapter 16. Simple Linear Regression and Correlation

Chapter 16. Simple Linear Regression and Correlation Chapter 16 Simple Linear Regression and Correlation 16.1 Regression Analysis Our problem objective is to analyze the relationship between interval variables; regression analysis is the first tool we will

More information

Lecture 45 Sections Mon, Apr 14, 2008

Lecture 45 Sections Mon, Apr 14, 2008 Lecture 45 Sections 13.1-13.3.1 Hampden-Sydney College Mon, Apr 14, 2008 Outline 1 2 3 4 5 6 In Chapter 14, we investigated the relationship between two or more qualitative variables. The basic question

More information

Section I: Multiple Choice Select the best answer for each question.

Section I: Multiple Choice Select the best answer for each question. Chapter 3 AP Statistics Practice Test (TPS- 4 p200) Section I: Multiple Choice Select the best answer for each question. 1. A school guidance counselor examines the number of extracurricular activities

More information

Finite Mathematics Chapter 1

Finite Mathematics Chapter 1 Finite Mathematics Chapter 1 Section 1.2 Straight Lines The equation of a horizontal line is of the form y # (namely b ), since m 0. The equation of a vertical line is of the form x # (namely the x -intercept

More information

AMS 7 Correlation and Regression Lecture 8

AMS 7 Correlation and Regression Lecture 8 AMS 7 Correlation and Regression Lecture 8 Department of Applied Mathematics and Statistics, University of California, Santa Cruz Suumer 2014 1 / 18 Correlation pairs of continuous observations. Correlation

More information

Section 5.4 Residuals

Section 5.4 Residuals Section 5.4 Residuals A residual value is the difference between an actual observed y value and the corresponding predicted y value, y. Residuals are just errors. Residual error = observed value predicted

More information

Section 2.2: LINEAR REGRESSION

Section 2.2: LINEAR REGRESSION Section 2.2: LINEAR REGRESSION OBJECTIVES Be able to fit a regression line to a scatterplot. Find and interpret correlation coefficients. Make predictions based on lines of best fit. Key Terms line of

More information

The Normal Distribuions

The Normal Distribuions The Normal Distribuions Sections 5.4 & 5.5 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 15-3339 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Chapter 6: Exploring Data: Relationships Lesson Plan

Chapter 6: Exploring Data: Relationships Lesson Plan Chapter 6: Exploring Data: Relationships Lesson Plan For All Practical Purposes Displaying Relationships: Scatterplots Mathematical Literacy in Today s World, 9th ed. Making Predictions: Regression Line

More information

AP STATISTICS Name: Period: Review Unit IV Scatterplots & Regressions

AP STATISTICS Name: Period: Review Unit IV Scatterplots & Regressions AP STATISTICS Name: Period: Review Unit IV Scatterplots & Regressions Know the definitions of the following words: bivariate data, regression analysis, scatter diagram, correlation coefficient, independent

More information

7. Do not estimate values for y using x-values outside the limits of the data given. This is called extrapolation and is not reliable.

7. Do not estimate values for y using x-values outside the limits of the data given. This is called extrapolation and is not reliable. AP Statistics 15 Inference for Regression I. Regression Review a. r à correlation coefficient or Pearson s coefficient: indicates strength and direction of the relationship between the explanatory variables

More information

Ch. 9 Pretest Correlation & Residuals

Ch. 9 Pretest Correlation & Residuals Ch. 9 Pretest Correlation & Residuals Name Period 1. The number of students in a school chorus has increased since the school first opened 6 years ago. Predicted # Residual a) Find the Linear Regression

More information

Stat 101: Lecture 6. Summer 2006

Stat 101: Lecture 6. Summer 2006 Stat 101: Lecture 6 Summer 2006 Outline Review and Questions Example for regression Transformations, Extrapolations, and Residual Review Mathematical model for regression Each point (X i, Y i ) in the

More information

Objectives. 2.3 Least-squares regression. Regression lines. Prediction and Extrapolation. Correlation and r 2. Transforming relationships

Objectives. 2.3 Least-squares regression. Regression lines. Prediction and Extrapolation. Correlation and r 2. Transforming relationships Objectives 2.3 Least-squares regression Regression lines Prediction and Extrapolation Correlation and r 2 Transforming relationships Adapted from authors slides 2012 W.H. Freeman and Company Straight Line

More information

2.1 Scatterplots. Ulrich Hoensch MAT210 Rocky Mountain College Billings, MT 59102

2.1 Scatterplots. Ulrich Hoensch MAT210 Rocky Mountain College Billings, MT 59102 2.1 Scatterplots Ulrich Hoensch MAT210 Rocky Mountain College Billings, MT 59102 Association Between Variables We now consider the situation where we have two variables. Example Let x be the age of a husband,

More information

Lecture 4 Scatterplots, Association, and Correlation

Lecture 4 Scatterplots, Association, and Correlation Lecture 4 Scatterplots, Association, and Correlation Previously, we looked at Single variables on their own One or more categorical variable In this lecture: We shall look at two quantitative variables.

More information

Business Statistics. Lecture 10: Correlation and Linear Regression

Business Statistics. Lecture 10: Correlation and Linear Regression Business Statistics Lecture 10: Correlation and Linear Regression Scatterplot A scatterplot shows the relationship between two quantitative variables measured on the same individuals. It displays the Form

More information

4.1 Introduction. 4.2 The Scatter Diagram. Chapter 4 Linear Correlation and Regression Analysis

4.1 Introduction. 4.2 The Scatter Diagram. Chapter 4 Linear Correlation and Regression Analysis 4.1 Introduction Correlation is a technique that measures the strength (or the degree) of the relationship between two variables. For example, we could measure how strong the relationship is between people

More information

y = a + bx 12.1: Inference for Linear Regression Review: General Form of Linear Regression Equation Review: Interpreting Computer Regression Output

y = a + bx 12.1: Inference for Linear Regression Review: General Form of Linear Regression Equation Review: Interpreting Computer Regression Output 12.1: Inference for Linear Regression Review: General Form of Linear Regression Equation y = a + bx y = dependent variable a = intercept b = slope x = independent variable Section 12.1 Inference for Linear

More information

Algebra 1 Practice Test Modeling with Linear Functions Unit 6. Name Period Date

Algebra 1 Practice Test Modeling with Linear Functions Unit 6. Name Period Date Name Period Date Vocabular: Define each word and give an example.. Correlation 2. Residual plot. Translation Short Answer: 4. Statement: If a strong correlation is present between two variables, causation

More information

Chapter 7 Linear Regression

Chapter 7 Linear Regression Chapter 7 Linear Regression 1 7.1 Least Squares: The Line of Best Fit 2 The Linear Model Fat and Protein at Burger King The correlation is 0.76. This indicates a strong linear fit, but what line? The line

More information

Stat 101 L: Laboratory 5

Stat 101 L: Laboratory 5 Stat 101 L: Laboratory 5 The first activity revisits the labeling of Fun Size bags of M&Ms by looking distributions of Total Weight of Fun Size bags and regular size bags (which have a label weight) of

More information

x and y, called the coordinates of the point.

x and y, called the coordinates of the point. P.1 The Cartesian Plane The Cartesian Plane The Cartesian Plane (also called the rectangular coordinate system) is the plane that allows you to represent ordered pairs of real numbers by points. It is

More information

Estimation and Confidence Intervals

Estimation and Confidence Intervals Estimation and Confidence Intervals Sections 7.1-7.3 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 17-3339 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Relationships Regression

Relationships Regression Relationships Regression BPS chapter 5 2006 W.H. Freeman and Company Objectives (BPS chapter 5) Regression Regression lines The least-squares regression line Using technology Facts about least-squares

More information

S12 - HS Regression Labs Workshop. Linear. Quadratic (not required) Logarithmic. Exponential. Power

S12 - HS Regression Labs Workshop. Linear. Quadratic (not required) Logarithmic. Exponential. Power Summer 2006 I2T2 Probability & Statistics Page 181 S12 - HS Regression Labs Workshop Regression Types: Needed for Math B Linear Quadratic (not required) Logarithmic Exponential Power You can calculate

More information

Algebra 1 Midterm Review

Algebra 1 Midterm Review Name Block Algebra 1 Midterm Review MULTIPLE CHOICE Write the letter for the correct answer at the left of each question. 1. Solve: A. 8 C. 2. Solve: A. 43 C. 42 3. Solve the compound inequality and graph

More information