“I just got lost in thought. It was unfamiliar territory”

32
Math Review Math Review #2 #2 I just got lost in I just got lost in thought. It was unfamiliar thought. It was unfamiliar territory” territory” What happens if What happens if you get scared you get scared half to death half to death twice?” twice?”

description

Math Review #2. “What happens if you get scared half to death twice?”. “I just got lost in thought. It was unfamiliar territory”. Math Review Friday June 4 2003. Introduction Symbols Operations Central Tendencies Linear Algebra Correlation/Regression Analysis - PowerPoint PPT Presentation

Transcript of “I just got lost in thought. It was unfamiliar territory”

Page 1: “I just got lost in thought. It was unfamiliar territory”

Math Review #2Math Review #2

““I just got lost in thought. It was I just got lost in thought. It was unfamiliar territory”unfamiliar territory”

““What happens if you What happens if you get scared half to get scared half to death twice?”death twice?”

Page 2: “I just got lost in thought. It was unfamiliar territory”

A)A) IntroductionIntroductiona.a. SymbolsSymbolsb.b. OperationsOperationsc.c. Central TendenciesCentral Tendencies

B)B) Linear AlgebraLinear AlgebraC)C) Correlation/Regression AnalysisCorrelation/Regression AnalysisD)D) System of Equations: Linear/QuadraticSystem of Equations: Linear/QuadraticE)E) Applied CalculusApplied Calculus

Math ReviewMath ReviewFriday June 4 2003Friday June 4 2003

Page 3: “I just got lost in thought. It was unfamiliar territory”

b. OperationsBasic Math ReviewBasic Math Review

Why logarithms?Why logarithms?

Power and product rules:Power and product rules:loglogbb((xyxy) = log) = logbb((xx) + log) + logbb((yy))loglogbb((xxnn) = nlog) = nlogbb((xx))

These rules motivated the introduction of These rules motivated the introduction of logarithms (by Napier, in early 17logarithms (by Napier, in early 17 thth Century) Century) and motivated their use in scientific and motivated their use in scientific computation until… computers!computation until… computers!

Page 4: “I just got lost in thought. It was unfamiliar territory”

b. OperationsBasic Math ReviewBasic Math Review

Why logarithms?Why logarithms?

Example: CalculateExample: Calculate

First use logs, then use log tables:First use logs, then use log tables:

yy = 7 = 755 / 2 / 21212

Log Log yy = Log (2 = Log (21818 / 7 / 755))http://www.sosmath.com/tables/logtable/logtable.html

212

75

Page 5: “I just got lost in thought. It was unfamiliar territory”

b. OperationsBasic Math ReviewBasic Math Review

a)a) Solve for Solve for xx: ln(: ln(eeaa) = b) = bxx

b)b) Solve for Solve for yy using common using common logarithms (base 10): logarithms (base 10): y = 175

c)c) Find the exponent of 10 that solves Find the exponent of 10 that solves for for xx: : x2 = 5.5.10-12

Page 6: “I just got lost in thought. It was unfamiliar territory”

c. Central TendenciesBasic Math ReviewBasic Math Review

x =x i∑

n= 1

nx i∑

The most commonly used descriptive The most commonly used descriptive statistics are measures of central tendencystatistics are measures of central tendencyThe The sample meansample mean (: pronounced “ (: pronounced “xx bar”) bar”) is:is:

Where Where xxii represents the sum of all values in represents the sum of all values in the sample and the sample and n n represents the sample sizerepresents the sample size

Page 7: “I just got lost in thought. It was unfamiliar territory”

Mean: arithmetic averageMean: arithmetic average Median: middle value of a set of valuesMedian: middle value of a set of values Mode: the data value that occurs most Mode: the data value that occurs most

oftenoften

c. Central TendenciesBasic Math ReviewBasic Math Review

Page 8: “I just got lost in thought. It was unfamiliar territory”

Let’s assume we have a student population (Let’s assume we have a student population (nn = 47)= 47)

But what happens if we have an outlierBut what happens if we have an outlier(skewed distribution )?(skewed distribution )?

Frequency Distribution

0

2

4

6

8

10

12

14

22 23 24 25 26 27 28 29 30 31 32 33 34Age

Frequency

c. Central TendenciesBasic Math ReviewBasic Math Review

Page 9: “I just got lost in thought. It was unfamiliar territory”

Let’s assume we have a Let’s assume we have a realreal student student populationpopulation

c. Central TendenciesBasic Math ReviewBasic Math Review

MPA ('04) - Age Freq. Distribution

0

1

2

3

4

5

6

7

8

9

10

20 22 24 26 28 30 32 34 36 38 40 42Age

Frequency

Frequency

Page 10: “I just got lost in thought. It was unfamiliar territory”

Let’s play…Let’s play…B)B) Linear relationshipsLinear relationships

Basic Math ReviewBasic Math Review

Starbucks anyone?Starbucks anyone?

Address# Street #1372 371585 481656 512252 812379 872681 1031460 421841 612045 712600 992851 1113410 1392521 952929 115

Page 11: “I just got lost in thought. It was unfamiliar territory”

B)B) Linear RelationshipsLinear RelationshipsBasic Math ReviewBasic Math Review

0

20

40

60

80

100

120

140

160

0 1000 2000 3000 4000

Broadway Address

Street Number

Page 12: “I just got lost in thought. It was unfamiliar territory”

The “slope” (m) of a line is its The “slope” (m) of a line is its rate of change:rate of change:B)B) Linear AlgebraLinear Algebra

Basic Math ReviewBasic Math Review

0

20

40

60

80

100

120

140

160

0 1000 2000 3000 4000

Broadway Address

Street Number

Slope:Slope:y/y/xx

oror(y(y22-y-y11)/(x)/(x22-x-x11))

Page 13: “I just got lost in thought. It was unfamiliar territory”

B)B) Linear RealtionshipsLinear RealtionshipsBasic Math ReviewBasic Math Review

0

20

40

60

80

100

120

140

160

0 1000 2000 3000 4000

Broadway Address

Street Number

The “intercept” (b) of a line is the point where The “intercept” (b) of a line is the point where xx = 0= 0

Page 14: “I just got lost in thought. It was unfamiliar territory”

B)B) Linear RelationshipsLinear RelationshipsBasic Math ReviewBasic Math Review

y = 0.05x - 31.317R2 = 0.9999

0

20

40

60

80

100

120

140

160

0 1000 2000 3000 4000

Broadway Address

Street Number

The function The function ff((xx) = ) = yy = m = mxx + + bbYou can use it to make predictionsYou can use it to make predictions

Page 15: “I just got lost in thought. It was unfamiliar territory”

Let’s assume we have a Let’s assume we have a realreal fish population fish populationB)B) Graphing Linear RelationshipsGraphing Linear Relationships

Basic Math ReviewBasic Math Review

Weight (lb) Length (in)1.18 13.531.35 14.51.71 13.51.72 16.031.99 16.422.02 15.832.58 15.724.26 21.14.5 21.47

7.31 22.967.99 24.398.1 23.17

Any question regarding this data set?Any question regarding this data set?

Page 16: “I just got lost in thought. It was unfamiliar territory”

B)B) CorrelationCorrelationBasic Math ReviewBasic Math Review

The The sample meansample mean is: is:

x =x i∑

n= 1

nx i∑

Sum of squares for variable Sum of squares for variable xx. This . This statistics quantifies the spread of variable statistics quantifies the spread of variable xx::

SSXX = (x i − x)2

i=1

n

Page 17: “I just got lost in thought. It was unfamiliar territory”

B)B) CorrelationCorrelationBasic Math ReviewBasic Math Review

Sum of squares for variable Sum of squares for variable yy. This . This statistics quantifies the spread of variable statistics quantifies the spread of variable yy::

SSYY = (y i − y)2

i=1

n

Page 18: “I just got lost in thought. It was unfamiliar territory”

B)B) CorrelationCorrelationBasic Math ReviewBasic Math Review

Sum of the cross-products. This statistics is Sum of the cross-products. This statistics is analogous to the other sums of squares analogous to the other sums of squares except that it quantifies the extent to except that it quantifies the extent to which the two variables go together or which the two variables go together or apart:apart:

SSXY = (x i − x)(x i − x)i=1

n

Page 19: “I just got lost in thought. It was unfamiliar territory”

B)B) CorrelationCorrelationBasic Math ReviewBasic Math Review

Fish Data:Fish Data:Weight (lb) Length (in)

1.18 13.531.35 14.51.71 13.51.72 16.031.99 16.422.02 15.832.58 15.724.26 21.14.5 21.47

7.31 22.967.99 24.398.1 23.17

SSxx: 78.5SSxx: 78.5SSyy: 182.0SSyy: 182.0SSxy: 113.8SSxy: 113.8

))(( YYXX

XY

SSSSSSr =

The correlation coefficient The correlation coefficient is:is:

Here r = 0.95Here r = 0.95

Page 20: “I just got lost in thought. It was unfamiliar territory”

B)B) Correlation: Correlation: Fish DataFish DataBasic Math ReviewBasic Math Review

Weight (lb) Length (in)1.18 13.531.35 14.51.71 13.51.72 16.031.99 16.422.02 15.832.58 15.724.26 21.14.5 21.47

7.31 22.967.99 24.398.1 23.17

The correlation coefficient is positiveThe correlation coefficient is positive

0

5

10

15

20

25

0 2 4 6 8 10

Weight (lb)

Length (in)

Page 21: “I just got lost in thought. It was unfamiliar territory”

B)B) Correlation:Correlation:Basic Math ReviewBasic Math Review

Weight (lb) Length (in)1.18 13.531.35 14.51.71 13.51.72 16.031.99 16.422.02 15.832.58 15.724.26 21.14.5 21.47

7.31 22.967.99 24.398.1 23.17

the correlation coefficient has no inherent the correlation coefficient has no inherent value, and in the exception of strong value, and in the exception of strong relationships as in the case presented, r is relationships as in the case presented, r is hard to use to determine correlational hard to use to determine correlational strength. Another statistics is much more strength. Another statistics is much more useful: useful: the coefficient of determination (rthe coefficient of determination (r22))

Page 22: “I just got lost in thought. It was unfamiliar territory”

B)B) Correlation:Correlation:Basic Math ReviewBasic Math Review

Here rHere r22 = = 0.910.91

y = 1.4492x + 12.819R2 = 0.9058

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

This statistic quantifies the proportion of the This statistic quantifies the proportion of the variance of one variable that is explained by the variance of one variable that is explained by the

other – other – Functional?Functional?

Page 23: “I just got lost in thought. It was unfamiliar territory”

Forgot a section of the fish data setForgot a section of the fish data setB)B) Linear AlgebraLinear Algebra

Basic Math ReviewBasic Math Review

Weight (lb) Length (in)0.015 3.160.05 6.070.06 5.720.07 6.570.08 4.320.09 5.520.12 8.390.15 8.320.16 7.790.25 6.050.27 8.110.33 80.42 10.130.44 10.970.5 9.720.53 11.020.6 11.330.83 13

Page 24: “I just got lost in thought. It was unfamiliar territory”

B)B) Correlation:Correlation:Basic Math ReviewBasic Math Review

Here rHere r22 = = 0.820.82

y = 10.339x + 5.1588R2 = 0.815

0

3

6

9

12

15

0 0.2 0.4 0.6 0.8 1Weight (lb)

Length (in)

Page 25: “I just got lost in thought. It was unfamiliar territory”

B)B) Whole data setWhole data setBasic Math ReviewBasic Math Review

y = 10.339x + 5.1588R2 = 0.815

y = 1.4492x + 12.819R2 = 0.9058

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

Page 26: “I just got lost in thought. It was unfamiliar territory”

B)B) Correlation: Linear?Correlation: Linear?Basic Math ReviewBasic Math Review

y = 2.2819x + 8.3152R2 = 0.8172

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

Page 27: “I just got lost in thought. It was unfamiliar territory”

B)B) Non-linear relationshipNon-linear relationshipBasic Math ReviewBasic Math Review

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

Page 28: “I just got lost in thought. It was unfamiliar territory”

B)B) Non-linear relationshipNon-linear relationshipBasic Math ReviewBasic Math Review

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

Let’s make a statements about the Let’s make a statements about the relationship:relationship:-) The weight is -) The weight is to the volume to the volume

W W V VWhere:Where:V = A V = A xx L LA = A = xx L L22

V = V = xx L L33

W = W = xx V VThereforeThereforeW = W = xx xx L L33

Page 29: “I just got lost in thought. It was unfamiliar territory”

B)B) Non-linear relationshipNon-linear relationshipBasic Math ReviewBasic Math Review

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

W = W = xx xx L L33

31

×= WL

31

3 kWWkL ==

13 ×=WL

Page 30: “I just got lost in thought. It was unfamiliar territory”

B)B) Non-linear relationshipNon-linear relationshipBasic Math ReviewBasic Math Review

y = 12.797x0.307

R2 = 0.9462

0

5

10

15

20

25

0 2 4 6 8 10Weight (lb)

Length (in)

31

×= WL 31

3 kWWkL ==13 ×=WL

Page 31: “I just got lost in thought. It was unfamiliar territory”

31

3 kWWkL ==Log L = Log (k Log L = Log (k xx W W1/31/3))

Log L = Log k + 1/3 Log WLog L = Log k + 1/3 Log Wyy = = b + b + mmxx

y = 0.307x + 1.1071R2 = 0.9462

0.0

0.4

0.8

1.2

1.6

-2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8Weight (lb)

Length (in)

Page 32: “I just got lost in thought. It was unfamiliar territory”

MondayMonday Lamont orientation (LDEO Exec. Director and DEES Lamont orientation (LDEO Exec. Director and DEES

Chair)Chair) Math Review #3: System of Equations: Math Review #3: System of Equations:

Linear/Quadratic - Applied CalculusLinear/Quadratic - Applied Calculus