predicting heights project

32
PREDICTING HEIGHTS PROJECT

Upload: orrick

Post on 24-Feb-2016

43 views

Category:

Documents


0 download

DESCRIPTION

Predicting heights project. Introduction. Our group measured… Arm length - From shoulder to farthest finger tip. Wrist circumference - Wrapped tape measure around the subject’s wrist. Lower Leg - (Had subject sit down) From top of knee to ankle. Actual height and gender were also collected. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Predicting heights project

PREDICTING HEIGHTS PROJECT

Page 2: Predicting heights project

INTRODUCTION

Our group measured…Arm length- From shoulder to

farthest finger tip.Wrist circumference- Wrapped tape

measure around the subject’s wrist.Lower Leg- (Had subject sit down)

From top of knee to ankle.Actual height and gender were also

collected.

Page 3: Predicting heights project

60

62

64

66

68

70

72

74

76

78

Lower_Leg15 16 17 18 19 20 21

Height = 2.68Low er_Leg + 21.2

-4-2024

15 16 17 18 19 20 21Lower_Leg

Collection 1 Scatter Plot

HEIGHT VS. LOWER LEG

Page 4: Predicting heights project

HEIGHT VS. LOWER LEG• Describe graph (form, direction, strength)• Give correlation value (r)

HEIGHT = a + b(lower leg)

• Interpret slope…• Interpret r-squared…• Describe residual plot (form, direction, strength)• Is the linear model appropriate? Use correlation,

residual plot, and original plot

Page 5: Predicting heights project

HEIGHT AND LOWER LEG BASED ON GENDER

Compare male and female data

MALES:• Describe male data• List male line

male height = a + b(lower leg)

• List male correlation• List male r-squared

GenderF M

60

64

68

72

76

Lower_Leg15 16 17 18 19 20 21

Height = 1.97Low er_Leg + 32 2

Height = 1.9Low er_Leg + 36

Collection 1 Scatter PlotFEMALES:• Describe female data• List female line

female height = a + b(lower leg)

• List female correlation• List female r-squared

Page 6: Predicting heights project

MALE RESID PLOT FEMALE RESID PLOT

GenderF M

60626466687072747678

Lower_Leg15 16 17 18 19 20 21

Height = 32 + 1.97Lower_Leg; r2 = 0.45Height = 36 + 1.9Lower_Leg

-2024

15 16 17 18 19 20 21Lower_Leg

GenderF M

60626466687072747678

Lower_Leg15 16 17 18 19 20 21

Height = 32 + 1.97Lower_Leg 2

Height = 36 + 1.9Lower_Leg

-2024

15 16 17 18 19 20 21Lower_Leg

Comment on the fit of the linear model for each gender

Page 7: Predicting heights project

HEIGHT VS. WRIST CIRCUMFERENCE

60

62

64

66

68

70

72

74

76

78

Wrist_Circumfrence5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6

Height = 4.53Wrist_Circumfrence + 37.8

-4

0

4

8

5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6Wrist_Circumfrence

Collection 1 Scatter Plot

Page 8: Predicting heights project

HEIGHT VS. WRIST CIRCUMFERENCE

• Describe graph (form, direction, strength)• Give correlation value (r)

HEIGHT = a + b(wrist circ)

• Interpret slope…• Interpret r-squared…• Describe residual plot (form, direction,

strength)• Is the linear model appropriate? Use

correlation, residual plot, and original plot

Page 9: Predicting heights project

HEIGHT AND WRIST CIRCUMFERENCE BASED ON GENDER

GenderF M

60

62

64

66

68

70

72

74

76

78

Wrist_Circumfrence5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6

Height = 1.97Wrist_Circumfrence + 52.4

Height = 1.69Wrist_Circumfrence + 58.2

Collection 1 Scatter Plot

Compare male and female data

FEMALES:• Describe female data• List female line

female height = a + b(lower leg)

• List female correlation• List female r-squared

MALES:• Describe male data• List male line

male height = a + b(lower leg)

• List male correlation• List male r-squared

Page 10: Predicting heights project

MALE RESID PLOT FEMALE RESID PLOT

GenderF M

60626466687072747678

Wrist_Circumfrence5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6

Height = 52.4 + 1.97Wrist_Circumfrence 2

Height = 58.2 + 1.69Wrist_Circumfrence

-4048

5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6Wrist_Circumfrence

Collection 1 Scatter Plot

GenderF M

60626466687072747678

Wrist_Circumfrence5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6

Height = 52.4 + 1.97Wrist_CircumfrenceHeight = 58.2 + 1.69Wrist_Circumfrence

-4048

5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6Wrist_Circumfrence

Collection 1 Scatter Plot

Comment on the fit of the linear model for each gender

Page 11: Predicting heights project

HEIGHT VS. ARM LENGTH

60

62

64

66

68

70

72

74

76

78

Arm_Length24 25 26 27 28 29 30 31 32

Height = 1.63Arm_Length + 22.6; r2 = 0.70

-4

0

4

Arm_Length24 25 26 27 28 29 30 31 32

Collection 1 Scatter Plot

Page 12: Predicting heights project

• Describe graph (form, direction, strength)• Give correlation value (r)

HEIGHT = a + b(arm length)

• Interpret slope…• Interpret r-squared…• Describe residual plot (form, direction,

strength)• Is the linear model appropriate? Use

correlation, residual plot, and original plot

Page 13: Predicting heights project

HEIGHT AND ARM LENGTH BASED ON GENDER

GenderF M

60626466687072747678

Arm_Length24 25 26 27 28 29 30 31 32

-3

0

3

24 25 26 27 28 29 30 31 32

Collection 1 Scatter Plot

Compare male and female data

FEMALES:• Describe female data• List female line

female height = a + b(arm length)

• List female correlation• List female r-squared

MALES:• Describe male data• List male line

male height = a + b(arm length)

• List male correlation• List male r-squared

Page 14: Predicting heights project

MALE RESID PLOT FEMALE RESID PLOT

GenderF M

60626466687072747678

Arm_Length24 25 26 27 28 29 30 31 32

Height = 36.8 + 1.06Arm_Length 2

Height = 30.9 + 1.364Arm_Length

-2024

24 25 26 27 28 29 30 31 32Arm_Length

Collection 1 Scatter Plot

GenderF M

60626466687072747678

Arm_Length24 25 26 27 28 29 30 31 32

Height = 36.8 + 1.06Arm_Length 2

Height = 30.9 + 1.364Arm_Length

-2024

24 25 26 27 28 29 30 31 32Arm_Length

Collection 1 Scatter Plot

Comment on the fit of the linear model for each gender

Page 15: Predicting heights project

BEST MODEL – LOWER LEG

Lower leg length seems to be the best model used to predict height

The residual plot is scattered and doesn’t appear to have any pattern

There is a fairly strong correlation of .8, which means it is a moderately strong plot

64% of the change in height is due to the change in lower leg This helps to justify that more than 2/3 of the data's

height is associated with lower leg length Gender doesn’t seem to affect this variable and

their correlations are very similar .671 for females and .683 for males This model will work equally as well regardless of gender

Page 16: Predicting heights project

OUR PREDICTED HEIGHTS Person 1

Lower leg measurement = 17.5 inches Height = 21.2 + 2.68(17.5) = 68.1 inches Actual Height = 64 inches Residual = 64 – 68.1 = -4.1 inches Overestimate

Person 2 Lower leg measurement = 18 inches Height = 21.2 + 2.68(18) = 69.44 inches Actual Height = 67 inches Residual = 67 – 69.44 = -2.44 inches Overestimate

Person 3 Lower leg measurement = 17.5 inches Height = 21.2 + 2.68(17.5) = 68.1 inches Actual Height = 71 inches Residual = 71 – 68.1 = 2.9 Underestimate

Page 17: Predicting heights project

PREDICTED TEACHER HEIGHTS Mrs. McNelis

Height = 2.68(17.5) + 21.2 = 68.1 inches Mrs. Ladley

Height = 2.68(17.5) + 21.2 = 68.1 inches Mr. Smith

Height = 2.68(17) + 21.2 = 66.8 inches Mrs. Tannous

Height = 2.68(17.5) + 21.2 = 68.1 inches Miss Gemgnani

Height = 2.68(17.5) + 21.2 = 68.1 inches Mrs. Bolton

Height = 2.68(17) + 21.2 = 66.8 inches

Page 18: Predicting heights project

CONFIDENCE Based on what we have learned in class

we are confident in our predictions Strong correlation, linear original plot,

scattered residual plot However, based on our predictions we are

not as confident Large residuals in our own heights Not all the teachers are the same height

If we measured more specific (instead of the nearest half inch) we could have obtained a more accurate measurement More confident

Page 19: Predicting heights project

LINREG T TEST (ON BEST MODEL) Create linear model for best

measurement and copy onto ppt

Page 20: Predicting heights project

Do lin Reg t test using the output above

Ho: β1 = 0Ha: β1 >, <, ≠ 0

Conditions (with graphs!) & statement

t = 2.6823 = 8.4740.3167

P(t > 8.474|df = n—2) =

• We reject Ho….• We have sufficient evidence…• Therefore…

Page 21: Predicting heights project

LIN REG CONFIDENCE INTERVAL Since we rejected Ho, we need to

complete a conf. int.

Statement

b + t*(SEb) = (____, ____)

We are 90% confident that for every 1 X variable unit increase, the Y variable increases btw ____ and ____ units on average.

Page 22: Predicting heights project

ANALYSIS OF GENDER HEIGHTSSummary Stats:(do not copy this table from Fathom. Instead, type these on your slide neatly)

Collection 1

RowSummary

gender

M

gender

F

height

64.5278186263

64.2566

68.51.85085

69.356123

65.56869

71.573.5

2.26593

67.23644162

64.567.5

6973.5

3.18825S1 = meanS2 = countS3 = minS4 = Q1S5 = medianS6 = Q3S7 = maxS8 = s

Page 23: Predicting heights project

2 SAMPLE T TEST ON THE MEAN HEIGHT OF MALE/FEMALE Ho: μ males = μ femalesHa: μ males ≠ μ females

t = 26.2632 – 28.587 = s1

2 + s22

n1 n2

2* P(t > _______| df = ___) =

• We reject…..• We have sufficient evidence ….

Page 24: Predicting heights project

CONFIDENCE INTERVAL If you reject Ho, complete an

appropriate confidence interval

Page 25: Predicting heights project

ANALYSIS OF ARM LENGTH BY GENDER

DO NOT put this type of table on your power point!! Write out the numbers neatly.

Collection 1

RowSummary

GenderM

GenderF

Arm_Length

1926.26321.51262

24252628

29.5

2328.587

1.5049326

27.5283031

4227.53571.89477

2426282931

S1 = countS2 = meanS3 = sS4 = minS5 = Q1S6 = medianS7 = Q3S8 = max

Page 26: Predicting heights project

TEST OF SIGNIFICANCEHo: μ males = μ femalesHa: μ males ≠ μ females

t = 26.2632 – 28.587 = s1

2 + s22

n1 n2

2* P(t > _______| df = ___) =

• We reject…..• We have sufficient evidence ….

Page 27: Predicting heights project

CONFIDENCE INTERVAL If you reject Ho, complete an

appropriate confidence interval

Page 28: Predicting heights project

ANALYSIS OF HEIGHT BY GENDERDO NOT put this type of table on your power point!! Write out the numbers neatly.

Collection 1

RowSummary

GenderM

GenderF

Height

1964.57892.41099

60.5636467

70.5

2369.89132.72178

65696972

76.5

4267.48813.69985

60.564

67.570

76.5S1 = countS2 = meanS3 = sS4 = minS5 = Q1S6 = medianS7 = Q3S8 = max

Page 29: Predicting heights project

TEST OF SIGNIFICANCEHo: μ males = μ femalesHa: μ males ≠ μ females

t = xbar1 – xbar2 = s1

2 + s22

n1 n2

2* P(t > _______| df = ___) =

• We reject…..• We have sufficient evidence ….

Page 30: Predicting heights project

CONFIDENCE INTERVAL If you reject Ho, complete an

appropriate confidence interval

Page 31: Predicting heights project

BIAS AND ERRORS We did not take the most accurate

measurements and often times just rounded to the closest half of inch

With people who were wearing pants it was sometimes hard to tell where the ankle was when measuring the lower leg

People who had their hair styled up higher than their head made it hard to accurately measure their height

Sometimes people didn’t hold out their arms perfectly straight and that could have possibly affected the measurement

Page 32: Predicting heights project

CONCLUSION Lower leg was the best predictor

Strong correlation, linear original plot, scattered residual plot

Resistant to gender Males had a slightly higher correlation overall Most of the time females had slightly lower

measurements Arm length had the highest correlation (.835)

Wrist circumference had the lowest (.637) Future

More specific measurementsMore consistent with requirements