0% found this document useful (0 votes)
17 views17 pages

Exponentiol, Poisson, Normal

Uploaded by

co21351
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views17 pages

Exponentiol, Poisson, Normal

Uploaded by

co21351
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Summary From Last Time

Discrete Random Variables

Binomial Distribution ( 𝑘¿) 𝑝


𝑃 ( 𝑋 =𝑘 )=
𝑛 𝑘
( 1 − 𝑝 )𝑛 − 𝑘

Probability of number of success when you do Bernoulli trials

Mean and variance 𝜇=𝑛𝑝 𝜎 2=𝑛𝑝 (1 −𝑝 )


−𝜆 𝑘
𝑒 𝜆
Poisson distribution 𝑃 ( 𝑋 =𝑘 )=
𝑘!
Probablily of randomly occurring events, given average number is

Mean and variance 𝜇= 𝜆


Is approximation to Binomial when n is large and p is small

Continuous Random Variables 𝑏


𝑃 ( 𝑎 ≤ 𝑋 ≤ 𝑏 )=∫ 𝑓 ( 𝑥 ) 𝑑𝑥 ′

Probability Density Function (PDF)
𝑎
 1 1  x   2
Uniform distribution 
𝑓 ( 𝑥 ) =¿  2   1 otherwise
 0
Poisson or not?

Which of the following is most likely to be well modelled by a


Poisson distribution?

1. Number of trains arriving at Falmer


every hour 54%
2. Number of lottery winners each
year that live in Brighton
3. Number of days between solar
eclipses
23%
4. Number of days until a component 18%
fails
5%

1 2 3 4
Are they Poisson? Answers:

1. Number of trains arriving at Falmer every hour

NO, (supposed to) arrive regularly on a timetable not at random

2. Number of lottery winners each year that live in Brighton

Yes, is number of random events in fixed interval

3. Number of days between solar eclipses

NO, solar eclipses are not random events and this is a time between random
events, not the number in some fixed interval

4. Number of days until a component fails


NO, random events, but this is time until a random event, not the number of
random events
Time between random events / time till first random event ?

If a Poisson process has constant average rate, the mean after a time is .

What is the probability distribution for the time to the first event?

Exponential distribution

Poisson - Discrete distribution: P(number of events)

Exponential - Continuous distribution: P(time till first event)


Exponential distribution
The continuous random variable has the Exponential distribution, with constant rate parameter
if:

𝑓 (𝑦) 𝜈=1
{
−𝜈 𝑦
𝑓 ( 𝑦 )= 𝜈 𝑒 , 𝑦 >0
0 ,∧ 𝑦 < 0

𝑦
Occurrence

1) Time until the failure of a part.

2) Separation between randomly happening events

- Assuming the probability of the events is constant in time:


Relation to Poisson distribution
If a Poisson process has constant average rate, the mean after a time is .
The probability of no-occurrences in time is

If is the pdf for the first occurrence, then the probability of no occurrences is

𝑃 (no occurrence by 𝑡)
¿1− 𝑃 (first occurrence has happened by 𝑡)
𝑡
¿ 1 −∫ 𝑓 ( 𝑡 ) 𝑑𝑡
0
𝑡 𝑡
⇒ 1 −∫ 𝑓 ( 𝑡 ) 𝑑𝑡 =𝑒 ⇒ ∫ 𝑓 ( 𝑡 ) 𝑑𝑡 =1 −𝑒
−𝜈 𝑡 −𝜈 𝑡

0 0

Solve by differentiating both sides respect to assuming constant ,

−𝜈 𝑡 The time until the first occurrence (and


⇒ 𝑓 ( 𝑡 )=𝜈 𝑒 between subsequent occurrences) has the
Exponential distribution, parameter.
Example

On average lightening kills three people each year in the


UK, So the rate is .

Assuming strikes occur randomly at any time during the year so


is constant, time from today until the next fatality has pdf (using
in years) − 𝜈𝑡 −3 𝑡
𝑓 ( 𝑡 ) =𝜈 𝑒 =3 𝑒

𝑓 (𝑡 ) E.g. Probability the time till the


next death is less than one year?
1 1

∫ 𝑓 ( 𝑡 ) 𝑑𝑡=∫ 3 𝑒−3 𝑡 𝑑𝑡
0 0

[ ]
− 3𝑡 1
3𝑒
¿
−3 0
−3
¿ − 𝑒 +1 ≈ 0.95
𝑡
Exponential distribution

A certain type of component can be purchased


new or used. 50% of all new components last
more than five years, but only 30% of used
components last more than five years. Is it
Question from Derek Bruff possible that the lifetimes of new components
are exponentially distributed?

1. YES 53%

2. NO

48%

1 2
Exponential distribution

A certain type of component can be purchased


new or used. 50% of all new components last
more than five years, but only 30% of used
components last more than five years. Is it
possible that the lifetimes of new components
are exponentially distributed?

Exponential distribution models time between independent randomly


occurring events, where frequency of events is independent of time.

i.e. probability of failing in the first 5 years has to be same as the


probability of failing in any other period of 5 years. No memory property.

The observed lifetimes imply that instead the failure rate must increase with time

NOT exponential
Mean and variance of exponential distribution

∞ ∞ ∞
1 2 −𝜈 𝑦 ∞ 1 𝜇 1 1
𝜎 = ∫ 𝑦 𝑓 ( 𝑦 ) 𝑑𝑦−𝜇 =∫ 𝑦 𝜈𝑒 𝑑𝑦− 2 =[ − 𝑦 𝑒 ]0 +2∫ 𝑦𝑒 𝑑𝑦− 2 =0+2 − 2 = 2
2 2 2 2 −𝜈 𝑦 −𝜈 𝑦

−∞ 0 𝜈 0 𝜈 𝜈 𝜈 𝜈

𝜎 𝜎
𝜈=3

1
𝜇=
3
Example: Reliability

The time till failure of an electronic component has an Exponential distribution and it
is known that 10% of components have failed by 1000 hours.

(a) What is the probability that a component is still working after 5000 hours?

(b) Find the mean and standard deviation of the time till failure.

Answer

Let Y = time till failure in hours;


1000
𝑃 ( 𝑌 ≤ 1000 ) = ∫ 𝜈 𝑒
−𝜈 𝑦
(a) First we need to find
0
1000
¿ [ − 𝑒− 𝜈 𝑦 ] 0 ¿ 1 −𝑒
−1000 𝜈

𝑃 ( 𝑌 ≤ 1000 ) =0.1 ⇒ 1 −𝑒 −1000𝜈 =0.1


− 1000𝜈
⇒𝑒 =0.9
⇒− 1000 𝜈=ln 0.9=−0.10536 ⇒𝜈 ≈ 1.05 × 10− 4
If is the time till failure, the question asks for :

𝑃 ( 𝑌 >5000 )= ∫ 𝜈 𝑒
−𝜈 𝑦
𝑑𝑦
5000

−𝜈 𝑦 ∞ −5000 𝜈
¿[− 𝑒 ]5000 ¿𝑒 ≈ 0.59

(b) Find the mean and standard deviation of the time till failure.

Answer: Mean = = 9491 hours.

Standard deviation =
= = 9491 hours
Is it exponential?

Which of the following random variables


is best modelled by an exponential
distribution?

Question adapted from


Derek Bruff

1. The distance between defects in an


39%
optical fibre
2. The number of days between
someone winning the National 27% 27%
Lottery
3. The number of fuses that blow in the
17%
UK today
4. The hours of sunshine in Brighton
this week assuming an average of
7.2hrs/day
1 2 3 4
Is it exponential?

Which of the following random variables


is best modelled by an exponential
distribution?

1. The distance between defects in an optical fibre

- YES: continuous distribution that is the separation between independent random


events (the location of the defects)

2. The number of days between someone winning the National Lottery

- NO: continuous (if you allow fractional days), but draws happen regularly on a
schedule

3. The number of fuses that blow in the UK today

- NO: this is a discrete distribution – the number of events is a Poisson distribution


(exponential is the distribution of times between events)

4. The hours of sunshine in Brighton this week assuming an average of 7.2hrs/day

- NO: This is a continuous variable, but not the time between independent random
events
Normal distribution
The continuous random variable has the Normal distribution if
the pdf is:

mean standard deviation


Note: The distribution is also sometimes called a Gaussian distribution

Xlies between - 1.96and + 1.96with


probability 0.95

𝜎 i.e. X lies within 2 standard deviations of


the mean approximately 95% of the time.

∫ 𝑓 ( 𝑥 ) 𝑑𝑥 =1
−∞

[see notes for proof]


If has a Normal distribution with mean and variance , write

Occurrence of the Normal distribution

1) Quite a few variables, e.g. distributions of sizes, measurement errors,


detector noise. (Bell-shaped histogram).

2) Sample means and totals - see later, Central Limit Theorem.

3) Approximation to several other distributions - see later.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy