SlideShare a Scribd company logo
1 of 19
1Slide
Random Variables
Definition & Example
 Definition: A random variable is a quantity resulting from a
random experiment that, by chance, can assume different values.
 Example: Consider a random experiment in which a coin is
tossed three times. Let X be the number of heads. Let H
represent the outcome of a head and T the outcome of a tail.
2Slide
 The sample space for such an experiment will be: TTT, TTH,
THT, THH, HTT, HTH, HHT, HHH.
 Thus the possible values of X (number of heads) are X = 0, 1, 2,
3.
 This association is shown in the next slide.
 Note: In this experiment, there are 8 possible outcomes in the
sample space. Since they are all equally likely to occur, each
outcome has a probability of 1/8 of occurring.
Example (Continued)
3Slide
TTT
TTH
THT
THH
HTT
HTH
HHT
HHH
0
1
1
2
1
2
2
3
Sample
Space
X
Example (Continued)
4Slide
 The outcome of zero heads occurred only once.
 The outcome of one head occurred three times.
 The outcome of two heads occurred three times.
 The outcome of three heads occurred only once.
 From the definition of a random variable, X as defined in
this experiment, is a random variable.
 X values are determined by the outcomes of the experiment.
Example (Continued)
5Slide
Let x = number of TVs sold at the store in one day,
where x can take on 5 values (0, 1, 2, 3, 4)
Example: JSL Appliances
 Discrete random variable with a finite number
of values
6Slide
Let x = number of customers arriving in one day,
where x can take on the values 0, 1, 2, . . .
Example: JSL Appliances
 Discrete random variable with an infinite sequence
of values
We can count the customers arriving, but there is no
finite upper limit on the number that might arrive.
7Slide
Probability Distribution: Definition
 Definition: A probability distribution is a listing of all the
outcomes of an experiment and their associated probabilities.
 The probability distribution for the random variable X
(number of heads) in tossing a coin three times is shown next.
8Slide
Probability Distribution for Three Tosses of a Coin
9Slide
RANDOM VARIABLE
.10
.20
.30
.40
0 1 2 3 4
 Random Variables
 Discrete Probability Distributions
10Slide
Discrete Random Variable
Examples
Experiment Random
Variable
Possible
Values
Make 100 sales calls # Sales 0, 1, 2, ..., 100
Inspect 70 radios # Defective 0, 1, 2, ..., 70
Answer 33 questions # Correct 0, 1, 2, ..., 33
Count cars at toll
between 11:00 & 1:00
# Cars
arriving
0, 1, 2, ..., 
11Slide
The probability distribution for a random variable
describes how probabilities are distributed over
the values of the random variable.
We can describe a discrete probability distribution
with a table, graph, or equation.
Discrete Probability Distributions
12Slide
The probability distribution is defined by a
probability function, denoted by f(x), which provides
the probability for each value of the random variable.
The required conditions for a discrete probability
function are:
Discrete Probability Distributions
f(x) > 0
f(x) = 1
P(X) ≥ 0
ΣP(X) = 1
13Slide
 a tabular representation of the probability
distribution for TV sales was developed.
 Using past data on TV sales, …
Number
Units Sold of Days
0 80
1 50
2 40
3 10
4 20
200
x f(x)
0 .40
1 .25
2 .20
3 .05
4 .10
1.00
80/200
Discrete Probability Distributions
Example
14Slide
.10
.20
.30
.40
.50
0 1 2 3 4
Values of Random Variable x (TV sales)
Probability
Discrete Probability Distributions
 Graphical Representation of Probability Distribution
15Slide
Discrete Probability Distributions
 As we said, the probability distribution of a discrete
random variable is a table, graph, or formula that
gives the probability associated with each possible
value that the variable can assume.
Example : Number of Radios Sold at
Sound City in a Week
x, Radios p(x), Probability
0 p(0) = 0.03
1 p(1) = 0.20
2 p(2) = 0.50
3 p(3) = 0.20
4 p(4) = 0.05
5 p(5) = 0.02
16Slide
Expected Value of a Discrete Random Variable
 The mean or expected value of a discrete random
variable is:

xAll
X xxp )(
Example: Expected Number of Radios Sold in a Week
x, Radios p(x), Probability x p(x)
0 p(0) = 0.03 0(0.03) = 0.00
1 p(1) = 0.20 1(0.20) = 0.20
2 p(2) = 0.50 2(0.50) = 1.00
3 p(3) = 0.20 3(0.20) = 0.60
4 p(4) = 0.05 4(0.05) = 0.20
5 p(5) = 0.02 5(0.02) = 0.10
1.00 2.10
17Slide
Variance and Standard Deviation
 The variance of a discrete random variable is:
 
xAll
XX xpx )()( 22

2
XX  
 The standard deviation is the square root of the variance.
18Slide
Example: Variance and Standard Deviation of the Number of
Radios Sold in a Week
x, Radios p(x), Probability (x - X)2 p(x)
0 p(0) = 0.03 (0 – 2.1)2 (0.03) = 0.1323
1 p(1) = 0.20 (1 – 2.1)2 (0.20) = 0.2420
2 p(2) = 0.50 (2 – 2.1)2 (0.50) = 0.0050
3 p(3) = 0.20 (3 – 2.1)2 (0.20) = 0.1620
4 p(4) = 0.05 (4 – 2.1)2 (0.05) = 0.1805
5 p(5) = 0.02 (5 – 2.1)2 (0.02) = 0.1682
1.00 0.8900
89.02
X
Variance
9434.089.0 X
Standard deviation
Variance and Standard Deviation
µx = 2.10
19Slide
Expected Value and Variance (Summary)
The expected value, or mean, of a random variable
is a measure of its central location.
The variance summarizes the variability in the
values of a random variable.
The standard deviation, , is defined as the positive
square root of the variance.
Var(x) =  2 = (x - )2f(x)
E(x) =  = xf(x)

More Related Content

What's hot

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 VariableMichael Ogoy
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributionsmandalina landy
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variablesnszakir
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testingjundumaug1
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variablesmathscontent
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)ISYousafzai
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distributionAnindya Jana
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDataminingTools Inc
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Meannszakir
 
Probability Density Function (PDF)
Probability Density Function (PDF)Probability Density Function (PDF)
Probability Density Function (PDF)AakankshaR
 
Probability Distribution
Probability DistributionProbability Distribution
Probability DistributionSagar Khairnar
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variablesHadley Wickham
 
Probability distribution
Probability distributionProbability distribution
Probability distributionPunit Raut
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notesRohan Bhatkar
 
Expectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.pptExpectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.pptAlyasarJabbarli
 

What's hot (20)

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
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variables
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
 
Continuous probability distribution
Continuous probability distributionContinuous probability distribution
Continuous probability distribution
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Mean
 
Probability Density Function (PDF)
Probability Density Function (PDF)Probability Density Function (PDF)
Probability Density Function (PDF)
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variables
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notes
 
Expectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.pptExpectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.ppt
 

Similar to 5 random variables

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 DistributionApril Palmes
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2Nilanjan Bhaumik
 
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptxRYANCENRIQUEZ
 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributionsAntonio F. Balatar Jr.
 
Statistik Chapter 4
Statistik Chapter 4Statistik Chapter 4
Statistik Chapter 4WanBK Leo
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for DummiesBalaji P
 
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)jemille6
 
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 pptZainUlAbedin85
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritSelvin Hadi
 
Probability theory discrete probability distribution
Probability theory discrete probability distributionProbability theory discrete probability distribution
Probability theory discrete probability distributionsamarthpawar9890
 
Random variables
Random variablesRandom variables
Random variablesMenglinLiu1
 
02-Random Variables.ppt
02-Random Variables.ppt02-Random Variables.ppt
02-Random Variables.pptAkliluAyele3
 
Unit2.Lesson1.pptx
Unit2.Lesson1.pptxUnit2.Lesson1.pptx
Unit2.Lesson1.pptxFrankEsolan
 
Constructing Probability Distribution.pptx
Constructing Probability Distribution.pptxConstructing Probability Distribution.pptx
Constructing Probability Distribution.pptxTedsTV
 

Similar to 5 random variables (20)

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
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
 
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx2 DISCRETE PROBABILITY DISTRIBUTION.pptx
2 DISCRETE PROBABILITY DISTRIBUTION.pptx
 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributions
 
Chapter7
Chapter7Chapter7
Chapter7
 
U unit7 ssb
U unit7 ssbU unit7 ssb
U unit7 ssb
 
Statistik Chapter 4
Statistik Chapter 4Statistik Chapter 4
Statistik Chapter 4
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
 
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
 
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
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
 
Probability theory discrete probability distribution
Probability theory discrete probability distributionProbability theory discrete probability distribution
Probability theory discrete probability distribution
 
Random variables
Random variablesRandom variables
Random variables
 
Probability Recap
Probability RecapProbability Recap
Probability Recap
 
02-Random Variables.ppt
02-Random Variables.ppt02-Random Variables.ppt
02-Random Variables.ppt
 
Unit2.Lesson1.pptx
Unit2.Lesson1.pptxUnit2.Lesson1.pptx
Unit2.Lesson1.pptx
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Ch5
Ch5Ch5
Ch5
 
Probability Theory 9
Probability Theory 9Probability Theory 9
Probability Theory 9
 
Constructing Probability Distribution.pptx
Constructing Probability Distribution.pptxConstructing Probability Distribution.pptx
Constructing Probability Distribution.pptx
 

More from Zahida Pervaiz

More from Zahida Pervaiz (20)

coffee tea & company
coffee tea & company coffee tea & company
coffee tea & company
 
International marketing analysis
International marketing analysisInternational marketing analysis
International marketing analysis
 
learning Management system
learning Management systemlearning Management system
learning Management system
 
Sunny vale foods inc
Sunny vale foods inc Sunny vale foods inc
Sunny vale foods inc
 
Publisher topic 7
Publisher topic 7Publisher topic 7
Publisher topic 7
 
1st lecture basics of visio
1st lecture  basics of visio1st lecture  basics of visio
1st lecture basics of visio
 
2nd topic stencil and data linkage
2nd topic stencil and data linkage2nd topic stencil and data linkage
2nd topic stencil and data linkage
 
3rd topic creating flowchart and calendar
3rd topic creating flowchart and calendar3rd topic creating flowchart and calendar
3rd topic creating flowchart and calendar
 
Lecture no 6
Lecture no 6Lecture no 6
Lecture no 6
 
Publisher lec 5
Publisher lec 5Publisher lec 5
Publisher lec 5
 
Publisher lec 4
Publisher lec 4Publisher lec 4
Publisher lec 4
 
Publisher lec 3
Publisher lec 3Publisher lec 3
Publisher lec 3
 
Publisher lec 2
Publisher lec 2Publisher lec 2
Publisher lec 2
 
Publisher topic 1
Publisher topic 1Publisher topic 1
Publisher topic 1
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution good
 
Probability theory good
Probability theory goodProbability theory good
Probability theory good
 
after 20 years
after 20 yearsafter 20 years
after 20 years
 
Review writing
Review writing Review writing
Review writing
 
Tourism in pakistan
Tourism in pakistanTourism in pakistan
Tourism in pakistan
 
Presentation1
Presentation1Presentation1
Presentation1
 

5 random variables

  • 1. 1Slide Random Variables Definition & Example  Definition: A random variable is a quantity resulting from a random experiment that, by chance, can assume different values.  Example: Consider a random experiment in which a coin is tossed three times. Let X be the number of heads. Let H represent the outcome of a head and T the outcome of a tail.
  • 2. 2Slide  The sample space for such an experiment will be: TTT, TTH, THT, THH, HTT, HTH, HHT, HHH.  Thus the possible values of X (number of heads) are X = 0, 1, 2, 3.  This association is shown in the next slide.  Note: In this experiment, there are 8 possible outcomes in the sample space. Since they are all equally likely to occur, each outcome has a probability of 1/8 of occurring. Example (Continued)
  • 4. 4Slide  The outcome of zero heads occurred only once.  The outcome of one head occurred three times.  The outcome of two heads occurred three times.  The outcome of three heads occurred only once.  From the definition of a random variable, X as defined in this experiment, is a random variable.  X values are determined by the outcomes of the experiment. Example (Continued)
  • 5. 5Slide Let x = number of TVs sold at the store in one day, where x can take on 5 values (0, 1, 2, 3, 4) Example: JSL Appliances  Discrete random variable with a finite number of values
  • 6. 6Slide Let x = number of customers arriving in one day, where x can take on the values 0, 1, 2, . . . Example: JSL Appliances  Discrete random variable with an infinite sequence of values We can count the customers arriving, but there is no finite upper limit on the number that might arrive.
  • 7. 7Slide Probability Distribution: Definition  Definition: A probability distribution is a listing of all the outcomes of an experiment and their associated probabilities.  The probability distribution for the random variable X (number of heads) in tossing a coin three times is shown next.
  • 8. 8Slide Probability Distribution for Three Tosses of a Coin
  • 9. 9Slide RANDOM VARIABLE .10 .20 .30 .40 0 1 2 3 4  Random Variables  Discrete Probability Distributions
  • 10. 10Slide Discrete Random Variable Examples Experiment Random Variable Possible Values Make 100 sales calls # Sales 0, 1, 2, ..., 100 Inspect 70 radios # Defective 0, 1, 2, ..., 70 Answer 33 questions # Correct 0, 1, 2, ..., 33 Count cars at toll between 11:00 & 1:00 # Cars arriving 0, 1, 2, ..., 
  • 11. 11Slide The probability distribution for a random variable describes how probabilities are distributed over the values of the random variable. We can describe a discrete probability distribution with a table, graph, or equation. Discrete Probability Distributions
  • 12. 12Slide The probability distribution is defined by a probability function, denoted by f(x), which provides the probability for each value of the random variable. The required conditions for a discrete probability function are: Discrete Probability Distributions f(x) > 0 f(x) = 1 P(X) ≥ 0 ΣP(X) = 1
  • 13. 13Slide  a tabular representation of the probability distribution for TV sales was developed.  Using past data on TV sales, … Number Units Sold of Days 0 80 1 50 2 40 3 10 4 20 200 x f(x) 0 .40 1 .25 2 .20 3 .05 4 .10 1.00 80/200 Discrete Probability Distributions Example
  • 14. 14Slide .10 .20 .30 .40 .50 0 1 2 3 4 Values of Random Variable x (TV sales) Probability Discrete Probability Distributions  Graphical Representation of Probability Distribution
  • 15. 15Slide Discrete Probability Distributions  As we said, the probability distribution of a discrete random variable is a table, graph, or formula that gives the probability associated with each possible value that the variable can assume. Example : Number of Radios Sold at Sound City in a Week x, Radios p(x), Probability 0 p(0) = 0.03 1 p(1) = 0.20 2 p(2) = 0.50 3 p(3) = 0.20 4 p(4) = 0.05 5 p(5) = 0.02
  • 16. 16Slide Expected Value of a Discrete Random Variable  The mean or expected value of a discrete random variable is:  xAll X xxp )( Example: Expected Number of Radios Sold in a Week x, Radios p(x), Probability x p(x) 0 p(0) = 0.03 0(0.03) = 0.00 1 p(1) = 0.20 1(0.20) = 0.20 2 p(2) = 0.50 2(0.50) = 1.00 3 p(3) = 0.20 3(0.20) = 0.60 4 p(4) = 0.05 4(0.05) = 0.20 5 p(5) = 0.02 5(0.02) = 0.10 1.00 2.10
  • 17. 17Slide Variance and Standard Deviation  The variance of a discrete random variable is:   xAll XX xpx )()( 22  2 XX    The standard deviation is the square root of the variance.
  • 18. 18Slide Example: Variance and Standard Deviation of the Number of Radios Sold in a Week x, Radios p(x), Probability (x - X)2 p(x) 0 p(0) = 0.03 (0 – 2.1)2 (0.03) = 0.1323 1 p(1) = 0.20 (1 – 2.1)2 (0.20) = 0.2420 2 p(2) = 0.50 (2 – 2.1)2 (0.50) = 0.0050 3 p(3) = 0.20 (3 – 2.1)2 (0.20) = 0.1620 4 p(4) = 0.05 (4 – 2.1)2 (0.05) = 0.1805 5 p(5) = 0.02 (5 – 2.1)2 (0.02) = 0.1682 1.00 0.8900 89.02 X Variance 9434.089.0 X Standard deviation Variance and Standard Deviation µx = 2.10
  • 19. 19Slide Expected Value and Variance (Summary) The expected value, or mean, of a random variable is a measure of its central location. The variance summarizes the variability in the values of a random variable. The standard deviation, , is defined as the positive square root of the variance. Var(x) =  2 = (x - )2f(x) E(x) =  = xf(x)