HW 14 Key. 19:38 Convenience Shopping. It’s rare that you’ll find a gas station these days that only sells gas. It’s become more common to find a convenience.

Slides:



Advertisements
Similar presentations
Copyright © 2011 Pearson Education, Inc. Curved Patterns Chapter 20.
Advertisements

Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 20 Curved Patterns.
Chapter 8 Linear Regression.
Statistics Measures of Regression and Prediction Intervals.
CHAPTER 8: LINEAR REGRESSION
LSRL Least Squares Regression Line
Stat 217 – Day 26 Regression, cont.. Last Time – Two quantitative variables Graphical summary  Scatterplot: direction, form (linear?), strength Numerical.
Stat 217 – Day 25 Regression. Last Time - ANOVA When?  Comparing 2 or means (one categorical and one quantitative variable) Research question  Null.
Business Statistics - QBM117 Least squares regression.
CHAPTER 3 Describing Relationships
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.1 Using Several Variables to Predict a Response.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 22 Regression Diagnostics.
Copyright © 2014 Pearson Education, Inc. All rights reserved Chapter 4 Regression Analysis: Exploring Associations between Variables.
3.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
Topic 10 - Linear Regression Least squares principle - pages 301 – – 309 Hypothesis tests/confidence intervals/prediction intervals for regression.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 19 Linear Patterns.
Copyright © 2011 Pearson Education, Inc. The Simple Regression Model Chapter 21.
Chapters 8 & 9 Linear Regression & Regression Wisdom.
Objective: Understanding and using linear regression Answer the following questions: (c) If one house is larger in size than another, do you think it affects.
Section 4.2: Least-Squares Regression Goal: Fit a straight line to a set of points as a way to describe the relationship between the X and Y variables.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 21 The Simple Regression Model.
3.3 Correlation: The Strength of a Linear Trend Estimating the Correlation Measure strength of a linear trend using: r (between -1 to 1) Positive, Negative.
Business Statistics for Managerial Decision Making
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Bellwork (Why do we want scattered residual plots?): 10/2/15 I feel like I didn’t explain this well, so this is residual plots redux! Copy down these two.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Bell Ringer A random sample of records of sales of homes from Feb. 15 to Apr. 30, 1993, from the files maintained by the Albuquerque Board of Realtors.
HW 17 Key. 21:37 Diamond Rings. This data table contains the listed prices and weights of the diamonds in 48 rings offered for sale in The Singapore Times.
HW 23 Key. 24:41 Promotion. These data describe promotional spending by a pharmaceutical company for a cholesterol-lowering drug. The data cover 39 consecutive.
HW 16 Key. 20:31 Wal-Mart. 20:31 a a.Scatterplot. Linear? No. It grows at a growing rate.
HW 19 Key. 22:37 Diamond Rings. The data table contains the listed prices and weights of the diamonds in 48 rings offered for sale in The Singapore Times.
HW 21 Key. 23:41 Home Prices. In order to help clients determine the price at which their house is likely to sell, a realtor gathered a sample of 150.
Inference for Linear Regression
Bring project data to class tomorrow.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Least-Squares Regression
Georgetown Middle School Math
LSRL Least Squares Regression Line
The following data represents the amount of Profit (in thousands of $) made by a trucking company dependent on gas prices. Gas $
The Least-Squares Regression Line
Regression and Residual Plots
Chapter 13 Multiple Regression
CHAPTER 3 Describing Relationships
Least-Squares Regression
CHAPTER 3 Describing Relationships
Least-Squares Regression
Chapter 3 Describing Relationships Section 3.2
Least-Squares Regression
Least-Squares Regression
Least-Squares Regression
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Warmup A study was done comparing the number of registered automatic weapons (in thousands) along with the murder rate (in murders per 100,000) for 8.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
Chapter 3 Describing Relationships
CHAPTER 3 Describing Relationships
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Lesson 2.2 Linear Regression.
CHAPTER 3 Describing Relationships
Presentation transcript:

HW 14 Key

19:38 Convenience Shopping. It’s rare that you’ll find a gas station these days that only sells gas. It’s become more common to find a convenience store that also sells gas. These data describe the sales over time at a franchise outlet of a major U.S. oil company. Each row summarizes sales for one day. This particular station sells gas, and it also has a convenience store and a car wash. The column labeled Sales gives the dollar sales of the convenience store, and the column Volume gives the number of gallons of gas sold.

19:38 a a.Scatterplot Sales on Volume. Does there appear to be a linear pattern that relates these two sequences? Yes, it appears to be a linear pattern.

19:38 b b. Estimate the linear equation using least squares. Interpret the fitted intercept and slope. Be sure to include their units. Note if either estimate represents a large extrapolation and is consequently not reliable. As volume increases by 1 gallon, sales revenue increases.32. Fixed is 1148.

19:38 c c. Interpret the summary values r squared and se associated with the fitted equation. Attach units to these summary statistics as appropriate. R squared is.42, so the model explains 42% of the variation between sales and volume.

19:38 d d. Estimate the difference in sales at the convenience store (on average) between a day with 3,500 gallons sold and a day with 4,000 gallons sold = 161

19:38 e e. This company also operates franchises in Canada. At those operations, gas sales are tracked in liters and sales in Canadian dollars. What would your equation look like if measured in these other unites? (1 gallon= liters and use $1=$1.1 Canadian) Include r squared and se as well as the slope and intercept. R squared remains the same because it is unitless. Intercept= slope=

19:38 f f. The form of the equation suggests that selling more gas produces increases in sales at the associated store. Does this mean that customers come to the station to buy gas and then happen to buy something at the convenience store, or might the causation work in the other direction? There is a fixed revenue of $1148 regardless of gas purchases. This would make it seem like people come to the convenience store and then happen to buy gas.

19:38 g g. On one day, the station sold 4,165 gallons of gas and had sales of $1,744 at the attached convenience store. Find the residual for this case. Are these sales higher or lower than you would expect? 1, =-740 Sales are $740 less than expected.

19:38 h h. Plot the residuals from this regression. If appropriate, summarize these by giving the mean and SD of the collection of residuals. What does the SD of the residuals tell you about the fit of the equation? The mean, by definition, is 0. This tells you the precision of the regression line, how close the residuals are to the regression.

19:41 Seattle Homes. This data table contains the listed prices (in thousands of $) and the number of square feet for 28 homes listed by a realtor in the Seattle area.

19:41 a a.Create a scatterplot for the price of the home on the number of square feet. Does the trend in the average price seem linear? A linear trend with increasing variation.

19:41 b b. Estimate the linear equation using least squares. Interpret the fitted intercept and slope. Be sure to include their unites. Note if either estimate represents a large extrapolation and is consequently not reliable.

19:41 c c. Interpret the summary of values r^2 and se associated with the fitted equation. Attach unites to these summary statistics as appropriate.

19:41 d d. If a homeowner adds an extra room with 500 sq ft to her home, can we use this model to estimate the increase in the value of the home? 500*.147 = $73.5 thousand

19:41 e e. A home with 2,690 sq ft lists for $625,000. What is the residual for this case? Is it a good deal? 625, ,629= $155,371 Bad deal

19:41 f f. Do the residuals from this regression show patterns? Does it make sense to interpret se as the standard deviation of the errors of the fit? Use the plot of the residuals on the predictor to help decide. The variation of the residuals increases with the size of the home. A single value cannot summarize the changing variation.