0% found this document useful (0 votes)
64 views17 pages

Continous Random Variable

1. The probability density function of the battery failure time X is given. 2. To find P(0 ≤ x ≤ 10), the distribution function F(x) is integrated from 0 to 10. 3. To find P(x < 30), the distribution function F(x) is evaluated at 30. 4. To find P(x = 25), the distribution function F(x) is differentiated and evaluated at 25.

Uploaded by

Wahab Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views17 pages

Continous Random Variable

1. The probability density function of the battery failure time X is given. 2. To find P(0 ≤ x ≤ 10), the distribution function F(x) is integrated from 0 to 10. 3. To find P(x < 30), the distribution function F(x) is evaluated at 30. 4. To find P(x = 25), the distribution function F(x) is differentiated and evaluated at 25.

Uploaded by

Wahab Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Continuous Random Variable

Ansar Shahzadi
School of Electrical Engineering & Computer Science
National University of Science and Technology(NUST)
Continuous Random Variable
A continuous random variable can assume any value
along a given interval of a number line.
Examples:
 Depth
 Volume
 Time
 Weight
 Length
Probability Density function
A function f(x) is called probability density function,
abbreviated to p.d.f, or simply density function of the r.v
X.
A p.d.f has the following properties
 f(x)≥ 𝑜, 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑥

 ‫׬‬−∞ 𝑓 𝑥 . 𝑑(𝑥) = 1
Distribution Function
F(x) is continuous and is differentiable everywhere
except at isolated points in the given range.
𝑥
𝐹 𝑥 = න 𝑓 𝑥 .𝑑 𝑥
−∞
F(x) is used for calculating probabilities.
The probability that X takes on a value in the interval [c,
d], c<d is given by
P(c<x ≤ d)=F(d)-F(c)
𝑑 𝑐 𝑑
= ‫׬‬−∞ 𝑓 𝑥 .𝑑 𝑥 - ‫׬‬−∞ 𝑓 𝑥 .𝑑 𝑥 = ‫𝑓 𝑐׬‬ 𝑥 .𝑑 𝑥
Example: Uniform Distribution
The uniform distribution is a continuous
distribution in which the same height, of f(X), is
obtained over a range of values.
1
 1 b−a
b − a for a xb
 f ( x)
f ( x) = 
 0 for all other values


Area = 1
a x b
Uniform Distribution
The cumulative distribution function of the uniform
random variable X is given by
For any x such that -∞<x≤ 0  0 for x0
x −a
x
F ( x) = 
−
0d ( x ) = 0
F ( x) =  for a xb
For any x such that a  x  b b − a
 1 for xb
a x 1 x−a
F ( x) =  0.d ( x) +  d ( x) =
− a b−a b−a
For x  b
a b 1 x
F ( x ) =  0d ( x ) +  d ( x ) +  0d ( x ) = 1
− a b−a b
Question: Uniform Distribution
The arrival time of a student in a class is uniformly
distributed with first 10 minutes. Find the probabilities
that
 the student arrive within first 5 minutes.
 the student arrive after 6 minutes.
 the student arrive between 2 to 7 minutes.
 the student arrive after 15 minutes.
Solution 1
10 for 0  x  10
The p.d.f of X is 
f ( x) = 
0 for all other values

The Cumulative distribution function of X is


0 for x0
x
F ( x) =  for 0  x  10
10
1 for x  10
0 for x0
x
F ( x) =  for 0  x  10
Solution 10
1 for x  10

 Find the probability that the student arrive within first


5 minutes.

 Find the probability that the student arrive after 6


minutes.
0 for x0
x
F ( x) =  for 0  x  10
10
Solution 1 for x  10

 Find the probability that the student arrive between 2


to 7 minutes.

 Find the probability that the student arrive after 15


minutes.
Question
A continuous random variable X has the following
function
𝑥 0<𝑥≤1
f(x)=ቐ2 − 𝑥 1 < 𝑥 ≤ 2
0 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
 Check that f(x) is probability density function.
 Obtain the expression of distribution function.
 Find the following probabilities
1 1 1 2 5 2 7
P(x> ), P( ≤𝑥≤ ), 𝑃( ≤𝑥≤ ), P(x= ), P(x< )
2 3 2 3 2 5 2
Solution
 Check that f(x) is probability density function.
For p.d.f we verify following condition

‫׬‬−∞ 𝑓 𝑥 . 𝑑(𝑥) = 1
0 1 2 ∞
න 0. 𝑑 𝑥 + න 𝑥. 𝑑 𝑥 + න 2 − 𝑥 . 𝑑 𝑥 + න 0. 𝑑 𝑥 = 1
−∞ 0 1 2

 Obtain the expression of distribution function.


Solution
 Obtain the expression of distribution function.
𝑥
‫׬‬−∞ 0. 𝑑 𝑥 𝑥≤0
0 𝑥
‫׬‬−∞ 0. 𝑑 𝑥 + ‫׬‬0 𝑥. 𝑑 𝑥 0≤𝑥<1
F(x)= 0 1 𝑥 1≤𝑥<2
‫׬‬−∞ 0. 𝑑 𝑥 + ‫׬‬0 𝑥. 𝑑 𝑥 + ‫׬‬1 (2 − 𝑥)𝑑 𝑥
0 1 2 𝑥
‫׬‬−∞ 0. 𝑑 𝑥 + ‫׬‬0 𝑥. 𝑑 𝑥 + ‫׬‬1 2 − 𝑥 . 𝑑 𝑥 + ‫׬‬2 0. 𝑑 𝑥
𝑥≥2
Solution
 Find the following probabilities
1 1
P(x> )=1-F( )
2 2
1 1 1 1
P( ≤ 𝑥 ≤ ) = 𝐹( ) − 𝐹( )
3 2 2 3
2 5 5 2
𝑃 ≤ 𝑥 ≤ = 𝐹( )-F( )
3 2 2 3
2 2 2
P(x= )=F( )-F( )=0
5 5 5
7 7
P(x< )=F( )
2 2
Question
Suppose that the battery failure time, measured in
hours, has a probability density function, given by
𝟐
𝒇𝒐𝒓 𝒙 ≥ 𝟎
𝒇 𝒙 =ቐ 𝒙+𝟏 𝟑
𝟎 𝒆𝒍𝒔𝒆𝒘𝒉𝒆𝒓𝒆
 Find the probabilities of 𝑷(𝟎 ≤ 𝒙 ≤ 𝟏𝟎), p(x<30), and
p(x=25)?
 Develop distributions function of x?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy