shahid lecture-13-mkag1273

57
MAL1303: STATISTICAL HYDROLOGY Frequency Distribution Dr. Shamsuddin Shahid Associate Professor Department of Hydraulics and Hydrology Faculty of Civil Engineering Room No.: M46-332; Phone: 07-5531624; Email: [email protected] 11/23/2015 Shamsuddin Shahid, FKA, UTM You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Upload: nchakori

Post on 15-Jan-2017

202 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Shahid Lecture-13-MKAG1273

MAL1303: STATISTICAL HYDROLOGY

Frequency Distribution

Dr. Shamsuddin ShahidAssociate Professor

Department of Hydraulics and HydrologyFaculty of Civil Engineering

Room No.: M46-332; Phone: 07-5531624; Email: [email protected]

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 2: Shahid Lecture-13-MKAG1273

Discrete Distributions Binomial Distribution Poisson Distribution

Continuous Distributions Normal Distribution Lognormal Distribution Gamma Distribution Exponential Distribution Gumbel Distribution

Different Types of Probability Distribution

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 3: Shahid Lecture-13-MKAG1273

Random variables can be two types:

1. Discrete random variables have a countable number ofoutcomes. For example: Flood/No Flood, Rainy days in a year,etc.

2. Continuous random variables have an infinite continuum ofpossible values. Fro example: Rainfall, River Discharge, etc.

Random Variable: Types

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 4: Shahid Lecture-13-MKAG1273

A probability function maps thepossible values of random variable(x) against their respectiveprobabilities of occurrence, p(x)

p(x) is a number from 0 to 1.0.

The area under a probabilityfunction is always 1.

Probability Function

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 5: Shahid Lecture-13-MKAG1273

A probability mass function (pmf)is a function that gives theprobability that a discrete randomvariable is exactly equal to somevalue.

The probability mass function isoften the primary means ofdefining a discrete probabilitydistribution.

Probability Mass Function (pmf)

x p(x)

1 p(x=1) = 1/6

2 p(x=2) = 1/6

3 p(x=3) = 1/6

4 p(x=4) = 1/6

5 p(x=5) = 1/6

6 p(x=6) = 1/6

1.0

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 6: Shahid Lecture-13-MKAG1273

Cumulative Distribution Function (CDF)

The cumulative distribution function (CDF), or the distribution function,describes the probability that a random variable with a given probabilitydistribution will be found at a value less than or equal to x.

x p(x)1 p(x 1) = 1/6

2 p(x 2) = 2/6

3 p(x 3) = 3/6

4 p(x 4) = 4/6

5 p(x 5) = 5/6

6 p(x 6) = 6/6

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 7: Shahid Lecture-13-MKAG1273

1. What’s the probability of getting 2 or less?

2. What’s the probability of getting 5 or higher?

Cumulative Distribution Function (CDF)

x p(x)1 p(x 1) = 1/6

2 p(x 2) = 2/6

3 p(x 3) = 3/6

4 p(x 4) = 4/6

5 p(x 5) = 5/6

6 p(x 6) = 6/6

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 8: Shahid Lecture-13-MKAG1273

Which of the following are probability functions?a. f(x)=0.2 for x=1,2,3,4,5b. f(x)= (x-2)/4 for x=1,2,3,4c. f(x)= (x2+x-5)/8 for x=2,3,4

Is the Function is a Probability Function

x p(x)1 f(x=1) = 0.2

2 f(x=2) = 0.2

3 f(x=3) = 0.2

4 f(x=4) = 0.2

5 f(x=5) = 0.2

1.0

x p(x)1 f(x=1) = -0.252 f(x=2) = 0.0

3 f(x=3) = 0.25

4 f(x=4) = 0.5

x p(x)1 f(x=2) = 0.125

2 f(x=3) = 0.875

3 f(x=4) = 1.875

>1.0

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 9: Shahid Lecture-13-MKAG1273

Find the probability of storm in a give year:

Exactly 7 storms, p(x=7)= 0.1

At least 7 storms, p(x>=7) = (0.1+0.1) = 0.2

At most 6 storms, p(x<=6) = (0.5 + 0.3) = 0.8

x 5 6 7 8

p(x) 0.5 0.3 0.1 0.1

The number of storms occur in a year is representedby a random variable x. From analysis of historicaldata, it was found that the probability distribution forx is:

Use of Probability

10 year data:2000 62001 52002 62003 82004 72005 52006 62007 52008 52009 5

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 10: Shahid Lecture-13-MKAG1273

Let us consider a negative exponential function,

xexf )(

11000

xx ee

The probability distribution of variable x is called Exponential Distribution. This function integrates to 1:

Continuous Distribution Function

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 11: Shahid Lecture-13-MKAG1273

The probability that x is anyexact particular value (such as x= 1.2) is 0. We can only assignprobabilities to possible rangesof x. For example, Theprobability of x between 1 and 2is :

Probability Density Function (PDF)

23036801350

2)xP(1

122

1

2

1

...

eee

e

x

x

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 12: Shahid Lecture-13-MKAG1273

we can specify the “cumulative distribution function” (CDF), P(x≤A),

AAAA

xA

x eeeeee 110

00

Cumulative Distribution Function (CDF)

0.865 0.135-1 -1 2)P(x 2

e

Probability of random variableless than or equal to 2,P(x≤2),

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 13: Shahid Lecture-13-MKAG1273

Cumulative Distribution Function (CDF)

0.135

0.865 -1 -1-1

2)(x-1 2)P(x 2

e

Probability of random variable greater than or equal to 2,P(x2),

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 14: Shahid Lecture-13-MKAG1273

Year 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009Rainfall (mm)

49.1 48.5 26.7 50.9 31.8 44.7 78.5 28.5 65.8 66.2 73.6 102.2 78 55.2 45.3

The probability density function of an exponential distribution is

Find the probability the hourly annual maximum rainfall exceeds a threshold of 38mm, P(X > 38).

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 15: Shahid Lecture-13-MKAG1273

Continuous Distributions Normal Distribution Lognormal Distribution Gamma Distribution Exponential Distribution Extreme value distribution Gumbel Distribution - -

Different Types of Probability Distribution

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 16: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 17: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 18: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 19: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 20: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 21: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 22: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 23: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 24: Shahid Lecture-13-MKAG1273

Example-1

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 25: Shahid Lecture-13-MKAG1273

Example-2

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 26: Shahid Lecture-13-MKAG1273

Example-3

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 27: Shahid Lecture-13-MKAG1273

Example-3

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 28: Shahid Lecture-13-MKAG1273

• One of the simplest continuous distributions in all of statisticsis the continuous uniform distribution.

• This distribution is characterized by a density function that is“flat,” and thus the probability is uniform in a closed interval.

• Applications of the continuous uniform distribution are notwide.

• The density function of the continuous uniform randomvariable X on the interval [A, B] is

Continuous Uniform Distribution

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 29: Shahid Lecture-13-MKAG1273

• The density function forms a rectangle with base B−A andconstant height 1/B−A.

• As a result, the uniform distribution is often called therectangular distribution.

Continuous Uniform Distribution

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 30: Shahid Lecture-13-MKAG1273

Continuous Uniform Distribution

Suppose that a flood in an area never last for more than 4 days. Both longand short floods occur quite often. In fact, it can be assumed that thelength X of a flood has a uniform distribution on the interval [0, 4].(a) What is the probability density function?(b) What is the probability that any flood lasts at least 3 days?

ANSWER:(a) The appropriate density function for the uniformly distributed random

variable X in this situation is

(b) P[X 3] =41

414

3

dx

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 31: Shahid Lecture-13-MKAG1273

Continuous Uniform Distribution

The mean and variance of the uniform distribution are:

Mean:

Variance:

2BAµ

12

22 )AB(σ

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 32: Shahid Lecture-13-MKAG1273

Assume the following rainfall data follows a normal distribution. Find the rain depth that would have a recurrence interval of 100 years.

Year Annual Rainfall (in)2000 431999 441998 381997 311996 47….. …..Mean = 41.5, St. Dev = 6.7 in

Normal Distribution

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 33: Shahid Lecture-13-MKAG1273

Solution: Z = (X − µ)/σX = µ + (Z * σ)x = 41.5 + z(6.7)Return period, T = 100Probability of occurrence in a year, 1/T = 1/100 = 0.01Z = 2.326X = 41.5 + (2.326 x 6.7) = 57.1 in

Normal Distribution

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 34: Shahid Lecture-13-MKAG1273

Year 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009Rainfall (mm)

49.1 48.5 26.7 50.9 31.8 44.7 78.5 28.5 65.8 66.2 73.6 102.2 78 55.2 45.3

The probability density function of an exponential distribution is

Find the probability the hourly annual maximum rainfall exceeds a threshold of 38mm, P(X > 38).

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 35: Shahid Lecture-13-MKAG1273

Frequency Analyses

Primary application of floodfrequency analyses is to predict thepossible flood magnitude over acertain time period or to estimatethe frequency with which floods ofa certain magnitude may occur.

• Time distribution of flood• Estimation of the magnitude of

flood• Estimation of return period

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 36: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 37: Shahid Lecture-13-MKAG1273

• A 100-year flooddoes notnecessarily occuronly once every100 years, norwill itnecessarily occuronly once duringa 100 yearperiod.

• There is a equalchance for aflood of thismagnitude tooccur in any yearor even multipletimes in a singleyear.

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 38: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 39: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 40: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 41: Shahid Lecture-13-MKAG1273

Frequency Analysis

Rank the (n) data (Pi) in a descending order, the highest value first and the lowest value last.

Attach a serial rank number, r to each value (Pi) with r = 1 for thehighest value (Pi) and r = n for the lowest value (Pn)

Calculate the frequency of exceedance F (P>Pi) as:California r / nHazen (r – 0.5)/nWeibull r / (n+1)Gringorten (r – 0.44) / (n + 0.12)

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 42: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 43: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 44: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 45: Shahid Lecture-13-MKAG1273

Flood Return Period

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 46: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 47: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 48: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 49: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 50: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 51: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 52: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 53: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 54: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 55: Shahid Lecture-13-MKAG1273

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 56: Shahid Lecture-13-MKAG1273

• The method of moments equates sample moments toparameter estimates.

• The moments are measured are mean, variance, skewnessand kurtosis.

• When moment methods are available, they have theadvantage of simplicity.

• The disadvantage is that they are often not available andthey do not have the desirable optimality properties of othermethods.

Using Moments

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 57: Shahid Lecture-13-MKAG1273

There are various methods, both numerical andgraphical, to test goodness of fit:

1. Probability plots2. Statistical tests

Test The Goodness of Fit

11/23/2015 Shamsuddin Shahid, FKA, UTM

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)