SlideShare a Scribd company logo
9/28/2018
1
SBE 304: Bio-Statistics
Continuous Random Variables
and their Probability
Distributions
Dr. Ayman Eldeib
Systems & Biomedical
Engineering Department
Fall 2018
SBE 304: CRV - PDF
Outline
 Introduction
 Probability Distribution Functions
 Probability Density Function (PDF)
 Cumulative Distribution Function (CDF)
 The Mean and Variance of a Continuous Random
Variable
 Continuous Uniform Distribution
 Normal Distribution
 Normal Approximation to Binomial and Poisson
Distributions
 Continuity Correction to improve the approximation
9/28/2018
2
SBE 304: CRV - PDF
A Discrete/Continuous
Random Variable
 A discrete random variable is a random variable with a finite
(or countable infinite) range. It is one that can assume only
distinct (whole number, 0, 1, 2, 3, 4, 5, 6, etc. ) Values.
Examples: Response with Yes - No values, number of
transmitted bits received in error, year (2010), etc.
 A continuous random variable is a random variable with an
interval (either finite or infinite) of real numbers for its range. It
is one that can assume any value over a continuous range of
possibilities.
Examples: temperature, weight, electrical current, length,
pressure, time, voltage, etc.
SBE 304: CRV - PDF
For a continuous random variable X, a probability density
function f(x) is a function such that,
f(x) ≥ 0
f(x)dx = 1
P(a ≤ X ≤ b) = f(x)dx = area under f(x) from a to b
for any a and b
∫
∞
-∞
Probability Density Function (PDF)
∫
b
a
9/28/2018
3
SBE 304: CRV - PDF
Based on the definition, for a continuous random variable X
and any value x, P(X = x) = 0, because every point has zero
width; i.e. zero area
However, in practice, when a particular x is observed,
such as 14.47, this result can be interpreted as the
rounded value that is actually in a range such as
14.465 ≤ x ≤ 14.475
P(x1 ≤ X ≤ x2) = P(x1 < X ≤ x2) = P(x1 ≤ X < x2) = P(x1 < X < x2)
Cont’d
Probability Density Function (PDF)
SBE 304: CRV - PDF
Let the continuous random variable X denote the current
measured in a thin copper wire in milliamperes. Assume that
the range of X is [0, 20 mA], and assume that the probability
density function of X is f(x) = 0.05 for 0 ≤ x ≤ 20. What is the
probability that a current measurement is less than 10
milliamperes?
∫
10
0
P( X < 10)= f(x)dx = 0.05 dx = 0.5∫
10
0
What is the probability that a current measurement is between 5 and 20
milliamperes?
∫ ∫
20
P( 5 < X < 20)= f(x)dx = 0.05 dx = 0.75
20
5 5
Cont’d
Probability Density Function (PDF)
9/28/2018
4
SBE 304: CRV - PDF
Cumulative Distribution Function
The cumulative distribution function of a continuous
random variable X, denoted as F(x), is
F(x) = P(X ≤ x) = f(u)du
for -∞ < x < ∞
-∞
x
∫
The probability density function of a continuous random
variable can be determined from the cumulative
distribution function by differentiating as long as the
derivative exists.
f(x) = dF(x)/dx
SBE 304: CRV - PDF
For the copper current measurement in the previous
example, the cumulative distribution function of the random
variable X consists of three expressions:
F(x) =
0 x < 0
0.05x 0 ≤ x < 20
1 20 ≤ x
Cont’dCumulative Distribution Function
9/28/2018
5
SBE 304: CRV - PDF
Let the cumulative distribution function of a random variable Y be:
Example










<≤







<<





≤
=
otherwise
y
y
y
y
y
yF
,1
,42,
16
,20,
8
,0,0
)( 2
a. Find the probability density function of Y










<≤=







<<=





≤
=
otherwise
y
yy
dy
d
y
y
dy
d
y
yf
0
42
816
20
8
1
8
00
)( 2
b. Find P(1 ≤ Y ≤ 3) ( ) ( ) ( )1331 FFYP −=≤≤ 4375.0
16
7
16
2
16
9
==−=
c. Find P(1 ≤ Y < 3) Same result as (b)
Cont’dCumulative Distribution Function
SBE 304: CRV - PDF
Let the cumulative distribution function of a random variable Y be:
Example










<≤







<<





≤
=
otherwise
y
y
y
y
y
yF
,1
,42,
16
,20,
8
,0,0
)( 2
d. Find P(Y ≥ 1.5)
e. Find P(Y ≥ 1 | Y ≤ 3)
( ) ( ) 8125.016/13
8
5.1
15.115.1 ==−=−=≥ FYP
( ) ( )
( )
( )
( )
( ) ( )
( )
778.0
9
7
16
9
16
7
3
13
3
31
3
31
31 ===
−
=
≤
≤≤
=
≤
≤∩≥
=≤≥
F
FF
YP
YP
YP
YYP
YYP
Cont’dCumulative Distribution Function
9/28/2018
6
SBE 304: CRV - PDF
The Mean and variance of a Continuous
Random Variable
The mean or expected value of the continuous random
variable X with PDF f(x), denoted as µ or E(X), is
µ = E(X) = x f(x)dx∫
∞
-∞
The variance of X, denoted as σ2 or V(X), is
σ2 = V(X) = E[(X - µ)2] = (x - µ)2 f(x)dx = x2 f(x)dx - µ2
∫
∞
-∞
∫
∞
-∞
The standard deviation of X, denoted as σ = σ2
SBE 304: CRV - PDF
The Mean and variance of a Continuous
Random Variable
µ = E(X) = x f(x)dx = 0.05x2/2 = 10 mA∫
20
0
σ2 = V(X) = E[(X - µ)2] = (x - 10)2 f(x)dx
= x2 f(x)dx – 100 = 33.33 mA2
∫
20
0
∫
20
0
For the copper current measurement in the previous example,
the mean of X is
|
20
0
9/28/2018
7
SBE 304: CRV - PDF
The Expected value of a Function of a
Continuous Random Variable
Let X be a continuous random variable with PDF f(x),
E(g(X)) = g(x)f(x)dx
In the special case that g(X) = aX +b for any constants a
and b, Then the expected value of g(X) is given by
E(g(X)) = aE(X) + b
∫
∞
-∞
SBE 304: CRV - PDF
Continuous Uniform Distribution
A random variable X has a continuous uniform distribution
if
f(x) = 1/(b – a), a ≤ x ≤ b
µ = E(X) = (a +b)/2
Then,
and
σ2 = V(X) = (b – a)2/12
9/28/2018
8
SBE 304: CRV - PDF
The mean and variance formulas can be applied with a = 0
and b = 20 in the previous example because
f(x) = 1/(b – a) = 1/20 = 0.05 a ≤ x ≤ b
µ = E(X) = (a +b)/2 = 10 mA
Therefore,
and
σ2 = V(X) = (b – a)2/12 = 202/12 = 33.33 mA2
Cont’dContinuous Uniform Distribution
SBE 304: CRV - PDF
Normal (Gaussian) Distribution
A random variable X with PDF
f(x) = e -∞ ≤ x ≤ ∞
σ 2π
1 2σ2
-(x - µ)2
is a normal random variable with parameters µ,
where -∞ ≤ µ≤ ∞, and σ > 0. Also,
E(X) = µ and V(X) = σ2
9/28/2018
9
SBE 304: CRV - PDF
Normal (Gaussian) Distribution
 µ ± σ contains about
68% of the
measurements.
 µ ± 2σ contains
about 95% of the
measurements.
 µ ± 3σ contains
almost all
measurements.
Empirical Rule
Probability Density Function
normal (or Gaussian) distribution
SBE 304: CRV - PDF
The standard normal distribution is a special case of the
normal distribution. It is the distribution that occurs when a
normal random variable has a mean of zero and a standard
deviation of one.
The normal random variable of a standard normal distribution
is called a standard score or a z-score.
Standard Normal Distribution
E(X) = µ = 0 and V(X) = σ2 = 1
9/28/2018
10
SBE 304: CRV - PDF
Standard Normal Distribution Table
A standard normal distribution table shows a cumulative
probability associated with a particular z-score.
Φ(z) = P(Z ≤ z)
Table rows show the whole number and tenths place of the z-
score. Table columns show the hundredths place. The
cumulative probability (often from minus infinity to the z-
score) appears in the cell of the table.
SBE 304: CRV - PDF
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
-3.0 0.0013 0.0013 0.0013 0.0012 0.0012 0.0011 0.0011 0.0011 0.0010 0.0010
... ... ... ... ... ... ... ... ... ... ...
-1.4 0.0808 0.0793 0.0778 0.0764 0.0749 0.0735 0.0722 0.0708 0.0694 0.0681
-1.3 0.0968 0.0951 0.0934 0.0918 0.0901 0.0885 0.0869 0.0853 0.0838 0.0823
-1.2 0.1151 0.1131 0.1112 0.1093 0.1075 0.1056 0.1038 0.1020 0.1003 0.0985
... ... ... ... ... ... ... ... ... ... ...
3.0 0.9987 0.9987 0.9987 0.9988 0.9988 0.9989 0.9989 0.9989 0.9990 0.9990
P(Z < -1.31) = 0.0951
Cont’dStandard Normal Distribution Table
9/28/2018
11
SBE 304: CRV - PDF
P(Z > a) = 1 - P(Z < a)
P(a < Z < b) = P(Z < b) - P(Z < a)
This probability expression can be written as P(Z ≤ z) = 0.95.
Now, The Table is used in reverse. We search through the
probabilities to find the value that corresponds to 0.95. We do
not find 0.95 exactly; the nearest value is 0.95053,
corresponding to z = 1.65.
Find the value z such that P(Z > z) = 0.05
Cont’dStandard Normal Distribution Table
SBE 304: CRV - PDF
Normal Random Variable Standardization
Every normal random variable X can be transformed into a z-
score via the following equation:
Z = (X - μ) / σ
where X is a normal random variable, μ is the mean of X, and
σ is the standard deviation of X.
9/28/2018
12
SBE 304: CRV - PDF
Mahmoud earned a score of 940 on a national
achievement test. The mean test score was 850 with a
standard deviation of 100. What proportion of students had
a higher score than Mahmoud ? (Assume that test scores
are normally distributed.)
z = (x - μ) / σ = (940 - 850) / 100 = 0.90
P(Z > 0.90) = 1 - P(Z < 0.90) = 1 - 0.8159 = 0.1841
Thus, we estimate that 18.41 percent of the students
tested had a higher score than Mahmoud.
Cont’d
Normal Random Variable Standardization
SBE 304: CRV - PDF
Normal Approximation to the Binomial
Distribution
If X is a binomial random variable,
is approximately a standard normal random variable.
The approximation is good for :
np > 5 and n(1- p) > 5
Z = (X - np) / sqrt(np(1 - p))
9/28/2018
13
SBE 304: CRV - PDF
In a digital communication channel, assume that the number
of bits received in error can be modeled by a binomial
random variable, and assume that the probability that a bit is
received in error is 1 x 10-5. If 16 million bits are transmitted,
what is the probability that more than 150 errors occur?
Let the random variable X denote the number of errors.
Then X is a binomial random variable and
P(X > 150) = 1 - P(X ≤ 150) which is difficult to compute
Cont’d
Normal Approximation to the Binomial
Distribution
SBE 304: CRV - PDF
By using the normal approximation:
P(X > 150) = P(Z > -0.79) = P(Z < 0.79) = 0.785
Z = (X - np) / sqrt(np(1 - p))
z = (150 - 160) / sqrt(160(1 – 10-5)) = -0.79
Because np = (16 x 106)(1 x 10-5) = 160 and n(1 - p) is
much larger, the approximation is expected to work well
in this case.
Cont’d
Normal Approximation to the Binomial
Distribution
9/28/2018
14
SBE 304: CRV - PDF
If X is a binomial random variable with parameters n and p,
and if x = 0, 1, 2, … , n, the continuity correction to
improve approximations obtained from the normal
distribution is
P(X ≤ x) = P(X ≤ x + 0.5) = P(Z ≤ (x + 0.5 - np) / sqrt(np(1 - p))
Continuity Correction
P(x ≤ X) = P(x - 0.5 ≤ X) = P((x - 0.5 - np) / sqrt(np(1 - p) ≤ Z)
and
~
~
Cont’d
Normal Approximation to the Binomial
Distribution
SBE 304: CRV - PDF
Normal Approximation to the Poisson
Distribution
If X is a Poisson random variable, with E(X) = V(X) = λ
is approximately a standard normal random variable.
The approximation is good for : λ > 5
Z = (X - λ) / sqrt(λ)
9/28/2018
15
SBE 304: CRV - PDF
Exponential Random Variable
The random variable X that equals the distance between
successive counts of a Poisson process with mean λ > 0 is an
exponential random variable with parameter λ. The
probability density function of X is
f(x) = λ e –λx for 0 ≤ x < ∞
Also,
E(X) = µ = 1/ λ and V(X) = σ2 = 1/ λ2
SBE 304: CRV - PDF
For an exponential random variable X,
Lack of Memory Property
P(X < t1 + t2 | X > t1) = P(X < t2)
Cont’dExponential Random Variable
9/28/2018
16
SBE 304: CRV - PDF
Erlang Random Variable
The random variable X that equals the interval length until
r counts occur in a Poisson process with mean λ > 0 has
an Erlang random variable with parameters λ and r.
The probability density function of X is
f(x) = for x > 0 and r = 1,2,...
λr xr-1e-λx
(r – 1)!
Also,
E(X) = µ = r/ λ and V(X) = σ2 = r/ λ2
SBE 304: CRV - PDF
Gamma Function
What if the parameter r of an Erlang random variable is
not an integer, but r > 0
The gamma function is
∫
∞
0
Г(r) = xr-1 e –x dx , for r > 0
Г(r) = (r – 1) Г(r - 1)
Г(1) = 0! = 1 Г(1/2) = π1/2
9/28/2018
17
SBE 304: CRV - PDF
Gamma Random Variable
The random variable X with probability density function
f(x) = for x > 0
λr xr-1e-λx
Г(r)
Also,
E(X) = µ = r/ λ and V(X) = σ2 = r/ λ2
has a gamma random variable with parameters
λ > 0 and r > 0.
If r is an integer, X has an Erlang distribution
SBE 304: CRV - PDF
Joint Probability Distribution
In the study of probability, given two random variables X and
Y that are defined on the same probability space, the joint
distribution for X and Y defines the probability of events
defined in terms of both X and Y. In the case of only two
random variables, this is called a bivariate distribution, but
the concept generalizes to any number of random variables,
giving a multivariate distribution.
9/28/2018
18
SBE 304: CRV - PDF
The joint probability density function of the continuous
random variables X and Y, denoted as fXY (x, y), satisfies:
0 ≤ fXY (x, y) ≤ 1 for all x and y
fXY (x, y) dx dy = 1
For any region R of two-dimensional space
P([X , Y] Є R) = fXY (x, y) dx dy
∫
∞
- ∞
∫
∞
- ∞
∫
R
∫
Cont’d
Joint Probability Distribution
SBE 304: CRV - PDF
For continuous random variables X and Y, check the
following:
Marginal Probability Distributions
Mean and Variance from Joint Distribution
Conditional Probability Distributions
Independence
Cont’d
Joint Probability Distribution

More Related Content

What's hot

Chapter11
Chapter11Chapter11
Chapter11
Richard Ferreria
 
Chapter8
Chapter8Chapter8
Lec 2 discrete random variable
Lec 2 discrete random variableLec 2 discrete random variable
Lec 2 discrete random variable
cairo university
 
BlUP and BLUE- REML of linear mixed model
BlUP and BLUE- REML of linear mixed modelBlUP and BLUE- REML of linear mixed model
BlUP and BLUE- REML of linear mixed model
KyusonLim
 
Chapter05
Chapter05Chapter05
Chapter05
rwmiller
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
kerrberrs
 
Monte Carlo Methods 2017 July Talk in Montreal
Monte Carlo Methods 2017 July Talk in MontrealMonte Carlo Methods 2017 July Talk in Montreal
Monte Carlo Methods 2017 July Talk in Montreal
Fred J. Hickernell
 
20 k-means, k-center, k-meoids and variations
20 k-means, k-center, k-meoids and variations20 k-means, k-center, k-meoids and variations
20 k-means, k-center, k-meoids and variations
Andres Mendez-Vazquez
 
GC-S005-DataAnalysis
GC-S005-DataAnalysisGC-S005-DataAnalysis
GC-S005-DataAnalysis
henry kang
 
Elast1.1
Elast1.1 Elast1.1
Approach to anova questions
Approach to anova questionsApproach to anova questions
Approach to anova questions
GeorgeGidudu
 
GC-S006-Graphing
GC-S006-GraphingGC-S006-Graphing
GC-S006-Graphing
henry kang
 
Survival analysis 1
Survival analysis 1Survival analysis 1
Survival analysis 1
KyusonLim
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
Birinder Singh Gulati
 
Visual Explanation of Ridge Regression and LASSO
Visual Explanation of Ridge Regression and LASSOVisual Explanation of Ridge Regression and LASSO
Visual Explanation of Ridge Regression and LASSO
Kazuki Yoshida
 
SIAM CSE 2017 talk
SIAM CSE 2017 talkSIAM CSE 2017 talk
SIAM CSE 2017 talk
Fred J. Hickernell
 
Logisticregression
LogisticregressionLogisticregression
Logisticregression
sujimaa
 
Tulane March 2017 Talk
Tulane March 2017 TalkTulane March 2017 Talk
Tulane March 2017 Talk
Fred J. Hickernell
 
Coefficient of variation
Coefficient of variationCoefficient of variation
Coefficient of variation
Nadeem Uddin
 

What's hot (19)

Chapter11
Chapter11Chapter11
Chapter11
 
Chapter8
Chapter8Chapter8
Chapter8
 
Lec 2 discrete random variable
Lec 2 discrete random variableLec 2 discrete random variable
Lec 2 discrete random variable
 
BlUP and BLUE- REML of linear mixed model
BlUP and BLUE- REML of linear mixed modelBlUP and BLUE- REML of linear mixed model
BlUP and BLUE- REML of linear mixed model
 
Chapter05
Chapter05Chapter05
Chapter05
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Monte Carlo Methods 2017 July Talk in Montreal
Monte Carlo Methods 2017 July Talk in MontrealMonte Carlo Methods 2017 July Talk in Montreal
Monte Carlo Methods 2017 July Talk in Montreal
 
20 k-means, k-center, k-meoids and variations
20 k-means, k-center, k-meoids and variations20 k-means, k-center, k-meoids and variations
20 k-means, k-center, k-meoids and variations
 
GC-S005-DataAnalysis
GC-S005-DataAnalysisGC-S005-DataAnalysis
GC-S005-DataAnalysis
 
Elast1.1
Elast1.1 Elast1.1
Elast1.1
 
Approach to anova questions
Approach to anova questionsApproach to anova questions
Approach to anova questions
 
GC-S006-Graphing
GC-S006-GraphingGC-S006-Graphing
GC-S006-Graphing
 
Survival analysis 1
Survival analysis 1Survival analysis 1
Survival analysis 1
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
Visual Explanation of Ridge Regression and LASSO
Visual Explanation of Ridge Regression and LASSOVisual Explanation of Ridge Regression and LASSO
Visual Explanation of Ridge Regression and LASSO
 
SIAM CSE 2017 talk
SIAM CSE 2017 talkSIAM CSE 2017 talk
SIAM CSE 2017 talk
 
Logisticregression
LogisticregressionLogisticregression
Logisticregression
 
Tulane March 2017 Talk
Tulane March 2017 TalkTulane March 2017 Talk
Tulane March 2017 Talk
 
Coefficient of variation
Coefficient of variationCoefficient of variation
Coefficient of variation
 

Similar to Lec 3 continuous random variable

Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
Suvrat Mishra
 
Probability Cheatsheet.pdf
Probability Cheatsheet.pdfProbability Cheatsheet.pdf
Probability Cheatsheet.pdf
ChinmayeeJonnalagadd2
 
Ch 56669 Slides.doc.2234322344443222222344
Ch 56669 Slides.doc.2234322344443222222344Ch 56669 Slides.doc.2234322344443222222344
Ch 56669 Slides.doc.2234322344443222222344
ohenebabismark508
 
Lect05 BT1211.pdf
Lect05 BT1211.pdfLect05 BT1211.pdf
Lect05 BT1211.pdf
Silvia210754
 
Chapter-4 combined.pptx
Chapter-4 combined.pptxChapter-4 combined.pptx
Chapter-4 combined.pptx
HamzaHaji6
 
Applied Business Statistics ,ken black , ch 5
Applied Business Statistics ,ken black , ch 5Applied Business Statistics ,ken black , ch 5
Applied Business Statistics ,ken black , ch 5
AbdelmonsifFadl
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
Joachim Gwoke
 
The Binomial,poisson _ Normal Distribution (1).ppt
The Binomial,poisson _ Normal Distribution (1).pptThe Binomial,poisson _ Normal Distribution (1).ppt
The Binomial,poisson _ Normal Distribution (1).ppt
Ijaz Manzoor
 
Lecture 02 Probability Distributions
Lecture 02 Probability DistributionsLecture 02 Probability Distributions
Lecture 02 Probability Distributions
Riri Ariyanty
 
Statistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normalStatistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normal
Selvin Hadi
 
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
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
University of Jaffna
 
Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...
Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...
Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...
Waqas Tariq
 
Statistics
StatisticsStatistics
Statistics
theaimeeremani21
 
7주차
7주차7주차
Estimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample SetsEstimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample Sets
Förderverein Technische Fakultät
 
Tteng 441 traffic engineering fall 2021 part2
Tteng 441 traffic engineering fall 2021 part2 Tteng 441 traffic engineering fall 2021 part2
Tteng 441 traffic engineering fall 2021 part2
Wael ElDessouki
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
Tarun Gehlot
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
NBER
 
Linear regression
Linear regressionLinear regression
Linear regression
vermaumeshverma
 

Similar to Lec 3 continuous random variable (20)

Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
 
Probability Cheatsheet.pdf
Probability Cheatsheet.pdfProbability Cheatsheet.pdf
Probability Cheatsheet.pdf
 
Ch 56669 Slides.doc.2234322344443222222344
Ch 56669 Slides.doc.2234322344443222222344Ch 56669 Slides.doc.2234322344443222222344
Ch 56669 Slides.doc.2234322344443222222344
 
Lect05 BT1211.pdf
Lect05 BT1211.pdfLect05 BT1211.pdf
Lect05 BT1211.pdf
 
Chapter-4 combined.pptx
Chapter-4 combined.pptxChapter-4 combined.pptx
Chapter-4 combined.pptx
 
Applied Business Statistics ,ken black , ch 5
Applied Business Statistics ,ken black , ch 5Applied Business Statistics ,ken black , ch 5
Applied Business Statistics ,ken black , ch 5
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
 
The Binomial,poisson _ Normal Distribution (1).ppt
The Binomial,poisson _ Normal Distribution (1).pptThe Binomial,poisson _ Normal Distribution (1).ppt
The Binomial,poisson _ Normal Distribution (1).ppt
 
Lecture 02 Probability Distributions
Lecture 02 Probability DistributionsLecture 02 Probability Distributions
Lecture 02 Probability Distributions
 
Statistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normalStatistik 1 6 distribusi probabilitas normal
Statistik 1 6 distribusi probabilitas normal
 
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
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...
Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...
Optimum Algorithm for Computing the Standardized Moments Using MATLAB 7.10(R2...
 
Statistics
StatisticsStatistics
Statistics
 
7주차
7주차7주차
7주차
 
Estimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample SetsEstimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample Sets
 
Tteng 441 traffic engineering fall 2021 part2
Tteng 441 traffic engineering fall 2021 part2 Tteng 441 traffic engineering fall 2021 part2
Tteng 441 traffic engineering fall 2021 part2
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
 
Linear regression
Linear regressionLinear regression
Linear regression
 

More from cairo university

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extended
cairo university
 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devices
cairo university
 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuits
cairo university
 
Tocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xTocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified x
cairo university
 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
cairo university
 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
cairo university
 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuits
cairo university
 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuits
cairo university
 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuits
cairo university
 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency response
cairo university
 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsx
cairo university
 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfet
cairo university
 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revision
cairo university
 
Fields Lec 2
Fields Lec 2Fields Lec 2
Fields Lec 2
cairo university
 
Fields Lec 1
Fields Lec 1Fields Lec 1
Fields Lec 1
cairo university
 
Fields Lec 5&amp;6
Fields Lec 5&amp;6Fields Lec 5&amp;6
Fields Lec 5&amp;6
cairo university
 
Fields Lec 4
Fields Lec 4Fields Lec 4
Fields Lec 4
cairo university
 
Fields Lec 3
Fields Lec 3Fields Lec 3
Fields Lec 3
cairo university
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
cairo university
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
cairo university
 

More from cairo university (20)

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extended
 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devices
 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuits
 
Tocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xTocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified x
 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuits
 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuits
 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuits
 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency response
 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsx
 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfet
 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revision
 
Fields Lec 2
Fields Lec 2Fields Lec 2
Fields Lec 2
 
Fields Lec 1
Fields Lec 1Fields Lec 1
Fields Lec 1
 
Fields Lec 5&amp;6
Fields Lec 5&amp;6Fields Lec 5&amp;6
Fields Lec 5&amp;6
 
Fields Lec 4
Fields Lec 4Fields Lec 4
Fields Lec 4
 
Fields Lec 3
Fields Lec 3Fields Lec 3
Fields Lec 3
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
 

Recently uploaded

OOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming languageOOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming language
PreethaV16
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
DharmaBanothu
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptxEV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
nikshimanasa
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
sydezfe
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
wafawafa52
 
Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...
pvpriya2
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
PreethaV16
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 

Recently uploaded (20)

OOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming languageOOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming language
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptxEV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
EV BMS WITH CHARGE MONITOR AND FIRE DETECTION.pptx
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
 
Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 

Lec 3 continuous random variable

  • 1. 9/28/2018 1 SBE 304: Bio-Statistics Continuous Random Variables and their Probability Distributions Dr. Ayman Eldeib Systems & Biomedical Engineering Department Fall 2018 SBE 304: CRV - PDF Outline  Introduction  Probability Distribution Functions  Probability Density Function (PDF)  Cumulative Distribution Function (CDF)  The Mean and Variance of a Continuous Random Variable  Continuous Uniform Distribution  Normal Distribution  Normal Approximation to Binomial and Poisson Distributions  Continuity Correction to improve the approximation
  • 2. 9/28/2018 2 SBE 304: CRV - PDF A Discrete/Continuous Random Variable  A discrete random variable is a random variable with a finite (or countable infinite) range. It is one that can assume only distinct (whole number, 0, 1, 2, 3, 4, 5, 6, etc. ) Values. Examples: Response with Yes - No values, number of transmitted bits received in error, year (2010), etc.  A continuous random variable is a random variable with an interval (either finite or infinite) of real numbers for its range. It is one that can assume any value over a continuous range of possibilities. Examples: temperature, weight, electrical current, length, pressure, time, voltage, etc. SBE 304: CRV - PDF For a continuous random variable X, a probability density function f(x) is a function such that, f(x) ≥ 0 f(x)dx = 1 P(a ≤ X ≤ b) = f(x)dx = area under f(x) from a to b for any a and b ∫ ∞ -∞ Probability Density Function (PDF) ∫ b a
  • 3. 9/28/2018 3 SBE 304: CRV - PDF Based on the definition, for a continuous random variable X and any value x, P(X = x) = 0, because every point has zero width; i.e. zero area However, in practice, when a particular x is observed, such as 14.47, this result can be interpreted as the rounded value that is actually in a range such as 14.465 ≤ x ≤ 14.475 P(x1 ≤ X ≤ x2) = P(x1 < X ≤ x2) = P(x1 ≤ X < x2) = P(x1 < X < x2) Cont’d Probability Density Function (PDF) SBE 304: CRV - PDF Let the continuous random variable X denote the current measured in a thin copper wire in milliamperes. Assume that the range of X is [0, 20 mA], and assume that the probability density function of X is f(x) = 0.05 for 0 ≤ x ≤ 20. What is the probability that a current measurement is less than 10 milliamperes? ∫ 10 0 P( X < 10)= f(x)dx = 0.05 dx = 0.5∫ 10 0 What is the probability that a current measurement is between 5 and 20 milliamperes? ∫ ∫ 20 P( 5 < X < 20)= f(x)dx = 0.05 dx = 0.75 20 5 5 Cont’d Probability Density Function (PDF)
  • 4. 9/28/2018 4 SBE 304: CRV - PDF Cumulative Distribution Function The cumulative distribution function of a continuous random variable X, denoted as F(x), is F(x) = P(X ≤ x) = f(u)du for -∞ < x < ∞ -∞ x ∫ The probability density function of a continuous random variable can be determined from the cumulative distribution function by differentiating as long as the derivative exists. f(x) = dF(x)/dx SBE 304: CRV - PDF For the copper current measurement in the previous example, the cumulative distribution function of the random variable X consists of three expressions: F(x) = 0 x < 0 0.05x 0 ≤ x < 20 1 20 ≤ x Cont’dCumulative Distribution Function
  • 5. 9/28/2018 5 SBE 304: CRV - PDF Let the cumulative distribution function of a random variable Y be: Example           <≤        <<      ≤ = otherwise y y y y y yF ,1 ,42, 16 ,20, 8 ,0,0 )( 2 a. Find the probability density function of Y           <≤=        <<=      ≤ = otherwise y yy dy d y y dy d y yf 0 42 816 20 8 1 8 00 )( 2 b. Find P(1 ≤ Y ≤ 3) ( ) ( ) ( )1331 FFYP −=≤≤ 4375.0 16 7 16 2 16 9 ==−= c. Find P(1 ≤ Y < 3) Same result as (b) Cont’dCumulative Distribution Function SBE 304: CRV - PDF Let the cumulative distribution function of a random variable Y be: Example           <≤        <<      ≤ = otherwise y y y y y yF ,1 ,42, 16 ,20, 8 ,0,0 )( 2 d. Find P(Y ≥ 1.5) e. Find P(Y ≥ 1 | Y ≤ 3) ( ) ( ) 8125.016/13 8 5.1 15.115.1 ==−=−=≥ FYP ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 778.0 9 7 16 9 16 7 3 13 3 31 3 31 31 === − = ≤ ≤≤ = ≤ ≤∩≥ =≤≥ F FF YP YP YP YYP YYP Cont’dCumulative Distribution Function
  • 6. 9/28/2018 6 SBE 304: CRV - PDF The Mean and variance of a Continuous Random Variable The mean or expected value of the continuous random variable X with PDF f(x), denoted as µ or E(X), is µ = E(X) = x f(x)dx∫ ∞ -∞ The variance of X, denoted as σ2 or V(X), is σ2 = V(X) = E[(X - µ)2] = (x - µ)2 f(x)dx = x2 f(x)dx - µ2 ∫ ∞ -∞ ∫ ∞ -∞ The standard deviation of X, denoted as σ = σ2 SBE 304: CRV - PDF The Mean and variance of a Continuous Random Variable µ = E(X) = x f(x)dx = 0.05x2/2 = 10 mA∫ 20 0 σ2 = V(X) = E[(X - µ)2] = (x - 10)2 f(x)dx = x2 f(x)dx – 100 = 33.33 mA2 ∫ 20 0 ∫ 20 0 For the copper current measurement in the previous example, the mean of X is | 20 0
  • 7. 9/28/2018 7 SBE 304: CRV - PDF The Expected value of a Function of a Continuous Random Variable Let X be a continuous random variable with PDF f(x), E(g(X)) = g(x)f(x)dx In the special case that g(X) = aX +b for any constants a and b, Then the expected value of g(X) is given by E(g(X)) = aE(X) + b ∫ ∞ -∞ SBE 304: CRV - PDF Continuous Uniform Distribution A random variable X has a continuous uniform distribution if f(x) = 1/(b – a), a ≤ x ≤ b µ = E(X) = (a +b)/2 Then, and σ2 = V(X) = (b – a)2/12
  • 8. 9/28/2018 8 SBE 304: CRV - PDF The mean and variance formulas can be applied with a = 0 and b = 20 in the previous example because f(x) = 1/(b – a) = 1/20 = 0.05 a ≤ x ≤ b µ = E(X) = (a +b)/2 = 10 mA Therefore, and σ2 = V(X) = (b – a)2/12 = 202/12 = 33.33 mA2 Cont’dContinuous Uniform Distribution SBE 304: CRV - PDF Normal (Gaussian) Distribution A random variable X with PDF f(x) = e -∞ ≤ x ≤ ∞ σ 2π 1 2σ2 -(x - µ)2 is a normal random variable with parameters µ, where -∞ ≤ µ≤ ∞, and σ > 0. Also, E(X) = µ and V(X) = σ2
  • 9. 9/28/2018 9 SBE 304: CRV - PDF Normal (Gaussian) Distribution  µ ± σ contains about 68% of the measurements.  µ ± 2σ contains about 95% of the measurements.  µ ± 3σ contains almost all measurements. Empirical Rule Probability Density Function normal (or Gaussian) distribution SBE 304: CRV - PDF The standard normal distribution is a special case of the normal distribution. It is the distribution that occurs when a normal random variable has a mean of zero and a standard deviation of one. The normal random variable of a standard normal distribution is called a standard score or a z-score. Standard Normal Distribution E(X) = µ = 0 and V(X) = σ2 = 1
  • 10. 9/28/2018 10 SBE 304: CRV - PDF Standard Normal Distribution Table A standard normal distribution table shows a cumulative probability associated with a particular z-score. Φ(z) = P(Z ≤ z) Table rows show the whole number and tenths place of the z- score. Table columns show the hundredths place. The cumulative probability (often from minus infinity to the z- score) appears in the cell of the table. SBE 304: CRV - PDF z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 -3.0 0.0013 0.0013 0.0013 0.0012 0.0012 0.0011 0.0011 0.0011 0.0010 0.0010 ... ... ... ... ... ... ... ... ... ... ... -1.4 0.0808 0.0793 0.0778 0.0764 0.0749 0.0735 0.0722 0.0708 0.0694 0.0681 -1.3 0.0968 0.0951 0.0934 0.0918 0.0901 0.0885 0.0869 0.0853 0.0838 0.0823 -1.2 0.1151 0.1131 0.1112 0.1093 0.1075 0.1056 0.1038 0.1020 0.1003 0.0985 ... ... ... ... ... ... ... ... ... ... ... 3.0 0.9987 0.9987 0.9987 0.9988 0.9988 0.9989 0.9989 0.9989 0.9990 0.9990 P(Z < -1.31) = 0.0951 Cont’dStandard Normal Distribution Table
  • 11. 9/28/2018 11 SBE 304: CRV - PDF P(Z > a) = 1 - P(Z < a) P(a < Z < b) = P(Z < b) - P(Z < a) This probability expression can be written as P(Z ≤ z) = 0.95. Now, The Table is used in reverse. We search through the probabilities to find the value that corresponds to 0.95. We do not find 0.95 exactly; the nearest value is 0.95053, corresponding to z = 1.65. Find the value z such that P(Z > z) = 0.05 Cont’dStandard Normal Distribution Table SBE 304: CRV - PDF Normal Random Variable Standardization Every normal random variable X can be transformed into a z- score via the following equation: Z = (X - μ) / σ where X is a normal random variable, μ is the mean of X, and σ is the standard deviation of X.
  • 12. 9/28/2018 12 SBE 304: CRV - PDF Mahmoud earned a score of 940 on a national achievement test. The mean test score was 850 with a standard deviation of 100. What proportion of students had a higher score than Mahmoud ? (Assume that test scores are normally distributed.) z = (x - μ) / σ = (940 - 850) / 100 = 0.90 P(Z > 0.90) = 1 - P(Z < 0.90) = 1 - 0.8159 = 0.1841 Thus, we estimate that 18.41 percent of the students tested had a higher score than Mahmoud. Cont’d Normal Random Variable Standardization SBE 304: CRV - PDF Normal Approximation to the Binomial Distribution If X is a binomial random variable, is approximately a standard normal random variable. The approximation is good for : np > 5 and n(1- p) > 5 Z = (X - np) / sqrt(np(1 - p))
  • 13. 9/28/2018 13 SBE 304: CRV - PDF In a digital communication channel, assume that the number of bits received in error can be modeled by a binomial random variable, and assume that the probability that a bit is received in error is 1 x 10-5. If 16 million bits are transmitted, what is the probability that more than 150 errors occur? Let the random variable X denote the number of errors. Then X is a binomial random variable and P(X > 150) = 1 - P(X ≤ 150) which is difficult to compute Cont’d Normal Approximation to the Binomial Distribution SBE 304: CRV - PDF By using the normal approximation: P(X > 150) = P(Z > -0.79) = P(Z < 0.79) = 0.785 Z = (X - np) / sqrt(np(1 - p)) z = (150 - 160) / sqrt(160(1 – 10-5)) = -0.79 Because np = (16 x 106)(1 x 10-5) = 160 and n(1 - p) is much larger, the approximation is expected to work well in this case. Cont’d Normal Approximation to the Binomial Distribution
  • 14. 9/28/2018 14 SBE 304: CRV - PDF If X is a binomial random variable with parameters n and p, and if x = 0, 1, 2, … , n, the continuity correction to improve approximations obtained from the normal distribution is P(X ≤ x) = P(X ≤ x + 0.5) = P(Z ≤ (x + 0.5 - np) / sqrt(np(1 - p)) Continuity Correction P(x ≤ X) = P(x - 0.5 ≤ X) = P((x - 0.5 - np) / sqrt(np(1 - p) ≤ Z) and ~ ~ Cont’d Normal Approximation to the Binomial Distribution SBE 304: CRV - PDF Normal Approximation to the Poisson Distribution If X is a Poisson random variable, with E(X) = V(X) = λ is approximately a standard normal random variable. The approximation is good for : λ > 5 Z = (X - λ) / sqrt(λ)
  • 15. 9/28/2018 15 SBE 304: CRV - PDF Exponential Random Variable The random variable X that equals the distance between successive counts of a Poisson process with mean λ > 0 is an exponential random variable with parameter λ. The probability density function of X is f(x) = λ e –λx for 0 ≤ x < ∞ Also, E(X) = µ = 1/ λ and V(X) = σ2 = 1/ λ2 SBE 304: CRV - PDF For an exponential random variable X, Lack of Memory Property P(X < t1 + t2 | X > t1) = P(X < t2) Cont’dExponential Random Variable
  • 16. 9/28/2018 16 SBE 304: CRV - PDF Erlang Random Variable The random variable X that equals the interval length until r counts occur in a Poisson process with mean λ > 0 has an Erlang random variable with parameters λ and r. The probability density function of X is f(x) = for x > 0 and r = 1,2,... λr xr-1e-λx (r – 1)! Also, E(X) = µ = r/ λ and V(X) = σ2 = r/ λ2 SBE 304: CRV - PDF Gamma Function What if the parameter r of an Erlang random variable is not an integer, but r > 0 The gamma function is ∫ ∞ 0 Г(r) = xr-1 e –x dx , for r > 0 Г(r) = (r – 1) Г(r - 1) Г(1) = 0! = 1 Г(1/2) = π1/2
  • 17. 9/28/2018 17 SBE 304: CRV - PDF Gamma Random Variable The random variable X with probability density function f(x) = for x > 0 λr xr-1e-λx Г(r) Also, E(X) = µ = r/ λ and V(X) = σ2 = r/ λ2 has a gamma random variable with parameters λ > 0 and r > 0. If r is an integer, X has an Erlang distribution SBE 304: CRV - PDF Joint Probability Distribution In the study of probability, given two random variables X and Y that are defined on the same probability space, the joint distribution for X and Y defines the probability of events defined in terms of both X and Y. In the case of only two random variables, this is called a bivariate distribution, but the concept generalizes to any number of random variables, giving a multivariate distribution.
  • 18. 9/28/2018 18 SBE 304: CRV - PDF The joint probability density function of the continuous random variables X and Y, denoted as fXY (x, y), satisfies: 0 ≤ fXY (x, y) ≤ 1 for all x and y fXY (x, y) dx dy = 1 For any region R of two-dimensional space P([X , Y] Є R) = fXY (x, y) dx dy ∫ ∞ - ∞ ∫ ∞ - ∞ ∫ R ∫ Cont’d Joint Probability Distribution SBE 304: CRV - PDF For continuous random variables X and Y, check the following: Marginal Probability Distributions Mean and Variance from Joint Distribution Conditional Probability Distributions Independence Cont’d Joint Probability Distribution