1.38k likes | 1.73k Views
Chapter 3 Discrete Random Variables. 主講人 : 虞台文. Content. Random Variables The Probability Mass Functions Distribution Functions Bernoulli Trials Bernoulli Distributions Binomial Distributions Geometric Distributions Negative Binomial Distributions Poisson Distributions
E N D
Content • Random Variables • The Probability Mass Functions • Distribution Functions • Bernoulli Trials • Bernoulli Distributions • Binomial Distributions • Geometric Distributions • Negative Binomial Distributions • Poisson Distributions • Hypergeometric Distributions • Discrete Uniform Distributions
Chapter 3Discrete Random Variables Random Variables
Definition Random Variables A random variableX of a probability space (, A, P) is a real-valued function defined on , i.e.,
原來熊貓不是貓 Definition Random Variables A random variableX of a probability space (, A, P) is a real-valued function defined on , i.e.,
1 Example 1
2 Example 1
l a b Example 2
l a b Example 2
Definition Discrete Random Variables A discrete random variableX is a random variable with range being a finite or countable infinite subset {x1, x2, . . .} of real numbers R.
countable uncountable What is countablity? Definition Discrete Random Variables A discrete random variableX is a random variable with range being a finite or countably infinite subset {x1, x2, . . .} of real numbers R. The set of all integers The set of all real numbers
Example 1 All are finite X, Y and Z are discrete random variables.
l a b Example 2 All are uncountable X, Y and Z are notdiscrete random variables.
l a b Example 2 In fact, they are continuous random variables. All are uncountable X, Y and Z are notdiscrete random variables.
Chapter 3Discrete Random Variables The Probability Mass Functions
Definition The Probability Mass Function (pmf) The probability mass function (pmf) of r.v. X, denoted by pX(x), is defined as
x 2 3 4 5 6 7 8 9 10 11 12 6/36 5/36 4/36 3/36 2/36 1/36 Example 4
y 1 2 3 4 5 6 Example 4
z 0 1 Example 4
Chapter 3Discrete Random Variables Distribution Functions
pX(x) x x1 x2 x3 x4 FX(x) x x1 x2 x3 x4 pmf cdf Cumulative Distribution Function (cdf)
FX(x) x x1 x2 x3 x4 pmf cdf Cumulative Distribution Function (cdf) pX(x) x x1 x2 x3 x4
FX(x) x x1 x2 x3 x4 pmf cdf Cumulative Distribution Function (cdf) pX(x) x x1 x2 x3 x4
FX(x) x x1 x2 x3 x4 pmf cdf Cumulative Distribution Function (cdf) pX(x) x x1 x2 x3 x4 1 pX(x4) pX(x3) pX(x2) pX(x1)
x 2 3 4 5 6 7 8 9 10 11 12 6/36 5/36 4/36 3/36 2/36 1/36 Example 5
p(x) x F(x) x Example 5
p(x) x F(x) x Example 5
y 1 2 3 4 5 6 Example 5
p(y) y F(y) y Example 5
Properties of cdf’s • x • Monotonically nondecreasing.
Properties of cdf’s • x • Monotonically nondecreasing. F(b) F(a)
Chapter 3Discrete Random Variables Bernoulli Trials
Bernoulli Trials • Suppose an experiment consists of n trials, n> 0. • The trials are called Bernoulli trials if three conditions are satisfied: • Each trial has a sample space {S=1, F=0} (two outcomes), Sto be called success and F to be called failure. • For each trial P(S) = p and P(F) = q, where 0 ≤ p ≤ 1 and q = 1 − p. • The trials are independent.
Is this experiment to performing Bernoulli Trials? Why? Example 6 Tossing a die ten times, the actual face number in each toss is unnoted. Instead, the outcome of 1 or 2 will be considered a success, and the outcome of 3, 4, 5, or 6 will be considered a failure. What is the sample space of the experiment?
Discussion What probabilities may interest us on performing Bernoulli Trials?
Chapter 3Discrete Random Variables Bernoulli Distributions
Bernoulli Distributions • Let r.v. X denote the outcome of a Bernoulli trial, and let the probability of success equal to p. • Then, we have pmf cdf
Bernoulli Distributions • Let r.v. X denote the outcome of a Bernoulli trial, and let the probability of success equal to p. • Then, we have pmf cdf
pX(x) 1p p x 0 1 Bernoulli Distributions • Let r.v. X denote the outcome of a Bernoulli trial, and let the probability of success equal to p. • Then, we have pmf cdf