WIA2003/WIB2003 Probability and Statistics
WIA2003/WIB2003 Probability and Statistics
1
WIA2003/WIB2003 Probability and Statistics
Revisit:
Bayes’ Theorem
• Probability
review
– Mutual exclusive, collective exhaustive, independence
• Conditional probability and Bayes’ theorem
2
Random Variables WIA2003/WIB2003 Probability and Statistics
– Suppose, for example, that we flip a coin and count the number of
heads. The number of heads results from a random process - flipping a
coin.
3
Random Variables WIA2003/WIB2003 Probability and Statistics
Probability Distribution
4
Random Variables WIA2003/WIB2003 Probability and Statistics
Probability Distribution
• The
probability distribution of a discrete random
variable can always be represented by a table.
– E.g. suppose you flip a coin two times. This simple exercise can have
four possible outcomes: .
– Now, let the variable represent the number of heads that result from
the coin flips. The variable can take on the values 0, 1, or 2; and is a
discrete random variable.
5
Random Variables WIA2003/WIB2003 Probability and Statistics
• The
table below shows the probabilities associated
with each possible value of the .
– The probability of getting 0 heads is 0.25; 1 head, 0.50; and 2 heads,
0.25. Thus, the table is an example of a probability distribution for a
discrete random variable.
Number of
heads,
0.25 0.25 0.25 0.25
• Random
variables are described by measures of
central tendency (i.e., mean and median) and
measures of variability (i.e., standard deviation and
variance).
– The mean of the discrete random variable is also called the expected
value of X. The expected value of is denoted by .
– where is the value of the random variable for outcome , is the mean
of random variable , and is the probability that the random variable
will be outcome .
7
Random Variables WIA2003/WIB2003 Probability and Statistics
• The
median of a discrete random variable is the
"middle" value.
8
Random Variables WIA2003/WIB2003 Probability and Statistics
•Variability
of a Discrete Random Variable
• The standard deviation of a discrete random variable () is equal to the
square root of the variance of a discrete random variable ().
• where is the value of the random variable for outcome , is the probability
that the random variable will be outcome , is the expected value of the
discrete random variable .
9
WIA2003/WIB2003 Probability and Statistics
Binomial Distributions
10
Binomial process WIA2003/WIB2003 Probability and Statistics
Binomial distribution
• A
binomial experiment is one that possesses the
following properties:
– The experiment consists of repeated trials a fixed number of
observations (trials),
– e.g., 15 tosses of a coin; 20 patients; 1000 people surveyed
11
Binomial process WIA2003/WIB2003 Probability and Statistics
Binomial distribution
• The
probability of a success, denoted by ,
remains constant from trial to trial
– Repeated trials are independent of each other
12
Binomial process WIA2003/WIB2003 Probability and Statistics
Binomial distribution
• You flip a coin 2 times and count the number of times
the coin lands on heads. This is a binomial
experiment because:
– The experiment consists of repeated trials – flipping a coin
– Each trial can result in just two possible outcomes - heads or tails.
– The probability of success is constant - 0.5 on every trial.
– The trials are independent; that is, getting heads on one trial does not
affect whether we get heads on other trials.
13
Binomial process WIA2003/WIB2003 Probability and Statistics
Binomial
• Binomial:
Suppose that independent experiments,
are performed, where is a fixed number, and that
each experiment results in a “success” with
probability and a “failure” with probability . The
total number of successes, , is a binomial random
variable with parameters and .
– We write:
(reads: “X is distributed binomially with parameters and )
– The probability distribution of the random variable is called a
binomial distribution
14
Binomial process WIA2003/WIB2003 Probability and Statistics
Binomial
•• The
binomial probability refers to the probability that a
binomial experiment results in exactly successes.
Bernoulli Trial
• If
there is only 1 trial with probability of success and
probability of failure , this is called a Bernouilli
distribution.
– special case of the binomial trial with
– Probability of success:
– Probability of failure:
16
Binomial process WIA2003/WIB2003 Probability and Statistics
17
Binomial process WIA2003/WIB2003 Probability and Statistics
Another example
•A coin is thrown 10 times. is the random variable
representing the number of heads obtained. What is
the probability of getting 2 heads and 8 tails?
18
Binomial process WIA2003/WIB2003 Probability and Statistics
Cumulative binomial
• A
cumulative binomial probability refers to the
probability that the binomial random variable falls
within a specified range.
19
Binomial process WIA2003/WIB2003 Probability and Statistics
20
Binomial process WIA2003/WIB2003 Probability and Statistics
OR
21
Binomial process WIA2003/WIB2003 Probability and Statistics
22
Binomial process WIA2003/WIB2003 Probability and Statistics
• Standard deviation is
23
WIA2003/WIB2003 Probability and Statistics
Poisson Distributions
24
Poisson distribution WIA2003/WIB2003 Probability and Statistics
25
Poisson distribution WIA2003/WIB2003 Probability and Statistics
26
Poisson distribution WIA2003/WIB2003 Probability and Statistics
27
Poisson distribution WIA2003/WIB2003 Probability and Statistics
Poisson distribution
• Suppose
we have a stochastic system in which events
of interest occur independently with small and
constant probability – this is called Poisson Process
– A Poisson Process is the stochastic process in which events
occur continuously and independently of one another.
– The name Poisson comes from the French mathematician
Sim´eon Denis Poisson (1781–1840).
28
Poisson distribution WIA2003/WIB2003 Probability and Statistics
29
Poisson distribution WIA2003/WIB2003 Probability and Statistics
Poisson process
Examples:
• The number of airline crashes next year
• The number of people arriving at a drive-through window in the next hour
• The arrival of an email to your inbox
• The number of lightbulbs removed from inventory today etc.
30
Poisson distribution WIA2003/WIB2003 Probability and Statistics
Poisson distribution
• The
Poisson distribution is a discrete
probability distribution for the counts of events
that occur randomly in a given interval of time
(or space).
31
Poisson distribution WIA2003/WIB2003 Probability and Statistics
Poisson distribution
•
• is a mathematical constant. Approximately equal to 2.71828
• If the probabilities of are distributed in this way, we write
Example 1
•Births
in a hospital occur randomly at an average rate of
1.8 births per hour. What is the probability of observing
4 births in a given hour at the hospital?
33
Poisson distribution WIA2003/WIB2003 Probability and Statistics
Examples
• What about the probability of observing more than
or equal to 2 births in a given hour at the hospital?
34
Poisson distribution WIA2003/WIB2003 Probability and Statistics
35
Poisson distribution WIA2003/WIB2003 Probability and Statistics
• If there are 0.2 incidents in one day on average, then there are (0.2)(4)
incidents in four days, on average. Thus = (0.2)(4) = 0.8.
• If is the number of shoplifting incidents in the four-day interval, then
36
Poisson distribution WIA2003/WIB2003 Probability and Statistics
37
The End
38