SlideShare a Scribd company logo
1 of 10
* A random variable is a rule that assigns one value to
each point in a sample space for an experiment.
* A random variable can be classified as discrete or
continuous depending on the numerical values
it assumes.
1. A discrete random variable may assume either finite
or infinite sequence of values.
2. A continuous random variable may assume any
numerical in an interval or collection of interval.
1. number of children in a family
2. Friday night attendance at a cinema
3. number of patients in a doctor's surgery
4. number of defective light bulbs in a box of ten.
1. height of students in class
2. weight of students in class
3. time it takes to get to school
4. distance traveled between classes
Consider an experiment of tossing a coin three times.
S = {HHH, HHT, HTT, HTH, THT, THH, TTH, TTT}
Let X assign to each sample point on S the total
number of head occurs. Then X is random variable
with range space Rx = { 0, 1, 2, 3}, since range space is
finite, X, is a discrete random variable.
union
GIRL
BOY
GIRL
BOY
BOY
GIRL
Couple plans to have 2 children. The random
circumstance includes the 2 births, specifically the sexes of
the 2 children. Let X assign to each sample point on S the
number of girls.
S = {BB, BG, GB, GG}
X is a random variable
with range Rx = {0, 1, 2},
since Rx is finite X is a
discrete random variable.
If X is a random variable, the function given by
f(x) = P [ X = x ] for each X within the range of X is called
the probability mass function (pmf ) of X.
A function can serve as probability mass function of a
discrete random variable X if and only if its values f(x),
satisfies the following conditions:
1. f(x)  0 for all values of x;
2.  of all f(x) is equal to 1.
To express the probability mass function, we will
construct a table that exhibits the correspondence between
the values of random variables and the associated
probabilities.
Consider example # 1. The experiment consisting of
three tosses of a coin, assume that all 8 outcomes are
equally likely then the probability mass function for the
total number of heads is:
X 0 1 2 3
f(X) 1/8 3/8 3/8 1/8
To show that is a probability mass
function (pmf):
Condition 1:
Notice that all f(x) are all greater than
or equal to zero ;
Condition 2:
The sum of all f(x) is 1, that is:
1/8 + 3/8 + 3/8 + 1/8 = 1.
Referring to example # 2.
The experiment on the plan of the couple who wanted
to have two children. There are 6 possible outcomes
belonging to the sample space S. Let X assign to each sample
point on S the number of girls.
X is a random variable defined by a function f(x) = P [
X =x ], thus it would be a (pmf) such that:
x 0 1 2
f(x) ¼ ½ ¼
Condition 1 is satisfied:
for all f(x) it is greater than or equal to zero;
Condition 2 is satisfied:
the sum of all f(x) is equal to 1, that is
 (f (x)) = ¼ + ½ + ¼
= 1.
random variables-ict lesson 4

More Related Content

Viewers also liked

Intro probability 1
Intro probability 1Intro probability 1
Intro probability 1Phong Vo
 
Intro probability 2
Intro probability 2Intro probability 2
Intro probability 2Phong Vo
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variablesRohan Bhatkar
 
Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009ayimsevenfold
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variablesnszakir
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variablesHadley Wickham
 

Viewers also liked (10)

Stat11t chapter1
Stat11t chapter1Stat11t chapter1
Stat11t chapter1
 
Presentasi variabel random
Presentasi variabel randomPresentasi variabel random
Presentasi variabel random
 
5 random variables
5 random variables5 random variables
5 random variables
 
Intro probability 1
Intro probability 1Intro probability 1
Intro probability 1
 
Intro probability 2
Intro probability 2Intro probability 2
Intro probability 2
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
 
Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variables
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to random variables-ict lesson 4

CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxJaysonMagalong
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptBhartiYadav316049
 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfAbegailPanang2
 
LC no 1.1_Statistics.pptx
LC no 1.1_Statistics.pptxLC no 1.1_Statistics.pptx
LC no 1.1_Statistics.pptxEmDee16
 
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.
 
1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environmentBob Marcus
 
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
 
Random variables
Random variablesRandom variables
Random variablesMenglinLiu1
 
Random Variables and Distributions
Random Variables and DistributionsRandom Variables and Distributions
Random Variables and Distributionshussein zayed
 
Random variables and probability distributions
Random variables and probability distributionsRandom variables and probability distributions
Random variables and probability distributionsAntonio F. Balatar Jr.
 
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.pptxssuser1eba67
 
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...elistemidayo
 
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.pdfnomovi6416
 
Probability Basic
Probability BasicProbability Basic
Probability BasicCosta012
 
Expectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.pptExpectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.pptAlyasarJabbarli
 
random variables and probabilty distribution
random variables and probabilty distributionrandom variables and probabilty distribution
random variables and probabilty distributionCarloTrocio1
 

Similar to random variables-ict lesson 4 (20)

CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptx
 
Ch5
Ch5Ch5
Ch5
 
U unit7 ssb
U unit7 ssbU unit7 ssb
U unit7 ssb
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdf
 
LC no 1.1_Statistics.pptx
LC no 1.1_Statistics.pptxLC no 1.1_Statistics.pptx
LC no 1.1_Statistics.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
 
1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment1979 Optimal diffusions in a random environment
1979 Optimal diffusions in a random environment
 
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
 
Random variables
Random variablesRandom variables
Random variables
 
Prob distros
Prob distrosProb distros
Prob distros
 
Random Variables and Distributions
Random Variables and DistributionsRandom Variables and Distributions
Random Variables and Distributions
 
Random variables and probability distributions
Random variables and probability distributionsRandom variables and probability distributions
Random variables and probability distributions
 
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
 
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...understanding-key-concepts-of-probability-and-random-variables-through-exampl...
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
 
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
 
Probability Basic
Probability BasicProbability Basic
Probability Basic
 
Probability
ProbabilityProbability
Probability
 
Expectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.pptExpectation of Discrete Random Variable.ppt
Expectation of Discrete Random Variable.ppt
 
random variables and probabilty distribution
random variables and probabilty distributionrandom variables and probabilty distribution
random variables and probabilty distribution
 

Recently uploaded

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Recently uploaded (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

random variables-ict lesson 4

  • 1. * A random variable is a rule that assigns one value to each point in a sample space for an experiment. * A random variable can be classified as discrete or continuous depending on the numerical values it assumes. 1. A discrete random variable may assume either finite or infinite sequence of values. 2. A continuous random variable may assume any numerical in an interval or collection of interval.
  • 2. 1. number of children in a family 2. Friday night attendance at a cinema 3. number of patients in a doctor's surgery 4. number of defective light bulbs in a box of ten. 1. height of students in class 2. weight of students in class 3. time it takes to get to school 4. distance traveled between classes
  • 3. Consider an experiment of tossing a coin three times. S = {HHH, HHT, HTT, HTH, THT, THH, TTH, TTT} Let X assign to each sample point on S the total number of head occurs. Then X is random variable with range space Rx = { 0, 1, 2, 3}, since range space is finite, X, is a discrete random variable.
  • 4. union GIRL BOY GIRL BOY BOY GIRL Couple plans to have 2 children. The random circumstance includes the 2 births, specifically the sexes of the 2 children. Let X assign to each sample point on S the number of girls. S = {BB, BG, GB, GG} X is a random variable with range Rx = {0, 1, 2}, since Rx is finite X is a discrete random variable.
  • 5. If X is a random variable, the function given by f(x) = P [ X = x ] for each X within the range of X is called the probability mass function (pmf ) of X. A function can serve as probability mass function of a discrete random variable X if and only if its values f(x), satisfies the following conditions: 1. f(x)  0 for all values of x; 2.  of all f(x) is equal to 1.
  • 6. To express the probability mass function, we will construct a table that exhibits the correspondence between the values of random variables and the associated probabilities. Consider example # 1. The experiment consisting of three tosses of a coin, assume that all 8 outcomes are equally likely then the probability mass function for the total number of heads is: X 0 1 2 3 f(X) 1/8 3/8 3/8 1/8
  • 7. To show that is a probability mass function (pmf): Condition 1: Notice that all f(x) are all greater than or equal to zero ; Condition 2: The sum of all f(x) is 1, that is: 1/8 + 3/8 + 3/8 + 1/8 = 1.
  • 8. Referring to example # 2. The experiment on the plan of the couple who wanted to have two children. There are 6 possible outcomes belonging to the sample space S. Let X assign to each sample point on S the number of girls. X is a random variable defined by a function f(x) = P [ X =x ], thus it would be a (pmf) such that: x 0 1 2 f(x) ¼ ½ ¼
  • 9. Condition 1 is satisfied: for all f(x) it is greater than or equal to zero; Condition 2 is satisfied: the sum of all f(x) is equal to 1, that is  (f (x)) = ¼ + ½ + ¼ = 1.