SlideShare a Scribd company logo
1 of 24
Download to read offline
Random Variables and
Distributions
Prepared by : Hussein Zayed
Supervisor : Gamal Farouk
2.1 Random Variables
General definition
A variable whose value is unknown or with a variable value by chance, it is not
fixed to a specific value.
2
Statistical definition
A random variable X is a function that associates each element in the sample
space with a real number (i.e., X : S R.)
Example
A balanced coin is tossed three times, then the sample space consists of eight
possible outcomes. Let X the random variable for the number of heads observed.
3
Sample space ( 2^3) = {HHH,HHT,HTH,HTT,THT,THH,TTH,TTT}
Let X = {0,1,2,3}
X=0 ~ {TTT}
X=1 ~ {HTT , THT , TTH}
X=2 ~ {HHT , HTH , THH}
X=3 ~ {HHH}
2.2 Distributions of Random Variables
4
If X is a random variable, then the distribution of X is the collection of probabilities
P(X ∈ B) for all subsets B of the real numbers.
P(X=0) = ⅛ P(X=1) = ⅜ P(X=2) = ⅜ P(X=3) = ⅛
Sample point (outcomes) Assigned Numerical Value (x) P( X=x )
TTT 0 1/8
THT , TTH , TTH 1 3/8
HHT , HTH , THH 2 3/8
HHH 3 1/8
Types of Random Variables
5
A random variable X is called a discrete random variable if its set of possible
values is countable .
A random variable X is called a continuous random variable if it can take values
on a continuous scale or range.
Discrete x = 5
Continuous 1<=x<5
2.3 Discrete Distributions
6
A discrete random variable X assumes each of its values with a certain probability
Example
7
Experiment: tossing a non-balance coin 2 times independently.
Sample space: S={HH, HT, TH, TT}
Suppose: P(H)=1/2 P(T) P(H)=1/3 P(T)=⅔
Let X= number of heads
8
The possible values of X with their probabilities a
The function f(x)=P(X=x) is called the probability function (probability distribution)
of the discrete random variable X.
8
Discrete distributions include:
▸ Binomial
▸ Degenerate
▸ Poisson
▸ Geo-metric
▸ Hypergeometric
9
2.4 Continuous distribution
10
For any continuous random variable, X, there exists a nonnegative function f(x), called
the probability density function (p.d.f) .
Remember
11
Problem
12
Suppose that the error in the reaction temperature, in C, for a controlled laboratory experiment is a
continuous random variable X having the following probability density function:
𝇇
13
The cumulative distribution function (CDF), F(x), of a discrete random variable X
with the probability function f(x) is given by:
2.5 Cumulative distribution function
(CDF)
14
Find the CDF of the random variable X with the probability function:
Example
15
X 0 1 2
F(x) 10/28 15/28 3/28
16
17
18
The cumulative distribution function (CDF), F(x), of a continuous random
variable X with probability density function f(x) is given by:
2.5 Cumulative distribution function
(CDF)
19
Problem
20
Suppose that the error in the reaction temperature, in C, for a controlled laboratory experiment is a
continuous random variable X having the following probability density function:
𝇇
1.Find the CDF
2.Using the CDF, find P(0<X<=1).
21
22
Team Presentation
23
Hussein zayed
Pre-Mag student
Gamal Farouk
Supervisor
24
THANKS!
Any questions?
You can find me at:
▸ @husseinzayed11
▸ husseinzayed51@gmail.com

More Related Content

What's hot

Discreet and continuous probability
Discreet and continuous probabilityDiscreet and continuous probability
Discreet and continuous probability
nj1992
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)
ISYousafzai
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functions
Ankit Katiyar
 

What's hot (20)

Bernoulli distribution
Bernoulli distributionBernoulli distribution
Bernoulli distribution
 
Discreet and continuous probability
Discreet and continuous probabilityDiscreet and continuous probability
Discreet and continuous probability
 
Continutiy of Functions.ppt
Continutiy of Functions.pptContinutiy of Functions.ppt
Continutiy of Functions.ppt
 
Hypergeometric distribution
Hypergeometric distributionHypergeometric distribution
Hypergeometric distribution
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)
 
Implicit function and Total derivative
Implicit function and Total derivativeImplicit function and Total derivative
Implicit function and Total derivative
 
Random variables and probability distributions
Random variables and probability distributionsRandom variables and probability distributions
Random variables and probability distributions
 
Chebyshev's inequality
Chebyshev's inequalityChebyshev's inequality
Chebyshev's inequality
 
Binomial and Poisson Distribution
Binomial and Poisson  DistributionBinomial and Poisson  Distribution
Binomial and Poisson Distribution
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Uniform Distribution
Uniform DistributionUniform Distribution
Uniform Distribution
 
Metric space
Metric spaceMetric space
Metric space
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributions
 
application of first order ordinary Differential equations
application of first order ordinary Differential equationsapplication of first order ordinary Differential equations
application of first order ordinary Differential equations
 
Hypergeometric probability distribution
Hypergeometric probability distributionHypergeometric probability distribution
Hypergeometric probability distribution
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functions
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variables
 

Similar to Random Variables and Distributions

Chapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsChapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability Distributions
JasonTagapanGulla
 

Similar to Random Variables and Distributions (20)

Chapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability DistributionsChapter 3 – Random Variables and Probability Distributions
Chapter 3 – Random Variables and Probability Distributions
 
Discussion about random variable ad its characterization
Discussion about random variable ad its characterizationDiscussion about random variable ad its characterization
Discussion about random variable ad its characterization
 
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
Random variablesRandom variables
Random variables
 
U unit7 ssb
U unit7 ssbU unit7 ssb
U unit7 ssb
 
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)
 
Ch5
Ch5Ch5
Ch5
 
Probability Theory 9
Probability Theory 9Probability Theory 9
Probability Theory 9
 
Ssp notes
Ssp notesSsp notes
Ssp notes
 
02-Random Variables.ppt
02-Random Variables.ppt02-Random Variables.ppt
02-Random Variables.ppt
 
Statistics (1): estimation, Chapter 1: Models
Statistics (1): estimation, Chapter 1: ModelsStatistics (1): estimation, Chapter 1: Models
Statistics (1): estimation, Chapter 1: Models
 
IJSRED-V2I5P56
IJSRED-V2I5P56IJSRED-V2I5P56
IJSRED-V2I5P56
 
Moment-Generating Functions and Reproductive Properties of Distributions
Moment-Generating Functions and Reproductive Properties of DistributionsMoment-Generating Functions and Reproductive Properties of Distributions
Moment-Generating Functions and Reproductive Properties of Distributions
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
 
Probability and Statistics
Probability and StatisticsProbability and Statistics
Probability and Statistics
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
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
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
random variables-descriptive and contincuous
random variables-descriptive and contincuousrandom variables-descriptive and contincuous
random variables-descriptive and contincuous
 
Likelihoodist vs. significance tester w bernoulli trials
Likelihoodist vs. significance tester w bernoulli trialsLikelihoodist vs. significance tester w bernoulli trials
Likelihoodist vs. significance tester w bernoulli trials
 

More from hussein zayed (6)

CS341 Algorithms Analysis and Design-Sec7.pptx
CS341 Algorithms Analysis and Design-Sec7.pptxCS341 Algorithms Analysis and Design-Sec7.pptx
CS341 Algorithms Analysis and Design-Sec7.pptx
 
Product owner
Product ownerProduct owner
Product owner
 
substring & subSquence & find problem solving
substring & subSquence & find problem solving substring & subSquence & find problem solving
substring & subSquence & find problem solving
 
Inheritance & polymorphism java oop
Inheritance & polymorphism java oopInheritance & polymorphism java oop
Inheritance & polymorphism java oop
 
File Transport Protocol
File Transport ProtocolFile Transport Protocol
File Transport Protocol
 
Java fx
Java fxJava fx
Java fx
 

Recently uploaded

Recently uploaded (20)

Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
Behavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfBehavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdf
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon season
 
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPost Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 

Random Variables and Distributions

  • 1. Random Variables and Distributions Prepared by : Hussein Zayed Supervisor : Gamal Farouk
  • 2. 2.1 Random Variables General definition A variable whose value is unknown or with a variable value by chance, it is not fixed to a specific value. 2 Statistical definition A random variable X is a function that associates each element in the sample space with a real number (i.e., X : S R.)
  • 3. Example A balanced coin is tossed three times, then the sample space consists of eight possible outcomes. Let X the random variable for the number of heads observed. 3 Sample space ( 2^3) = {HHH,HHT,HTH,HTT,THT,THH,TTH,TTT} Let X = {0,1,2,3} X=0 ~ {TTT} X=1 ~ {HTT , THT , TTH} X=2 ~ {HHT , HTH , THH} X=3 ~ {HHH}
  • 4. 2.2 Distributions of Random Variables 4 If X is a random variable, then the distribution of X is the collection of probabilities P(X ∈ B) for all subsets B of the real numbers. P(X=0) = ⅛ P(X=1) = ⅜ P(X=2) = ⅜ P(X=3) = ⅛ Sample point (outcomes) Assigned Numerical Value (x) P( X=x ) TTT 0 1/8 THT , TTH , TTH 1 3/8 HHT , HTH , THH 2 3/8 HHH 3 1/8
  • 5. Types of Random Variables 5 A random variable X is called a discrete random variable if its set of possible values is countable . A random variable X is called a continuous random variable if it can take values on a continuous scale or range. Discrete x = 5 Continuous 1<=x<5
  • 6. 2.3 Discrete Distributions 6 A discrete random variable X assumes each of its values with a certain probability
  • 7. Example 7 Experiment: tossing a non-balance coin 2 times independently. Sample space: S={HH, HT, TH, TT} Suppose: P(H)=1/2 P(T) P(H)=1/3 P(T)=⅔ Let X= number of heads
  • 8. 8 The possible values of X with their probabilities a The function f(x)=P(X=x) is called the probability function (probability distribution) of the discrete random variable X. 8
  • 9. Discrete distributions include: ▸ Binomial ▸ Degenerate ▸ Poisson ▸ Geo-metric ▸ Hypergeometric 9
  • 10. 2.4 Continuous distribution 10 For any continuous random variable, X, there exists a nonnegative function f(x), called the probability density function (p.d.f) .
  • 12. Problem 12 Suppose that the error in the reaction temperature, in C, for a controlled laboratory experiment is a continuous random variable X having the following probability density function: 𝇇
  • 13. 13
  • 14. The cumulative distribution function (CDF), F(x), of a discrete random variable X with the probability function f(x) is given by: 2.5 Cumulative distribution function (CDF) 14
  • 15. Find the CDF of the random variable X with the probability function: Example 15 X 0 1 2 F(x) 10/28 15/28 3/28
  • 16. 16
  • 17. 17
  • 18. 18
  • 19. The cumulative distribution function (CDF), F(x), of a continuous random variable X with probability density function f(x) is given by: 2.5 Cumulative distribution function (CDF) 19
  • 20. Problem 20 Suppose that the error in the reaction temperature, in C, for a controlled laboratory experiment is a continuous random variable X having the following probability density function: 𝇇 1.Find the CDF 2.Using the CDF, find P(0<X<=1).
  • 21. 21
  • 22. 22
  • 23. Team Presentation 23 Hussein zayed Pre-Mag student Gamal Farouk Supervisor
  • 24. 24 THANKS! Any questions? You can find me at: ▸ @husseinzayed11 ▸ husseinzayed51@gmail.com