Top Banner
The Lognormal Distributi on By: Brian Shaw and Tim David
24
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Lognormal Distribution By: Brian Shaw and Tim David.

The Lognormal Distribution

By: Brian Shaw and Tim David

Page 2: The Lognormal Distribution By: Brian Shaw and Tim David.

What is a Lognormal?

• First Defined by McCallister(1879)

• A variation on the normal distribution

• Positively Skewed

• Used for things which have normal distributions with only positive values

Page 3: The Lognormal Distribution By: Brian Shaw and Tim David.

Derivation of Lognormal

• A distribution whose logarithm is normally distributed

• Let Y=lnX=v(y)

• v’(y)=1/x

• g(y)=[f(v(y))][v’(y)]

• Similar to normal is defined for all positive values: 0≤x≤∞

Normal:

Lognormal:

1

2πσe

−(x−μ )2

2σ 2

1

x 2πσe

−(ln(x )−μ )2

2σ 2

Page 4: The Lognormal Distribution By: Brian Shaw and Tim David.

Some Properties of Lognormal

• C.D.F.• We could Integrate

• That’s Hard

• Make it Standard Normal

φ ln x −μ

σ

⎝ ⎜

⎠ ⎟€

1

2πσ

1

te

−(ln( t )−μ )2

2σ 2

0

x

∫ dt

Page 5: The Lognormal Distribution By: Brian Shaw and Tim David.

Some Properties of Lognormal

• C.D.F• Let’s Integrate:

• Will be useful later

• How do we do this?• Use the erf• Error function

associated with normal distribution

1

2πσ

1

te

−(ln( t )−μ )2

2σ 2

0

x

∫ dt

F(x) =1

21+ erf

ln x −μ

σ 2

⎝ ⎜

⎠ ⎟

⎣ ⎢

⎦ ⎥€

erf (x) =2

πe−t 2

dt0

x

Page 6: The Lognormal Distribution By: Brian Shaw and Tim David.

Some Properties of Lognormal

• Normalization:• For computational

simplicity we let y=ln(x) and differentiate

• Then: dy=dx/x• Also realize that ey=x• This allows to write

the lognormal as a normal distribution

1

2πσ

1

xe

−(ln(x )−μ )2

2σ 2

0

∫ dx =1

1

2πσe

−(y−μ )2

2σ 2

−∞

∫ dy =1

Page 7: The Lognormal Distribution By: Brian Shaw and Tim David.

Some Properties of Lognormal

• E(Y): • normally integrate

f(x)x • Because we made

substitution, integrate f(y)ey

• Can you integrate this?

• No!

E(X) =1

2πσe

−(y−μ )2

2σ 2

−∞

∫ eydy

Page 8: The Lognormal Distribution By: Brian Shaw and Tim David.

Some Properties of Lognormal

• E(Y):• Because we can’t

directly integrate use the erf

• erf(∞)=1,erf(-∞)=-1

E(X) =1

2πσe

−(y−μ )2

2σ 2

−∞

∫ eydy

E(X) = −1

2eμ +σ 2

2 erfμ +σ 2 − y

⎝ ⎜

⎠ ⎟−∞

E(X) = −1

2eμ +σ 2

2 (−1) −1[ ] = −1

2(−2)e

μ +σ 2

2 = eμ +σ 2

2

Page 9: The Lognormal Distribution By: Brian Shaw and Tim David.

Some Properties of Lognormal

• Var(X)• Similarly we can

computer the variance of a lognormal

Var (X) = E(X 2) −μ 2

=1

2πσe

−(y−μ )2

2σ 2

−∞

∫ e2ydy − eμ +σ 2

2 ⎛

⎝ ⎜ ⎜

⎠ ⎟ ⎟

2

= eσ2 +2μ (eσ

2

−1)

Page 10: The Lognormal Distribution By: Brian Shaw and Tim David.

Skewness: A Defining Characteristic

• The major difference between lognormal and normal distribution• Positive Domain• Positive Skewness

Page 11: The Lognormal Distribution By: Brian Shaw and Tim David.

Skewness: A Defining Characteristic

• What is skewness?• A measure of asymmetry in a

distribution• Defined by a Ratio:• Positive Ratio:

• Long R.H. Tail

• Negative ratio:• Long L.H. Tail

• Ratio=0• Symetric

γ1 =μ3

μ23 / 2

Page 12: The Lognormal Distribution By: Brian Shaw and Tim David.

Skewness: A Defining Characteristic

• For a lognormal distribution, skewness is defined by the formula:

eσ2

−1 2 + eσ2

( )

Page 13: The Lognormal Distribution By: Brian Shaw and Tim David.

Mode: An old friend with a new take

• Because the Lognormal distribution is skewed, the mean is not at the peak• This makes sense,

because the tails are uneven.

Page 14: The Lognormal Distribution By: Brian Shaw and Tim David.

Mode: An old friend with a new take

• Because of this problem we use the mode to describe the peak.• We can find the

mode by maximizing the p.d.f• Do this by taking

the derivative and setting it to zero

f (x) =1

x 2πσe

−(ln(x )−μ )2

2σ 2

f '(x) = 0

Mode(X) = eμ−σ 2

Page 15: The Lognormal Distribution By: Brian Shaw and Tim David.

Putting It All Together

• Lets take a look at the first graph we had and apply some of things we learned.

• Two Curves:• μ=5, σ2=.25(Blue)• Μ=5,

σ2=2.25(Red)

Page 16: The Lognormal Distribution By: Brian Shaw and Tim David.

Putting It All Together

• Properties A Curve:• Blue

• Mean: 168• Variance: 8033• Mode: 115• Skewness:1.75

• Red• Mean:457• Variance: 1773777• Mode: 15• Skewness: 33

Mode

Mean

Page 17: The Lognormal Distribution By: Brian Shaw and Tim David.

Which of these is not Lognormally Distributed?

• Number of crystals in Ice Cream

• Survival time after diagnosis in cancer

• Age of marriage of women (Denmark)

• Air pollution in PSI (Los Angeles)

• Length of spoken words in phone conversation

• Farm size in Wales(1989)

• The height of St. Mary’s Students

Page 18: The Lognormal Distribution By: Brian Shaw and Tim David.
Page 19: The Lognormal Distribution By: Brian Shaw and Tim David.

Armageddon!

• Near Earth Asteroids(NEA’s) are an issue• The impact of a

giant asteroid could end life as we know it!

• Good thing we can calculate the probability of this happening.

Page 20: The Lognormal Distribution By: Brian Shaw and Tim David.

Armageddon!

• Theory of Breakage• Get two rocks• Break them

against each other• Examine the mass

of the pieces• You can use

lognormal to determine the mass of the nth generation

• End up with 2n rocks

Page 21: The Lognormal Distribution By: Brian Shaw and Tim David.

Armageddon!

• As you can see, this would also apply to asteroids.• They are just big rocks.

• Traditionally, used the power law to describe the size of asteroids• Limitation: Couldn’t take single events

into accounts. Theory of breakage allows us to do this

• Therefore, we can use the lognormal!

Page 22: The Lognormal Distribution By: Brian Shaw and Tim David.

Armageddon! (With Math)

• NEA’s come from fragmentation in the Main Asteroid Belt

• From the data we have, we can model how many NEA’s are large enough to cause a significant problem.• This is because the crater is

proportional to the asteroid size.

Page 23: The Lognormal Distribution By: Brian Shaw and Tim David.

Armageddon! (With Math)

• Recently, estimations of NEA’s have shown that there are less significantly large NEA’s than once thought

• This is supported by the math:• If we classify the asteroid size into two

lognormal distributions, we get similar results.

Page 24: The Lognormal Distribution By: Brian Shaw and Tim David.

Concluding Remarks

• Looks like the end of the world isn’t coming any time soon.

• Study for finals.