/
 Bell Ringer A random sample of records of sales of homes from Feb. 15 to Apr. 30, 1993,  Bell Ringer A random sample of records of sales of homes from Feb. 15 to Apr. 30, 1993,

Bell Ringer A random sample of records of sales of homes from Feb. 15 to Apr. 30, 1993, - PowerPoint Presentation

marina-yarberry
marina-yarberry . @marina-yarberry
Follow
354 views
Uploaded On 2020-04-06

Bell Ringer A random sample of records of sales of homes from Feb. 15 to Apr. 30, 1993, - PPT Presentation

Price and Size in square feet of 117 homes A regression to predict Price in thousands of dollars from Size has r 084 The residuals plot indicated that a linear model is appropriate ID: 775969

regression size price standard regression size price standard cubic displacement inches square slope thousands predict correlation dollars model units

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document " Bell Ringer A random sample of records ..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

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 gives the

Price

and

Size

(in square feet) of 117 homes. A regression to predict

Price

(in thousands of dollars) from

Size

has r = 0.84. The residuals plot indicated that a linear model is appropriate.

What are the variables and units in this regression?

What units does the slope have?

Do you think the slope is positive or negative?

Slide2

Chapter 8 part 2

Linear Regression

Slide3

Recall that a residual is the difference between an observed value and the predicted value. The standard deviation of the residuals gives us a measure of how much the points spread around the regression line.

 

Slide4

r is the correlation coefficientIf we square r, we get the portion of the variation in “y” accounted for by variation in “x”

AKA “coefficient of determination”

 

Slide5

The correlation between a cereal’s fiber and potassium contents is r = 0.903. What fraction of the variability in potassium is accounted for by the amount of fiber that servings contain?

The regression model for fiber (in grams) and potassium content (in mg) based on 77 breakfast cereals is . What does it mean if = 30.77?

 

About 81.5% of the variability in potassium content is accounted for by the model.

True potassium content of cereals vary from the predicted values with a standard deviation of 30.77 milligrams.

Example

Slide6

The notation that is typically used is

 

We express as a percent between 0% and 100%

 

Slide7

A random sample of records of sales of homes from February 15 to April 30, 1993, from the files maintained by the Albuquerque Board of Realtors gives the Price and Size (in square feet) of 117 homes. A regression to predict Price (in thousands of dollars) from Size has an R-squared of 71.4%. The residuals plot indicated that a linear model is appropriate. What are the variables and units in the regression? What units does the slope have? Do you think the slope is positive or negative?

The explanatory variable (x) is size, measured in square feet, and the response variable (y) is price measured in thousands of dollars.

The units of the slope are thousands of dollars per square foot.

The slope of the regression line predicting price from size should be positive. Bigger homes are expected to cost more.

Slide8

From the bell ringer example: A regression to predict Price (in thousands of dollars) from Size has an R-squared of 71.4%. The residuals plot indicated that a linear model is appropriate. What is the correlation between Size and Price? What would you predict about the Price of a home 1 standard deviation above average in Size?What would you predict about the Price of a home 2 standard deviations below average in Size?

The correlation between size and price is . The positive value of the square root is used, since the relationship is believed to be positive.

 

The price of a home that is one standard deviation above the mean size would be predicted to be 0.845 standard deviations (in other words r standard deviations) above the mean price.

The price of a home that is two standard deviations below the mean size would be predicted to be 1.69 (or 2

x 0.845

) standard deviations below the mean

price.

Slide9

Engine sizes (called displacement) measure the volume of the cylinders in cubic inches. The regression analysis of gasoline use and displacement is shown.

The constant is the y-intercept of the regression line.

Slide10

Engine sizes (called displacement) measure the volume of the cylinders in cubic inches. The regression analysis of gasoline use and displacement is shown.

The independent (explanatory) variable is paired with the slope of the regression line.

Slide11

Engine sizes (called displacement) measure the volume of the cylinders in cubic inches. The regression analysis of gasoline use and displacement is shown.

The equation of the regression line:

 

Slide12

Engine sizes (called displacement) measure the volume of the cylinders in cubic inches. The regression analysis of gasoline use and displacement is shown.

The only other information we need at this time: n and r-squared (take the square root for r).

Slide13

How many cars were included in this analysis?

What is the correlation between engine size and fuel economy? A car you are thinking of buying is available with two different size engines, 190 cubic inches or 240 cubic inches. How much difference might this make in your gas mileage?

Answers:

89

r

= -0.78

19.1 mpg for 240 cubic inches or 22.4 mpg for 190 cubic inches – a difference of 3.3 mpg

Slide14

Regression on the calculator

Residuals on

the calculator

Slide15

Today’s Assignment:

Be sure to read Chapter 8

Add to HW: p. 192 #8, 10, 16, 18, 20, 22