LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head....

34
LSP 120 Week 1
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    213
  • download

    1

Transcript of LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head....

Page 1: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

LSP 120

Week 1

Page 2: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

True or False?

Chickens can live without a head. True

The Great Wall of China is the only manmade structure visible from space. False.

It takes seven years to digest gum. False

Page 3: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

True or false?

Yawning is “contagious” True

Water drains backwards in the Southern Hemisphere due to the Earth’s rotation. False

Page 4: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

True or false?

Eating a poppy seed bagel mimics opium use. True

A penny dropped from the top of a tall building could kill a pedestrian. False.

Shaving hair causes it to grow back faster, darker, or coarser. False

Page 5: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

True or False

Reading in dim light ruins your eyesight. False

Eating turkey makes people especially drowsy. False

Hair and fingernails continue to grow after death. False

Page 6: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear modeling

Week 1

Page 7: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Equations

Model: y=mx+b Graph: a line

Page 8: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Equations

y=mx+b b stands for y-intercept

Starting point x = 0

m is the slope (the rate of change).

Page 9: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Equations

Write the equation for the following scenario using y=mx+b.

A car rental company charges a flat fee of $40 and an additional $.20 per mile to rent a car.

y=.2x+40 What if the flat fee is $50 and the

additional cost per mile is $.30? y=.3x+50

Page 10: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Equations

Multi-step problem: In 1996, the enrollment in a high school was

approximately 1400 students. During the next three years, the enrollment increased by approximately 30 students per year.

Write an equation to model the school’s enrollment since 1996.

y=30x+1400 What is the enrollment in 1999?

y=30(3)+1400=1490

Page 11: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Equations

If the trend continues, when will the enrollment reach 2000?

2000 = 30x + 1400 600 = 30x x = 20 years, in 2016

Page 12: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear modeling

When can we use it? When our data is best described by a

line. What’s the point?

To get a linear equation (y=mx+b) that best describes our data.

Then we can use the equation to predict the future or look back into the past.

Page 13: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Modeling

Steps1. Plot data points2. Draw a best fit line (AKA trendline,

regression line).3. Find the equation of the line4. Use the equation of the line to look

ahead or look back.

Page 14: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – by hand

The Table lists the number of households, in millions, in the US that owned computers between 1984 and 1991. Approximate the best-fitting line for this data.

Year 1984 1985

1986

1987

1988

1989

1990

1991

Households 6.0 11.3 14.2 16.2 19.2 21.3 25.3 26.6

Page 15: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – by hand

Step 1: Plot the points

0

5

10

15

20

25

30

1983 1984 1985 1986 1987 1988 1989 1990 1991 1992

Page 16: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – by hand

Step 2: Draw the trendline (best fit line, regression line)

0

5

10

15

20

25

30

1983 1984 1985 1986 1987 1988 1989 1990 1991 1992

Page 17: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – by hand

Step 3: Find the equation of the line Pick two points that are on the line (1987,16) (1989,21.5) Find the slope Slope=(21.5-16)/(1989-

1987)=5.5/2=2.75 Find the equation of the line y-16=2.75(x-1987) y=2.75x-5448.25

Page 18: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – by hand

Step 4: Use the equation (y=2.75x-5448.25) to predict the future: How many households would own computers in 2003? y=2.75 (2003)-5448.25 = 60 million How does our prediction fare?

Actual number of households: 68 million

Page 19: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Linear Modeling

Steps Plot data points Draw a best fit line (AKA trendline,

regression line). Find the equation of the line Use the equation of the line to look

ahead or look back.

Page 20: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Open up BreastCancer1990-2003.xls (under excel files tab on qrc website)

Page 21: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 22: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 23: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 24: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 25: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 26: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 27: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

y = -0.378x + 786.5 You can use the equation to predict the

future or look to the past. R² = 0.711

The R-squared value tells you how reliable your equation is. The closer the value is to 1, the better it is.

Page 28: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

y = -0.378x + 786.5

What would be the rate of breast cancer in 2008?

y = -.378 (2008) + 786.5 = 27.476

Page 29: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Predicting

How many years is too many when predicting the future? Depends on the R squared value and The amount of data we have

Page 30: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

You can graphically show the prediction Right click on equation Choose “Format Trendline” Under forecast, type in 5 (because 2008

is 5 years after 2003)

Page 31: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 32: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Example – using Excel

Page 33: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

Summary

Concept: Linear modeling y=mx+b Trendline, regression line, best fit line

Excel Tools: Insert: scatter plot Add trendline Forecast

Page 34: LSP 120 Week 1. True or False? Chickens can live without a head. Chickens can live without a head. True True The Great Wall of China is the only manmade.

In class activity: Activity 1

Homework: Homework 1