Download presentation

Presentation is loading. Please wait.

1
**Stats for Engineers Lecture 5**

2
**Summary From Last Time Discrete Random Variables π π π π 1βπ πβπ**

π π π π 1βπ πβπ Binomial Distribution π π=π = 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 π=π π 2 =var π =π Is approximation to Binomial when n is large and p is small Continuous Random Variables π πβ€πβ€π = π π π π₯ β² ππ₯β² Probability Density Function (PDF) π(π₯) Uniform distribution π π₯ =

3
**Number of trains arriving at Falmer every hour **

Poisson or not? Which of the following is most likely to be well modelled by a Poisson distribution? Number of trains arriving at Falmer every hour Number of lottery winners each year that live in Brighton Number of days between solar eclipses Number of days until a component fails

4
**Are they Poisson? Answers:**

Number of trains arriving at Falmer every hour NO, (supposed to) arrive regularly on a timetable not at random Number of lottery winners each year that live in Brighton Yes, is number of random events in fixed interval 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 Number of days until a component fails NO, random events, but this is time until a random event, not the number of random events

5
**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)

6
**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: π=const

7
**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 π π=0 = π βπ π π π! = π βπ = π βππ‘ . 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β 0 π‘ π π‘ ππ‘ = π βππ‘ β 0 π‘ π π‘ ππ‘=1β π βππ‘ Solve by differentiating both sides respect to π‘ assuming constant π, π ππ‘ 0 π‘ π π‘ ππ‘= π ππ‘ 1β π βππ‘ The time until the first occurrence (and between subsequent occurrences) has the Exponential distribution, parameter π. β π π‘ =π π βππ‘

8
Example On average lightening kills three people each year in the UK, π=3. So the rate is π=3/year. 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? 0 1 π π‘ ππ‘= π β3π‘ ππ‘ = 3 π β3π‘ β =β π β3 +1β0.95 π‘

9
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? Question from Derek Bruff YES NO

10
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

11
**Mean and variance of exponential distribution **

π= ββ β π¦ π π¦ ππ¦ = 0 β π¦π π βππ¦ ππ¦ = βπ¦ π βππ¦ 0 β + 0 β π βππ¦ ππ¦ = β π βππ¦ π 0 β = 1 π π 2 = ββ β π¦ 2 π π¦ ππ¦ β π 2 = 0 β π¦ 2 π π βππ¦ ππ¦ β 1 π 2 = β π¦ 2 π βππ¦ 0 β +2 0 β π¦ π βππ¦ ππ¦ β 1 π 2 =0+2 π π β 1 π 2 = 1 π 2 π π π=3 π= 1 3

12
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 = π π βππ¦ (a) First we need to find π = β π βππ¦ =1β π β1000π π πβ€1000 =0.1β 1β π β1000π =0.1 β π β1000π =0.9 ββ1000π= ln 0.9 = β βπβ1.05Γ 10 β4

13
**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 = 1/π = hours. Standard deviation = Variance = π 2 =1/π = hours

14
**The distance between defects in an optical fibre **

Is it exponential? Which of the following random variables is best modelled by an exponential distribution? Question adapted from Derek Bruff The distance between defects in an optical fibre The number of days between someone winning the National Lottery The number of fuses that blow in the UK today The hours of sunshine in Brighton this week assuming an average of 7.2hrs/day

15
Is it exponential? Which of the following random variables is best modelled by an exponential distribution? The distance between defects in an optical fibre - YES: continuous distribution that is the separation between independent random events (the location of the defects) The number of days between someone winning the National Lottery - NO: continuous (if you allow fractional days), but draws happen regularly on a schedule 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) 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

16
**π π₯ = 1 2π π 2 π β π₯βπ 2 2 π 2 (ββ<π₯< β)**

Normal distribution The continuous random variable π has the Normal distribution if the pdf is: π π₯ = 1 2π π 2 π β π₯βπ π (ββ<π₯< β) π: mean π: standard deviation Note: The distribution is also sometimes called a Gaussian distribution X lies between π and π with probability 0.95 i.e. X lies within 2 standard deviations of the mean approximately 95% of the time. π ββ β π π₯ ππ₯=1 [see notes for proof]

17
**If π has a Normal distribution with mean ΞΌ and variance π 2 , write πβΌπ π, π 2**

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.

Similar presentations

Presentation is loading. Please wait....

OK

Modeling Process Quality

Modeling Process Quality

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on carbon monoxide poisoning Ppt on types of plants for grade 1 Ppt on demand side management Ppt on content development director Ppt on number system Convert pdf to ppt online tool Ppt on scramjet engines Ppt on power system transients Ppt on immunization schedule in india Properties of water for kids ppt on batteries