SlideShare a Scribd company logo
6.1:
Discrete and Continuous
Random Variables
Section 6.1
Discrete & Continuous Random Variables
After this section, you should be able to…
APPLY the concept of discrete random variables to a
variety of statistical settings
CALCULATE and INTERPRET the mean (expected value) of
a discrete random variable
CALCULATE and INTERPRET the standard deviation (and
variance) of a discrete random variable
DESCRIBE continuous random variables
Random
Variables
• A random variable, usually
written as X, is a variable
whose possible values are
numerical outcomes of a
random phenomenon.
• There are two types of
random variables, discrete
random variables and
continuous random
variables.
Discrete Random Variables
• A discrete random variable is one which may take on
only a countable number of distinct values such as 0,
1, 2, 3, 4,....
• Discrete random variables are usually (but not
necessarily) counts.
• Examples:
• number of children in a family
• the Friday night attendance at a cinema
• the number of patients a doctor sees in one day
• the number of defective light bulbs in a box of ten
• the number of “heads” flipped in 3 trials
Consider tossing a fair coin 3 times.
Define X = the number of heads obtained
X = 0: TTT
X = 1: HTT THT TTH
X = 2: HHT HTH THH
X = 3: HHH
Value 0 1 2 3
Probability 1/8 3/8 3/8 1/8
The probability distribution of a discrete random variable is
a list of probabilities associated with each of its possible
values
Probability Distribution
If you roll a pair of dice and record the sum for each trial, after
an infinite number of times, your distribution will approximate
the probability distribution on the next slide.
Rolling Dice: Probability
Distribution
Discrete Random Variables
A discrete random variable X takes a fixed set of possible
values with gaps between. The probability distribution of
a discrete random variable X lists the values xi and their
probabilities pi:
Value: x1 x2 x3 …
Probability: p1 p2 p3 …
The probabilities pi must satisfy two requirements:
1. Every probability pi is a number between 0 and 1.
2. The sum of the probabilities is 1.
To find the probability of any event, add the probabilities pi
of the particular values xi that make up the event.
Describing the (Probability) Distribution
When analyzing discrete random variables, we’ll follow the
same strategy we used with quantitative data – describe the
shape, center (mean), and spread (standard deviation), and
identify any outliers.
Example: Babies’ Health at Birth
Background details are on page 343.
(a)Show that the probability distribution for X is legitimate.
(b)Make a histogram of the probability distribution. Describe
what you see.
(c)Apgar scores of 7 or higher indicate a healthy baby. What is
P(X ≥ 7)?
Value: 0 1 2 3 4 5 6 7 8 9 10
Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
Example: Babies’ Health at Birth
Background details are on page 343.
(a)Show that the probability distribution for X is legitimate.
(b)Make a histogram of the probability distribution. Describe
the distribution.
(c)Apgar scores of 7 or higher indicate a healthy baby. What is
P(X ≥ 7)?
(a) All probabilities are between 0 and 1 and the probabilities
sum to 1. This is a legitimate probability distribution.
Value: 0 1 2 3 4 5 6 7 8 9 10
Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
Example: Babies’ Health at Birth
b. Make a histogram of the probability distribution. Describe what you see.
c. Apgar scores of 7 or higher indicate a healthy baby. What is P(X ≥ 7)?
(b) The left-skewed shape of the distribution suggests a randomly
selected newborn will have an Apgar score at the high end of the scale.
While the range is from 0 to 10, there is a VERY small chance of getting
a baby with a score of 5 or lower. There are no obvious outliers. The
center of the distribution is approximately 8.
(c) P(X ≥ 7) = .908
We’d have a 91 % chance
of randomly choosing a
healthy baby.
Value: 0 1 2 3 4 5 6 7 8 9 10
Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
Mean of a Discrete Random Variable
The mean of any discrete random variable is an average of
the possible outcomes, with each outcome weighted by its
probability.
Suppose that X is a discrete random variable whose
probability distribution is
Value: x1 x2 x3 …
Probability: p1 p2 p3 …
To find the mean (expected value) of X, multiply each
possible value by its probability, then add all the products:
x  E(X)  x1p1  x2 p2  x3 p3  ...
 xi pi
Example: Apgar Scores – What’s Typical?
Consider the random variable X = Apgar Score
Compute the mean of the random variable X and interpret it in context.
Value: 0 1 2 3 4 5 6 7 8 9 10
Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053

x  E(X)  xi pi
Example: Apgar Scores – What’s Typical?
Consider the random variable X = Apgar Score
Compute the mean of the random variable X and interpret it in context.
Value: 0 1 2 3 4 5 6 7 8 9 10
Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
x  E(X)  xi pi

(0)(0.001)(1)(0.006)(2)(0.007)...(10)(0.053)

 8.128
The mean Apgar score of a randomly selected newborn is 8.128.
This is the long-term average Agar score of many, many
randomly chosen babies.
Note: The expected value does not need to be a possible value of
X or an integer! It is a long-term average over many repetitions.
Standard Deviation of a Discrete
Random Variable
The definition of the variance of a random variable is similar to
the definition of the variance for a set of quantitative data. To
get the standard deviation of a random variable, take the square
root of the variance.
Suppose that X is a discrete random variable whose
probability distribution is
Value: x1 x2 x3 …
Probability: p1 p2 p3 …
and that µX is the mean of X. The variance of X is
Var(X)  X
2
 (x1 X )2
p1  (x2 X )2
p2  (x3 X )2
p3  ...
 (xi X )2
pi
Example: Apgar Scores – How Variable Are They?
Consider the random variable X = Apgar Score
Compute the standard deviation of the random variable X and
interpret it in context.
Value: 0 1 2 3 4 5 6 7 8 9 10
Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
X
2
 (xi X )2
pi
(08.128)2
(0.001)(18.128)2
(0.006)...(108.128)2
(0.053)
 2.066
The standard deviation of X is 1.437. On average, a randomly
selected baby’s Apgar score will differ from the mean 8.128 by
about 1.4 units.
X  2.066 1.437
Variance
Continuous Random Variable
• A continuous random variable is one which
takes an infinite number of possible values.
• Continuous random variables are usually
measurements.
• Examples:
– height
– weight
– the amount of sugar in an orange
– the time required to run a mile.
Continuous Random Variables
A continuous random variable X takes on all values in an
interval of numbers. The probability distribution of X is
described by a density curve. The probability of any
event is the area under the density curve and above the
values of X that make up the event.
• A continuous random variable is
not defined at specific values.
• Instead, it is defined over an
interval of value; however, you
can calculate the probability of a
range of values.
• It is very similar to z-scores and
normal distribution calculations.
Continuous Random Variables
Example: Young Women’s Heights
The height of young women can be defined as a continuous
random variable (Y) with a probability distribution is N(64,
2.7).
A. What is the probability that a randomly chosen young
woman has height between 68 and 70 inches?
P(68 ≤ Y ≤ 70) = ???
Example: Young Women’s Heights
The height of young women can be defined as a continuous random variable (Y) with a
probability distribution is N(64, 2.7).
A. What is the probability that a randomly chosen young woman has height between
68 and 70 inches?
P(68 ≤ Y ≤ 70) = ???

z 
6864
2.7
1.48

z 
7064
2.7
 2.22
P(1.48 ≤ Z ≤ 2.22) = P(Z ≤ 2.22) – P(Z ≤ 1.48)
= 0.9868 – 0.9306
= 0.0562
There is about a 5.6% chance that a randomly chosen young
woman has a height between 68 and 70 inches.
Example: Young Women’s Heights
The height of young women can be defined as a continuous
random variable (Y) with a probability distribution is N(64,
2.7).
B. At 70 inches tall, is Mrs. Daniel unusually tall?
Example: Young Women’s Heights
The height of young women can be defined as a continuous random variable (Y) with a
probability distribution is N(64, 2.7).
B. At 70 inches tall, is Mrs. Daniel unusually tall?
P(Y ≤ 70) = ???

z 
7064
2.7
 2.22
P value: 0.9868
Yes, Mrs. Daniel is unusually tall because 98.68% of the
population is shorter than her.

More Related Content

What's hot

Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
nszakir
 
The Central Limit Theorem
The Central Limit TheoremThe Central Limit Theorem
The Central Limit Theorem
Long Beach City College
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
Avjinder (Avi) Kaler
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testingjundumaug1
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
Marjorie Rice
 
Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)
Cess011697
 
Chapter 2 understanding the normal curve distribution
Chapter 2   understanding the normal curve distributionChapter 2   understanding the normal curve distribution
Chapter 2 understanding the normal curve distribution
Antonio F. Balatar Jr.
 
Introduction to Statistics and Probability
Introduction to Statistics and ProbabilityIntroduction to Statistics and Probability
Introduction to Statistics and Probability
Bhavana Singh
 
STATISTICS: Normal Distribution
STATISTICS: Normal Distribution STATISTICS: Normal Distribution
STATISTICS: Normal Distribution jundumaug1
 
Statistics and probability
Statistics and probability   Statistics and probability
Statistics and probability
Muhammad Mayo
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
swarna dey
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
Michael Ogoy
 
Continuous probability distribution
Continuous probability distributionContinuous probability distribution
Continuous probability distribution
Habibullah Bahar University College
 
Mean of a discrete random variable.ppt
Mean of a discrete random variable.pptMean of a discrete random variable.ppt
Mean of a discrete random variable.ppt
ccooking
 
T distribution
T distributionT distribution
T distribution
Stephan Jade Navarro
 
The sampling distribution
The sampling distributionThe sampling distribution
The sampling distributionHarve Abella
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
mathscontent
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
nszakir
 

What's hot (20)

Probability and statistics
Probability and statisticsProbability and statistics
Probability and statistics
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
 
The Central Limit Theorem
The Central Limit TheoremThe Central Limit Theorem
The Central Limit Theorem
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)
 
Chapter 2 understanding the normal curve distribution
Chapter 2   understanding the normal curve distributionChapter 2   understanding the normal curve distribution
Chapter 2 understanding the normal curve distribution
 
Introduction to Statistics and Probability
Introduction to Statistics and ProbabilityIntroduction to Statistics and Probability
Introduction to Statistics and Probability
 
STATISTICS: Normal Distribution
STATISTICS: Normal Distribution STATISTICS: Normal Distribution
STATISTICS: Normal Distribution
 
Statistics and probability
Statistics and probability   Statistics and probability
Statistics and probability
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
 
Continuous probability distribution
Continuous probability distributionContinuous probability distribution
Continuous probability distribution
 
Mean of a discrete random variable.ppt
Mean of a discrete random variable.pptMean of a discrete random variable.ppt
Mean of a discrete random variable.ppt
 
T distribution
T distributionT distribution
T distribution
 
The sampling distribution
The sampling distributionThe sampling distribution
The sampling distribution
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 

Similar to Discrete and Continuous Random Variables

Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
Long Beach City College
 
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
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
BhartiYadav316049
 
STATISTICS - LESSON no 1 - MIDTERM-2.pdf
STATISTICS - LESSON no 1 - MIDTERM-2.pdfSTATISTICS - LESSON no 1 - MIDTERM-2.pdf
STATISTICS - LESSON no 1 - MIDTERM-2.pdf
XhanderMacanas
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
Nilanjan Bhaumik
 
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt pptGROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
ZainUlAbedin85
 
Chapter-6-Random Variables & Probability distributions-3.doc
Chapter-6-Random Variables & Probability distributions-3.docChapter-6-Random Variables & Probability distributions-3.doc
Chapter-6-Random Variables & Probability distributions-3.doc
Desalechali1
 
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
 
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Daniel Katz
 
Random variable
Random variable Random variable
Random variable
JalilAlih
 
Random variable
Random variableRandom variable
Random variable
JalilAlih
 
Random variables and probability distributions Random Va.docx
Random variables and probability distributions Random Va.docxRandom variables and probability distributions Random Va.docx
Random variables and probability distributions Random Va.docx
catheryncouper
 
Lecture 4 The Normal Distribution.pptx
Lecture 4 The Normal Distribution.pptxLecture 4 The Normal Distribution.pptx
Lecture 4 The Normal Distribution.pptx
shakirRahman10
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
Long Beach City College
 
Guia de estudio para aa5
Guia de estudio  para aa5 Guia de estudio  para aa5
Guia de estudio para aa5
Doris Diaz Flores
 
Mrbml004 : Introduction to Information Theory for Machine Learning
Mrbml004 : Introduction to Information Theory for Machine LearningMrbml004 : Introduction to Information Theory for Machine Learning
Mrbml004 : Introduction to Information Theory for Machine Learning
Jaouad Dabounou
 
lecture4.ppt
lecture4.pptlecture4.ppt
lecture4.ppt
Anbalagan G.
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
Babasab Patil
 

Similar to Discrete and Continuous Random Variables (20)

Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
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
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
 
STATISTICS - LESSON no 1 - MIDTERM-2.pdf
STATISTICS - LESSON no 1 - MIDTERM-2.pdfSTATISTICS - LESSON no 1 - MIDTERM-2.pdf
STATISTICS - LESSON no 1 - MIDTERM-2.pdf
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
 
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt pptGROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
GROUP 4 IT-A.pptx ptttt ppt ppt ppt ppt ppt ppt
 
Chapter-6-Random Variables & Probability distributions-3.doc
Chapter-6-Random Variables & Probability distributions-3.docChapter-6-Random Variables & Probability distributions-3.doc
Chapter-6-Random Variables & Probability distributions-3.doc
 
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
 
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
 
Random variable
Random variable Random variable
Random variable
 
Random variable
Random variableRandom variable
Random variable
 
Random variables and probability distributions Random Va.docx
Random variables and probability distributions Random Va.docxRandom variables and probability distributions Random Va.docx
Random variables and probability distributions Random Va.docx
 
Lecture 4 The Normal Distribution.pptx
Lecture 4 The Normal Distribution.pptxLecture 4 The Normal Distribution.pptx
Lecture 4 The Normal Distribution.pptx
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Guia de estudio para aa5
Guia de estudio  para aa5 Guia de estudio  para aa5
Guia de estudio para aa5
 
Stats chapter 7
Stats chapter 7Stats chapter 7
Stats chapter 7
 
Mrbml004 : Introduction to Information Theory for Machine Learning
Mrbml004 : Introduction to Information Theory for Machine LearningMrbml004 : Introduction to Information Theory for Machine Learning
Mrbml004 : Introduction to Information Theory for Machine Learning
 
lecture4.ppt
lecture4.pptlecture4.ppt
lecture4.ppt
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 

More from Cumberland County Schools

2-SampZTest: Comparing Two Means Using the TI-84
2-SampZTest: Comparing Two Means Using the TI-842-SampZTest: Comparing Two Means Using the TI-84
2-SampZTest: Comparing Two Means Using the TI-84
Cumberland County Schools
 
CI for Difference of Proportions
CI for Difference of ProportionsCI for Difference of Proportions
CI for Difference of Proportions
Cumberland County Schools
 
Sampling Distributions FRQ Review
Sampling Distributions FRQ ReviewSampling Distributions FRQ Review
Sampling Distributions FRQ Review
Cumberland County Schools
 
Sampling Distribution
Sampling DistributionSampling Distribution
Sampling Distribution
Cumberland County Schools
 
Module 4 Review
Module 4 ReviewModule 4 Review
Module 4 Review
Cumberland County Schools
 
Ap Stats 4.1 Samples & Surveys
Ap Stats 4.1 Samples & SurveysAp Stats 4.1 Samples & Surveys
Ap Stats 4.1 Samples & Surveys
Cumberland County Schools
 
Scatterplots - LSRLs - RESIDs
Scatterplots - LSRLs - RESIDsScatterplots - LSRLs - RESIDs
Scatterplots - LSRLs - RESIDs
Cumberland County Schools
 
M3 l3
M3 l3M3 l3
Module 2 lesson 3 notes
Module 2 lesson 3 notesModule 2 lesson 3 notes
Module 2 lesson 3 notes
Cumberland County Schools
 
Graphical Displays of Data
Graphical Displays of DataGraphical Displays of Data
Graphical Displays of Data
Cumberland County Schools
 

More from Cumberland County Schools (10)

2-SampZTest: Comparing Two Means Using the TI-84
2-SampZTest: Comparing Two Means Using the TI-842-SampZTest: Comparing Two Means Using the TI-84
2-SampZTest: Comparing Two Means Using the TI-84
 
CI for Difference of Proportions
CI for Difference of ProportionsCI for Difference of Proportions
CI for Difference of Proportions
 
Sampling Distributions FRQ Review
Sampling Distributions FRQ ReviewSampling Distributions FRQ Review
Sampling Distributions FRQ Review
 
Sampling Distribution
Sampling DistributionSampling Distribution
Sampling Distribution
 
Module 4 Review
Module 4 ReviewModule 4 Review
Module 4 Review
 
Ap Stats 4.1 Samples & Surveys
Ap Stats 4.1 Samples & SurveysAp Stats 4.1 Samples & Surveys
Ap Stats 4.1 Samples & Surveys
 
Scatterplots - LSRLs - RESIDs
Scatterplots - LSRLs - RESIDsScatterplots - LSRLs - RESIDs
Scatterplots - LSRLs - RESIDs
 
M3 l3
M3 l3M3 l3
M3 l3
 
Module 2 lesson 3 notes
Module 2 lesson 3 notesModule 2 lesson 3 notes
Module 2 lesson 3 notes
 
Graphical Displays of Data
Graphical Displays of DataGraphical Displays of Data
Graphical Displays of Data
 

Recently uploaded

How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 

Recently uploaded (20)

How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 

Discrete and Continuous Random Variables

  • 2. Section 6.1 Discrete & Continuous Random Variables After this section, you should be able to… APPLY the concept of discrete random variables to a variety of statistical settings CALCULATE and INTERPRET the mean (expected value) of a discrete random variable CALCULATE and INTERPRET the standard deviation (and variance) of a discrete random variable DESCRIBE continuous random variables
  • 3. Random Variables • A random variable, usually written as X, is a variable whose possible values are numerical outcomes of a random phenomenon. • There are two types of random variables, discrete random variables and continuous random variables.
  • 4. Discrete Random Variables • A discrete random variable is one which may take on only a countable number of distinct values such as 0, 1, 2, 3, 4,.... • Discrete random variables are usually (but not necessarily) counts. • Examples: • number of children in a family • the Friday night attendance at a cinema • the number of patients a doctor sees in one day • the number of defective light bulbs in a box of ten • the number of “heads” flipped in 3 trials
  • 5. Consider tossing a fair coin 3 times. Define X = the number of heads obtained X = 0: TTT X = 1: HTT THT TTH X = 2: HHT HTH THH X = 3: HHH Value 0 1 2 3 Probability 1/8 3/8 3/8 1/8 The probability distribution of a discrete random variable is a list of probabilities associated with each of its possible values Probability Distribution
  • 6. If you roll a pair of dice and record the sum for each trial, after an infinite number of times, your distribution will approximate the probability distribution on the next slide. Rolling Dice: Probability Distribution
  • 7.
  • 8. Discrete Random Variables A discrete random variable X takes a fixed set of possible values with gaps between. The probability distribution of a discrete random variable X lists the values xi and their probabilities pi: Value: x1 x2 x3 … Probability: p1 p2 p3 … The probabilities pi must satisfy two requirements: 1. Every probability pi is a number between 0 and 1. 2. The sum of the probabilities is 1. To find the probability of any event, add the probabilities pi of the particular values xi that make up the event.
  • 9. Describing the (Probability) Distribution When analyzing discrete random variables, we’ll follow the same strategy we used with quantitative data – describe the shape, center (mean), and spread (standard deviation), and identify any outliers.
  • 10. Example: Babies’ Health at Birth Background details are on page 343. (a)Show that the probability distribution for X is legitimate. (b)Make a histogram of the probability distribution. Describe what you see. (c)Apgar scores of 7 or higher indicate a healthy baby. What is P(X ≥ 7)? Value: 0 1 2 3 4 5 6 7 8 9 10 Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
  • 11. Example: Babies’ Health at Birth Background details are on page 343. (a)Show that the probability distribution for X is legitimate. (b)Make a histogram of the probability distribution. Describe the distribution. (c)Apgar scores of 7 or higher indicate a healthy baby. What is P(X ≥ 7)? (a) All probabilities are between 0 and 1 and the probabilities sum to 1. This is a legitimate probability distribution. Value: 0 1 2 3 4 5 6 7 8 9 10 Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
  • 12. Example: Babies’ Health at Birth b. Make a histogram of the probability distribution. Describe what you see. c. Apgar scores of 7 or higher indicate a healthy baby. What is P(X ≥ 7)? (b) The left-skewed shape of the distribution suggests a randomly selected newborn will have an Apgar score at the high end of the scale. While the range is from 0 to 10, there is a VERY small chance of getting a baby with a score of 5 or lower. There are no obvious outliers. The center of the distribution is approximately 8. (c) P(X ≥ 7) = .908 We’d have a 91 % chance of randomly choosing a healthy baby. Value: 0 1 2 3 4 5 6 7 8 9 10 Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053
  • 13. Mean of a Discrete Random Variable The mean of any discrete random variable is an average of the possible outcomes, with each outcome weighted by its probability. Suppose that X is a discrete random variable whose probability distribution is Value: x1 x2 x3 … Probability: p1 p2 p3 … To find the mean (expected value) of X, multiply each possible value by its probability, then add all the products: x  E(X)  x1p1  x2 p2  x3 p3  ...  xi pi
  • 14. Example: Apgar Scores – What’s Typical? Consider the random variable X = Apgar Score Compute the mean of the random variable X and interpret it in context. Value: 0 1 2 3 4 5 6 7 8 9 10 Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053  x  E(X)  xi pi
  • 15. Example: Apgar Scores – What’s Typical? Consider the random variable X = Apgar Score Compute the mean of the random variable X and interpret it in context. Value: 0 1 2 3 4 5 6 7 8 9 10 Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053 x  E(X)  xi pi  (0)(0.001)(1)(0.006)(2)(0.007)...(10)(0.053)   8.128 The mean Apgar score of a randomly selected newborn is 8.128. This is the long-term average Agar score of many, many randomly chosen babies. Note: The expected value does not need to be a possible value of X or an integer! It is a long-term average over many repetitions.
  • 16. Standard Deviation of a Discrete Random Variable The definition of the variance of a random variable is similar to the definition of the variance for a set of quantitative data. To get the standard deviation of a random variable, take the square root of the variance. Suppose that X is a discrete random variable whose probability distribution is Value: x1 x2 x3 … Probability: p1 p2 p3 … and that µX is the mean of X. The variance of X is Var(X)  X 2  (x1 X )2 p1  (x2 X )2 p2  (x3 X )2 p3  ...  (xi X )2 pi
  • 17. Example: Apgar Scores – How Variable Are They? Consider the random variable X = Apgar Score Compute the standard deviation of the random variable X and interpret it in context. Value: 0 1 2 3 4 5 6 7 8 9 10 Probability: 0.001 0.006 0.007 0.008 0.012 0.020 0.038 0.099 0.319 0.437 0.053 X 2  (xi X )2 pi (08.128)2 (0.001)(18.128)2 (0.006)...(108.128)2 (0.053)  2.066 The standard deviation of X is 1.437. On average, a randomly selected baby’s Apgar score will differ from the mean 8.128 by about 1.4 units. X  2.066 1.437 Variance
  • 18. Continuous Random Variable • A continuous random variable is one which takes an infinite number of possible values. • Continuous random variables are usually measurements. • Examples: – height – weight – the amount of sugar in an orange – the time required to run a mile.
  • 19. Continuous Random Variables A continuous random variable X takes on all values in an interval of numbers. The probability distribution of X is described by a density curve. The probability of any event is the area under the density curve and above the values of X that make up the event.
  • 20. • A continuous random variable is not defined at specific values. • Instead, it is defined over an interval of value; however, you can calculate the probability of a range of values. • It is very similar to z-scores and normal distribution calculations. Continuous Random Variables
  • 21. Example: Young Women’s Heights The height of young women can be defined as a continuous random variable (Y) with a probability distribution is N(64, 2.7). A. What is the probability that a randomly chosen young woman has height between 68 and 70 inches? P(68 ≤ Y ≤ 70) = ???
  • 22. Example: Young Women’s Heights The height of young women can be defined as a continuous random variable (Y) with a probability distribution is N(64, 2.7). A. What is the probability that a randomly chosen young woman has height between 68 and 70 inches? P(68 ≤ Y ≤ 70) = ???  z  6864 2.7 1.48  z  7064 2.7  2.22 P(1.48 ≤ Z ≤ 2.22) = P(Z ≤ 2.22) – P(Z ≤ 1.48) = 0.9868 – 0.9306 = 0.0562 There is about a 5.6% chance that a randomly chosen young woman has a height between 68 and 70 inches.
  • 23. Example: Young Women’s Heights The height of young women can be defined as a continuous random variable (Y) with a probability distribution is N(64, 2.7). B. At 70 inches tall, is Mrs. Daniel unusually tall?
  • 24. Example: Young Women’s Heights The height of young women can be defined as a continuous random variable (Y) with a probability distribution is N(64, 2.7). B. At 70 inches tall, is Mrs. Daniel unusually tall? P(Y ≤ 70) = ???  z  7064 2.7  2.22 P value: 0.9868 Yes, Mrs. Daniel is unusually tall because 98.68% of the population is shorter than her.