Discrete Random Variables

Download Report

Transcript Discrete Random Variables

C4: DISCRETE RANDOM VARIABLES
CIS 2033 based on
Dekking et al. A Modern Introduction to Probability
and Statistics. 2007
Slides by Emily LeBlanc
Instructor Longin Jan Latecki
Discrete Random Variables
Discrete random variables are obtained by counting and have sample spaces which
Are countable. The values that represent each outcome are usually integers.
Random variables are denoted by capital letters.
X: is the number of times that we flip a coin until H comes up
The possible outcomes are denoted by lower case letters:
a=1, a=2, a=3...
Probability Mass Function
The probability mass function of a discrete random variable maps each possible
outcome in the sample space to it's corresponding probability.
The sum of the probabilities of all possible outcomes will always be equal to 1.
Probability Distribution Function
The distribution function of a random variable X (also referred to as the
cumulative distribution function) gives us information regarding the probability
that X will take a value less than or equal to a.
The value of F(a) is equal to the sum of all probabilities of outcomes less
than or equal to a.
Graphs of PMF and CDF
Probability Distribution Function
Cumulative Distribution Function
Bernoulli Distribution


The Bernoulli distribution is used to model an
experiment with only two outcomes, success
and failure. The parameter p is the chance for
success.
An example is flipping a coin, where “heads”
may be success and “tails” may be failure.
Binomial Distribution


The Binomial Distribution represents multiple
Bernoulli trials. The parameter n is the number of
trials, and the parameter p is the probability of
success as in the Bernoulli distribution.
P(X=k) is the probability of k successful outcomes in
n trials.
Geometric Distribution



A geometric distribution gives information about the
probability of success after k attempts. The parameter
p is the probability of success on the kth try.
This means that all previous k-1 tries failed
An example of this would be finding the probability that
you will hit a bullseye with a dart on your kth toss.