Get out your Homework! You will be able to predict an outcome based on the least-squares method. You...

23
Get out your Homework ! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and y-intercept of various scenarios. oday’s Objectives:

Transcript of Get out your Homework! You will be able to predict an outcome based on the least-squares method. You...

Page 1: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Get out your Homework!

You will be able to predict an outcome based on the least-squares method.

You will be able to verbalize the meaning of slope and y-intercept of various scenarios.

Today’s Objectives:

Page 2: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Warm UpA regression line is sometimes referred to as the “line of best fit.” Considering what you have learned in the past few lessons, why do you think it is called that?

Is there really only one line of best fit?

Page 3: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Line of Best Fit1. Prepare a scatter plot of the data on graph paper.

2. Using a ruler, position the ruler so that the plotted points are as close to the ruler’s edge as possible.

3. Find two points that you think will be on the "best-fit" line. Different people may choose different points. A rule of thumb is to try to get an equal number of points above the line as below.

Women 66 64 64 63 65 64 62 71 65Men 72 74 70 71 73 67 72 73 75

Page 4: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Line of Best Fit4. Calculate the slope of the line through your two points (rounded to three decimal places). .

5. Write the equation of the line.

This equation can now be used to predict information that was not plotted in the scatter plot. For example, you can use the equation to find the height of a husband based upon a his wife’s height of 57 inches.

Page 5: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Line of Best Fit.

Different people may choose different points and arrive at different equations. All of them are "correct", but which one is actually the "best"? To determine the actual "best" fit, we will use a graphing calculator. This line is our regression line, and it IS the line of best fit.

Page 6: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

ScatterplotSTATEDITL1: Explanatory/independent/xL2: Response/dependent/yZOOM 9:ZoomStat

STAT arrow right to CALC choose 8:LineReg(a+bx)Type L1,L2,Y1 ENTERGRAPH

Press TRACE arrow downType in new value and hit ENTERTo Predict

Regression Line

Page 7: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

How to Save a Life

Make a scatterplot of the following table.

Find the correlation coefficient, .

Use your calculator to draw the regression line.

Write out the equation of the regression line (round to the nearest

hundredth place)

Call-to-shock time (min.) 2 6 7 9 12Survival rate (%) 90 45 30 5 2

Page 8: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

How to Save a Life

What is the slope of the line?

Explain in words what the slope means in the setting.

What is the y-intercept?

Explain in words what the y-intercept means in the setting.

Call-to-shock time (min.) 2 6 7 9 12Survival rate (%) 90 45 30 5 2

Page 9: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Heights of Men and Women

Make a scatterplot of the following table.

Find the correlation coefficient, .

Use your calculator to draw the regression line.

Write out the equation of the regression line.

Page 10: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Heights of Men and Women

What is the slope of the line?

Explain in words what the slope means in the setting.

What is the y-intercept?

Explain in words what the y-intercept means in the setting.

Page 11: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Tie The KnotFind the data that you found when tying the rope into knots. Everyone’s data will be different. Be prepared to share your data with the class.

1. Make a scatterplot of the following table.2. Find the correlation coefficient, .3. Use your calculator to draw the regression line.4. Write out the equation of the regression line. 5. What is the slope of the line? Explain in words what the

slope means in the setting.6. What is the y-intercept? Explain in words what the y-

intercept means in the setting.

Page 12: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Diameter vs. Height

A biologist is studying the relationship between a tree’s diameter and its height. She records the following data for 7 different trees.

Copy this chart into your notes and create a scatterplot by hand.

Page 13: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Make a scatterplot in your calculator of the following table.

Find the correlation coefficient, .

Use your calculator to draw the regression line.

Write out the equation of the regression line.

What is the slope of the line? Explain in words what the slope means in the setting.

What is the y-intercept? Explain in words what the y-intercept means in the setting.

Diameter vs. Height

Page 14: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Predictions

Using your line of best fit estimate, to the nearest foot, the height of a tree given that its diameter is...

a) 6.3 inches

b) 14 inches. This type of calculation is called

extrapolating; we are using a model to predict outside of our data set.

Page 15: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

# of Students

The table below shows the number of students in Arlington High School as a function of the number of years since 2000

Page 16: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Make a scatterplot in your calculator of the following table.

Find the correlation coefficient, .

Use your calculator to draw the regression line.

Write out the equation of the regression line.

What is the slope of the line? Explain in words what the slope means in the setting.

What is the y-intercept? Explain in words what the y-intercept means in the setting.

# of Students

Page 17: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Predictions

Using your line of best fit to predict…

a) the population of Arlington High School in the year 2012.

b) determine between which two consecutive whole number years the population reaches 4500

Page 18: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Real-Estate Pricing

A real-estate agent is trying to determine the relationship between the distance a 3-bedroom home is from New York City and its average selling price. He records data for 6 homes shown below.

Page 19: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Make a scatterplot in your calculator of the following table.

Find the correlation coefficient, .

Use your calculator to draw the regression line.

Write out the equation of the regression line.

What is the slope of the line? Explain in words what the slope means in the setting.

What is the y-intercept? Explain in words what the y-intercept means in the setting.

Real-Estate Pricing

Page 20: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

PredictionsUsing your line of best fit to predict…

a) Woodstock, New York, is located 95 miles from New York City, determine the price of a 3-bedroom home in Woodstock.

b) Using your model, determine the price of a 3-bedroom home in New York City. (Hint: think about the value of x when you are in New York City.)

Page 21: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

PredictionsUsing your line of best fit to predict…

c) Using tables, determine, to the nearest mile, the distance from New York City a home would be if its selling price were exactly $500,000.

d) Using tables, determine, to the nearest mile, the distance from New York City a home would be if its selling price were $0.Why is your answer to part unreasonable?

Page 22: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

Extrapolation

When we use extrapolation with linear models we can sometimes get unreasonable answers. This is because we are using the model with explanatory variable values for which the model does not apply.Extrapolation is risky!

Page 23: Get out your Homework! You will be able to predict an outcome based on the least-squares method. You will be able to verbalize the meaning of slope and.

ScatterplotSTATEDITL1: Explanatory/independent/xL2: Response/dependent/yZOOM 9:ZoomStat

STAT arrow right to CALC choose 8:LineReg(a+bx)Type L1,L2,Y1 ENTERGRAPH

Press TRACE arrow downType in new value and hit ENTERTo Predict

Regression Line