SlideShare a Scribd company logo
Chapter 4: Discrete Random Variables
Statistics
McClave, Statistics, 11th ed. Chapter 4: Discrete
Random Variables
2
Where We’ve Been
 Using probability to make inferences
about populations
 Measuring the reliability of the
inferences
McClave, Statistics, 11th ed. Chapter 4: Discrete
Random Variables
3
Where We’re Going
 Develop the notion of a random
variable
 Numerical data and discrete random
variables
 Discrete random variables and their
probabilities
4.1: Two Types of Random
Variables
 A random variable is a variable hat
assumes numerical values associated
with the random outcome of an
experiment, where one (and only one)
numerical value is assigned to each
sample point.
4McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.1: Two Types of Random
Variables
 A discrete random variable can assume a
countable number of values.
 Number of steps to the top of the Eiffel Tower*
 A continuous random variable can
assume any value along a given interval of
a number line.
 The time a tourist stays at the top
once s/he gets there
*Believe it or not, the answer ranges from 1,652 to 1,789. See Great Buildings
5McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.1: Two Types of Random
Variables
 Discrete random variables
 Number of sales
 Number of calls
 Shares of stock
 People in line
 Mistakes per page
 Continuous random
variables
 Length
 Depth
 Volume
 Time
 Weight
6McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.2: Probability Distributions
for Discrete Random Variables
 The probability distribution of a
discrete random variable is a graph,
table or formula that specifies the
probability associated with each
possible outcome the random variable
can assume.
 p(x) ≥ 0 for all values of x
 Σp(x) = 1
7McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.2: Probability Distributions
for Discrete Random Variables
 Say a random variable
x follows this pattern:
p(x) = (.3)(.7)x-1
for x > 0.
 This table gives the
probabilities (rounded
to two digits) for x
between 1 and 10.
x P(x)
1 .30
2 .21
3 .15
4 .11
5 .07
6 .05
7 .04
8 .02
9 .02
10 .01
8McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.3: Expected Values of
Discrete Random Variables
 The mean, or expected value, of a
discrete random variable is
( ) ( ).E x xp xµ = = ∑
9McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.3: Expected Values of
Discrete Random Variables
 The variance of a discrete random
variable x is
 The standard deviation of a discrete
random variable x is
2 2 2
[( ) ] ( ) ( ).E x x p xσ µ µ= − = −∑
2 2 2
[( ) ] ( ) ( ).E x x p xσ µ µ= − = −∑
10McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
)33(
)22(
)(
σµσµ
σµσµ
σµσµ
+<<−
+<<−
+<<−
xP
xP
xP
Chebyshev’s Rule Empirical Rule
≥ 0 ≅ .68
≥ .75 ≅ .95
≥ .89 ≅ 1.00
11McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.3: Expected Values of
Discrete Random Variables
4.3: Expected Values of
Discrete Random Variables
12McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
 In a roulette wheel in a U.S. casino, a $1 bet on
“even” wins $1 if the ball falls on an even number
(same for “odd,” or “red,” or “black”).
 The odds of winning this bet are 47.37%
9986.
0526.5263.1$4737.1$
5263.)1$(
4737.)1$(
=
−=⋅−⋅+=
=
=
σ
µ
loseP
winP
On average, bettors lose about a nickel for each dollar they put down on a bet like this.
(These are the best bets for patrons.)
4.4: The Binomial Distribution
 A Binomial Random Variable
 n identical trials
 Two outcomes: Success or Failure
 P(S) = p; P(F) = q = 1 – p
 Trials are independent
 x is the number of Successes in n trials
13McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.4: The Binomial Distribution
 A Binomial Random
Variable
 n identical trials
 Two outcomes: Success
or Failure
 P(S) = p; P(F) = q = 1 – p
 Trials are independent
 x is the number of S’s in n
trials
Flip a coin 3 times
Outcomes are Heads or Tails
P(H) = .5; P(F) = 1-.5 = .5
A head on flip i doesn’t
change P(H) of flip i + 1
14McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.4: The Binomial Distribution
Results of 3 flips Probability Combined Summary
HHH (p)(p)(p) p3
(1)p3
q0
HHT (p)(p)(q) p2
q
HTH (p)(q)(p) p2
q (3)p2
q1
THH (q)(p)(p) p2
q
HTT (p)(q)(q) pq2
THT (q)(p)(q) pq2
(3)p1
q2
TTH (q)(q)(p) pq2
TTT (q)(q)(q) q3
(1)p0
q3
15McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.4: The Binomial Distribution
 The Binomial Probability Distribution
 p = P(S) on a single trial
 q = 1 – p
 n = number of trials
 x = number of successes
xnx
qp
x
n
xP −






=)(
16McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.4: The Binomial Distribution
 The Binomial Probability Distribution
xnx
qp
x
n
xP −






=)(
17McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
 Say 40% of the
class is female.
 What is the
probability that 6
of the first 10
students walking
in will be female?
4.4: The Binomial Distribution
1115.
)1296)(.004096(.210
)6)(.4(.
6
10
)(
6106
=
=






=






=
−
−xnx
qp
x
n
xP
18McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.4: The Binomial Distribution
Mean
Variance
Standard Deviation
 A Binomial Random Variable has
McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
19
2
np
npq
npq
µ
σ
σ
=
=
=
4.4: The Binomial Distribution
16250
2505.5.1000
5005.1000
2
≅==
=⋅⋅==
=⋅==
npq
npq
np
σ
σ
µ
 For 1,000 coin flips,
The actual probability of getting exactly 500 heads out of 1000 flips is
just over 2.5%, but the probability of getting between 484 and 516 heads
(that is, within one standard deviation of the mean) is about 68%.
20McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.5: The Poisson Distribution
 Evaluates the probability of a (usually
small) number of occurrences out of many
opportunities in a …
 Period of time
 Area
 Volume
 Weight
 Distance
 Other units of measurement
21McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.5: The Poisson Distribution
!
)(
x
e
xP
x λ
λ −
=
  = mean number of occurrences in the
given unit of time, area, volume, etc.
 e = 2.71828….
 µ = 
 2
= 
22McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.5: The Poisson Distribution
1008.
!5
3
!
)5(
35
====
−−
e
x
e
xP
x λ
λ
 Say in a given stream there are an average
of 3 striped trout per 100 yards. What is the
probability of seeing 5 striped trout in the
next 100 yards, assuming a Poisson
distribution?
23McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.5: The Poisson Distribution
0141.
!5
5.1
!
)5(
5.15
====
−−
e
x
e
xP
x λ
λ
 How about in the next 50 yards, assuming a
Poisson distribution?
 Since the distance is only half as long,  is only
half as large.
24McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
4.6: The Hypergeometric
Distribution
 In the binomial situation, each trial was
independent.
 Drawing cards from a deck and replacing
the drawn card each time
 If the card is not replaced, each trial
depends on the previous trial(s).
 The hypergeometric distribution can be
used in this case.
McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
25
4.6: The Hypergeometric
Distribution
McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
26
 Randomly draw n elements from a set
of N elements, without replacement.
Assume there are r successes and N-r
failures in the N elements.
 The hypergeometric random variable
is the number of successes, x, drawn
from the r available in the n selections.
4.6: The Hypergeometric
Distribution
McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
27












−
−






=
n
N
xn
rN
x
r
xP )(
where
N = the total number of elements
r = number of successes in the N elements
n = number of elements drawn
X = the number of successes in the n elements
4.6: The Hypergeometric
Distribution
McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
28












−
−






=
n
N
xn
rN
x
r
xP )(
)1(
)()(
2
2
−
−−
=
=
NN
nNnrNr
N
nr
σ
µ
4.6: The Hypergeometric
Distribution
44.22.2)2()2()2or2(
22.
45
)1)(10(
2
10
22
510
2
5
)2()2(
=×==+====
==












−
−






====
FPMPFMP
FPMP
 Suppose a customer at a pet store wants to buy two hamsters
for his daughter, but he wants two males or two females (i.e.,
he wants only two hamsters in a few months)
 If there are ten hamsters, five male and five female, what is the
probability of drawing two of the same sex? (With hamsters, it’s
virtually a random selection.)
McClave, Statistics, 11th ed. Chapter 4:
Discrete Random Variables
29

More Related Content

What's hot

Introduction to probability
Introduction to probabilityIntroduction to probability
Introduction to probability
David Radcliffe
 
Negative binomial distribution
Negative binomial distributionNegative binomial distribution
Negative binomial distribution
Nadeem Uddin
 
Poisson Probability Distributions
Poisson Probability DistributionsPoisson Probability Distributions
Poisson Probability Distributions
Long Beach City College
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
Global Polis
 
Probablity ppt maths
Probablity ppt mathsProbablity ppt maths
Probablity ppt maths
neelkanth ramteke
 
Binomial and Poisson Distribution
Binomial and Poisson  DistributionBinomial and Poisson  Distribution
Binomial and Poisson Distribution
Sundar B N
 
Constructing Probability Distribution.pptx
Constructing Probability Distribution.pptxConstructing Probability Distribution.pptx
Constructing Probability Distribution.pptx
TedsTV
 
Geometric Distribution
Geometric DistributionGeometric Distribution
Geometric Distribution
Ratul Basak
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
probability
probabilityprobability
probability
Dr.Muhammad Omer
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial Distribution
mathscontent
 
4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability
mlong24
 
5.2 arithmetic sequences and sums
5.2 arithmetic sequences and sums5.2 arithmetic sequences and sums
5.2 arithmetic sequences and sumsmath260
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
Maria Romina Angustia
 
Conditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptxConditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptx
VilDom
 
Probability
ProbabilityProbability
Probability
Sanika Savdekar
 
Presentation binomial theorem
Presentation binomial theoremPresentation binomial theorem
Presentation binomial theorem
Christopher Chibangu
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
Avjinder (Avi) Kaler
 
Continuous probability distribution
Continuous probability distributionContinuous probability distribution
Continuous probability distribution
Habibullah Bahar University College
 

What's hot (20)

Introduction to probability
Introduction to probabilityIntroduction to probability
Introduction to probability
 
Negative binomial distribution
Negative binomial distributionNegative binomial distribution
Negative binomial distribution
 
Poisson Probability Distributions
Poisson Probability DistributionsPoisson Probability Distributions
Poisson Probability Distributions
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Probablity ppt maths
Probablity ppt mathsProbablity ppt maths
Probablity ppt maths
 
Binomial and Poisson Distribution
Binomial and Poisson  DistributionBinomial and Poisson  Distribution
Binomial and Poisson Distribution
 
Constructing Probability Distribution.pptx
Constructing Probability Distribution.pptxConstructing Probability Distribution.pptx
Constructing Probability Distribution.pptx
 
Geometric Distribution
Geometric DistributionGeometric Distribution
Geometric Distribution
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
probability
probabilityprobability
probability
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial Distribution
 
4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability
 
5.2 arithmetic sequences and sums
5.2 arithmetic sequences and sums5.2 arithmetic sequences and sums
5.2 arithmetic sequences and sums
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
 
Conditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptxConditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptx
 
Random Variables
Random VariablesRandom Variables
Random Variables
 
Probability
ProbabilityProbability
Probability
 
Presentation binomial theorem
Presentation binomial theoremPresentation binomial theorem
Presentation binomial theorem
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
Continuous probability distribution
Continuous probability distributionContinuous probability distribution
Continuous probability distribution
 

Similar to Chapter 04 random variables and probability

Probability theory discrete probability distribution
Probability theory discrete probability distributionProbability theory discrete probability distribution
Probability theory discrete probability distribution
samarthpawar9890
 
Third nine week review powerpoint Chapter 4
Third nine week review powerpoint Chapter 4Third nine week review powerpoint Chapter 4
Third nine week review powerpoint Chapter 4
Debra Wallace
 
random variable and distribution
random variable and distributionrandom variable and distribution
random variable and distribution
lovemucheca
 
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.pptvdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
CharlesElquimeGalapo
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
April Palmes
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
Long Beach City College
 
Mathematics with nice undestand.pdf
Mathematics with nice undestand.pdfMathematics with nice undestand.pdf
Mathematics with nice undestand.pdf
elistemidayo
 
Probability 4.2
Probability 4.2Probability 4.2
Probability 4.2herbison
 
ISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptx
ssuser1eba67
 
Unit3
Unit3Unit3
Random variable
Random variable Random variable
Random variable
JalilAlih
 
Random variable
Random variableRandom variable
Random variable
JalilAlih
 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
AlfredNavea1
 
8 random variable
8 random variable8 random variable
8 random variable
Juan Apolinario Reyes
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
nszakir
 
CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...
CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...
CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...
Gilbert Joseph Abueg
 
review chapter-edited.pdf
review chapter-edited.pdfreview chapter-edited.pdf
review chapter-edited.pdf
HieuNguyen477759
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRanjan Kumar
 
Probability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdfProbability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdf
nomovi6416
 
Discrete Distribution.pptx
Discrete Distribution.pptxDiscrete Distribution.pptx
Discrete Distribution.pptx
Ravindra Nath Shukla
 

Similar to Chapter 04 random variables and probability (20)

Probability theory discrete probability distribution
Probability theory discrete probability distributionProbability theory discrete probability distribution
Probability theory discrete probability distribution
 
Third nine week review powerpoint Chapter 4
Third nine week review powerpoint Chapter 4Third nine week review powerpoint Chapter 4
Third nine week review powerpoint Chapter 4
 
random variable and distribution
random variable and distributionrandom variable and distribution
random variable and distribution
 
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.pptvdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
vdocuments.mx_chapter-5-probability-distributions-56a36d9fddc1e.ppt
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Mathematics with nice undestand.pdf
Mathematics with nice undestand.pdfMathematics with nice undestand.pdf
Mathematics with nice undestand.pdf
 
Probability 4.2
Probability 4.2Probability 4.2
Probability 4.2
 
ISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptx
 
Unit3
Unit3Unit3
Unit3
 
Random variable
Random variable Random variable
Random variable
 
Random variable
Random variableRandom variable
Random variable
 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
 
8 random variable
8 random variable8 random variable
8 random variable
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...
CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...
CABT SHS Statistics & Probability - Mean and Variance of Sampling Distributio...
 
review chapter-edited.pdf
review chapter-edited.pdfreview chapter-edited.pdf
review chapter-edited.pdf
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Probability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdfProbability and Statistics : Binomial Distribution notes ppt.pdf
Probability and Statistics : Binomial Distribution notes ppt.pdf
 
Discrete Distribution.pptx
Discrete Distribution.pptxDiscrete Distribution.pptx
Discrete Distribution.pptx
 

Recently uploaded

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
StarCompliance.io
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
AlejandraGmez176757
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 

Recently uploaded (20)

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 

Chapter 04 random variables and probability

  • 1. Chapter 4: Discrete Random Variables Statistics
  • 2. McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 2 Where We’ve Been  Using probability to make inferences about populations  Measuring the reliability of the inferences
  • 3. McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 3 Where We’re Going  Develop the notion of a random variable  Numerical data and discrete random variables  Discrete random variables and their probabilities
  • 4. 4.1: Two Types of Random Variables  A random variable is a variable hat assumes numerical values associated with the random outcome of an experiment, where one (and only one) numerical value is assigned to each sample point. 4McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 5. 4.1: Two Types of Random Variables  A discrete random variable can assume a countable number of values.  Number of steps to the top of the Eiffel Tower*  A continuous random variable can assume any value along a given interval of a number line.  The time a tourist stays at the top once s/he gets there *Believe it or not, the answer ranges from 1,652 to 1,789. See Great Buildings 5McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 6. 4.1: Two Types of Random Variables  Discrete random variables  Number of sales  Number of calls  Shares of stock  People in line  Mistakes per page  Continuous random variables  Length  Depth  Volume  Time  Weight 6McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 7. 4.2: Probability Distributions for Discrete Random Variables  The probability distribution of a discrete random variable is a graph, table or formula that specifies the probability associated with each possible outcome the random variable can assume.  p(x) ≥ 0 for all values of x  Σp(x) = 1 7McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 8. 4.2: Probability Distributions for Discrete Random Variables  Say a random variable x follows this pattern: p(x) = (.3)(.7)x-1 for x > 0.  This table gives the probabilities (rounded to two digits) for x between 1 and 10. x P(x) 1 .30 2 .21 3 .15 4 .11 5 .07 6 .05 7 .04 8 .02 9 .02 10 .01 8McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 9. 4.3: Expected Values of Discrete Random Variables  The mean, or expected value, of a discrete random variable is ( ) ( ).E x xp xµ = = ∑ 9McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 10. 4.3: Expected Values of Discrete Random Variables  The variance of a discrete random variable x is  The standard deviation of a discrete random variable x is 2 2 2 [( ) ] ( ) ( ).E x x p xσ µ µ= − = −∑ 2 2 2 [( ) ] ( ) ( ).E x x p xσ µ µ= − = −∑ 10McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 11. )33( )22( )( σµσµ σµσµ σµσµ +<<− +<<− +<<− xP xP xP Chebyshev’s Rule Empirical Rule ≥ 0 ≅ .68 ≥ .75 ≅ .95 ≥ .89 ≅ 1.00 11McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 4.3: Expected Values of Discrete Random Variables
  • 12. 4.3: Expected Values of Discrete Random Variables 12McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables  In a roulette wheel in a U.S. casino, a $1 bet on “even” wins $1 if the ball falls on an even number (same for “odd,” or “red,” or “black”).  The odds of winning this bet are 47.37% 9986. 0526.5263.1$4737.1$ 5263.)1$( 4737.)1$( = −=⋅−⋅+= = = σ µ loseP winP On average, bettors lose about a nickel for each dollar they put down on a bet like this. (These are the best bets for patrons.)
  • 13. 4.4: The Binomial Distribution  A Binomial Random Variable  n identical trials  Two outcomes: Success or Failure  P(S) = p; P(F) = q = 1 – p  Trials are independent  x is the number of Successes in n trials 13McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 14. 4.4: The Binomial Distribution  A Binomial Random Variable  n identical trials  Two outcomes: Success or Failure  P(S) = p; P(F) = q = 1 – p  Trials are independent  x is the number of S’s in n trials Flip a coin 3 times Outcomes are Heads or Tails P(H) = .5; P(F) = 1-.5 = .5 A head on flip i doesn’t change P(H) of flip i + 1 14McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 15. 4.4: The Binomial Distribution Results of 3 flips Probability Combined Summary HHH (p)(p)(p) p3 (1)p3 q0 HHT (p)(p)(q) p2 q HTH (p)(q)(p) p2 q (3)p2 q1 THH (q)(p)(p) p2 q HTT (p)(q)(q) pq2 THT (q)(p)(q) pq2 (3)p1 q2 TTH (q)(q)(p) pq2 TTT (q)(q)(q) q3 (1)p0 q3 15McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 16. 4.4: The Binomial Distribution  The Binomial Probability Distribution  p = P(S) on a single trial  q = 1 – p  n = number of trials  x = number of successes xnx qp x n xP −       =)( 16McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 17. 4.4: The Binomial Distribution  The Binomial Probability Distribution xnx qp x n xP −       =)( 17McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 18.  Say 40% of the class is female.  What is the probability that 6 of the first 10 students walking in will be female? 4.4: The Binomial Distribution 1115. )1296)(.004096(.210 )6)(.4(. 6 10 )( 6106 = =       =       = − −xnx qp x n xP 18McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 19. 4.4: The Binomial Distribution Mean Variance Standard Deviation  A Binomial Random Variable has McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 19 2 np npq npq µ σ σ = = =
  • 20. 4.4: The Binomial Distribution 16250 2505.5.1000 5005.1000 2 ≅== =⋅⋅== =⋅== npq npq np σ σ µ  For 1,000 coin flips, The actual probability of getting exactly 500 heads out of 1000 flips is just over 2.5%, but the probability of getting between 484 and 516 heads (that is, within one standard deviation of the mean) is about 68%. 20McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 21. 4.5: The Poisson Distribution  Evaluates the probability of a (usually small) number of occurrences out of many opportunities in a …  Period of time  Area  Volume  Weight  Distance  Other units of measurement 21McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 22. 4.5: The Poisson Distribution ! )( x e xP x λ λ − =   = mean number of occurrences in the given unit of time, area, volume, etc.  e = 2.71828….  µ =   2 =  22McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 23. 4.5: The Poisson Distribution 1008. !5 3 ! )5( 35 ==== −− e x e xP x λ λ  Say in a given stream there are an average of 3 striped trout per 100 yards. What is the probability of seeing 5 striped trout in the next 100 yards, assuming a Poisson distribution? 23McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 24. 4.5: The Poisson Distribution 0141. !5 5.1 ! )5( 5.15 ==== −− e x e xP x λ λ  How about in the next 50 yards, assuming a Poisson distribution?  Since the distance is only half as long,  is only half as large. 24McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables
  • 25. 4.6: The Hypergeometric Distribution  In the binomial situation, each trial was independent.  Drawing cards from a deck and replacing the drawn card each time  If the card is not replaced, each trial depends on the previous trial(s).  The hypergeometric distribution can be used in this case. McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 25
  • 26. 4.6: The Hypergeometric Distribution McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 26  Randomly draw n elements from a set of N elements, without replacement. Assume there are r successes and N-r failures in the N elements.  The hypergeometric random variable is the number of successes, x, drawn from the r available in the n selections.
  • 27. 4.6: The Hypergeometric Distribution McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 27             − −       = n N xn rN x r xP )( where N = the total number of elements r = number of successes in the N elements n = number of elements drawn X = the number of successes in the n elements
  • 28. 4.6: The Hypergeometric Distribution McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 28             − −       = n N xn rN x r xP )( )1( )()( 2 2 − −− = = NN nNnrNr N nr σ µ
  • 29. 4.6: The Hypergeometric Distribution 44.22.2)2()2()2or2( 22. 45 )1)(10( 2 10 22 510 2 5 )2()2( =×==+==== ==             − −       ==== FPMPFMP FPMP  Suppose a customer at a pet store wants to buy two hamsters for his daughter, but he wants two males or two females (i.e., he wants only two hamsters in a few months)  If there are ten hamsters, five male and five female, what is the probability of drawing two of the same sex? (With hamsters, it’s virtually a random selection.) McClave, Statistics, 11th ed. Chapter 4: Discrete Random Variables 29