Probability Distributions - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

Probability Distributions

Description:

Sludge pumps at a landfill site have a 1/50 chance of breaking down in a given ... Aside: bar vs hist 'bar' and 'hist' both produce bar charts: what's the difference? ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 21
Provided by: alanab2
Category:

less

Transcript and Presenter's Notes

Title: Probability Distributions


1
Probability Distributions
  • MATH 224

2
Civil Related Example
  • Sludge pumps at a landfill site have a 1/50
    chance of breaking down in a given week (roughly
    one breaks per year)
  • What is the probability of a site with 6 pumps
    having two broken in the same week?

3
Design Questions
  • If 5 pumps are needed to maintain safety of
    groundwater, is the risk low enough with these
    pumps?
  • If not, what could you do?

4
Pump Probabilities
  • Probability of at least one broken pump
  • Distribution over of working pumps
  • Assumptions?

5
Known Distributions
  • Computing new distribution by hand, or by
    simulation, is a lot of work
  • Many common scenarios arise, and have been
    analyzed so the distribution can be computed and
    worked with more easily

6
Binomial Distribution
  • Distribution of broken pumps is the same as
  • ( heads) out of ( tosses of a coin)
  • ( of wins) out of ( plays in gambling)
  • ( of speeders) found out of ( cars observed)

7
Binomial Conditions I
  • We repeat a sequence of trials n times
  • 6 pumps are run for a week, 50 coins are flipped
  • Each trial has only two possible outcomes

8
Binomial Conditions II
  • Trials are independent
  • Probability of events doesnt change from trial
    to trial

9
Binomial Parameters
  • The binomial distribution needs two numbers
    defined
  • n, the number of trials
  • p, the probability of one of the outcomes
  • one outcome is usually called success
  • other outcome has probability _________

10
Computing Probabilities
  • Knowing n and p, we can compute directly the
    probability of x successful trials

11
Pump Example
  • Consider one week at the landfill site
  • n 6 pumps
  • p 49/50 of each pump working
  • from 1/50 chance of failure
  • We want to know p(0 working), p(1 working), p(6
    working)
  • Domain of x, where x working?

12
Pump Example in MATLAB
  • Look under binomial in Help menu
  • ignore negative binomial something related
    which well cover later
  • Look for pdf Probability Distribution
    Function

x 06 of pumps working could be any of
these s N 6 6 pumps p 49/50
probability of 'success' Px binopdf(x, N,
p) bar(x, Px)
13
Aside bar vs hist
  • 'bar' and 'hist' both produce bar charts what's
    the difference?

14
Interpreting the Distribution Graph
Px
15
Questions answered by Distribution
  • What is the probability of exactly 2 pumps
    failing in the same week?
  • What is the probability of 2 or more pumps
    failing in the same week?

16
Cumulative Distributions
  • Second question is of a very common type
  • probability of x or more failures
  • Can be answered by
  • adding up probabilities for P(x), P(x1),
  • OR using
  • Mathematically, F(x)

17
Cumulative Binomial Distribution in MATLAB
x 06 of pumps working could be any of
these s N 6 6 pumps p 49/50
probability of 'success' Fx binocdf(x, N,
p) bar(x, Fx)
Fx
From before, Px
18
Cumulative Graph
19
Answering the question
  • Probability of 2 or more pumps failing in a given
    week is

20
Moving on
  • Section 3.2, 3.4, 3.5
  • Have clickers?
Write a Comment
User Comments (0)
About PowerShow.com