lec 4 2022
lec 4 2022
PROBABILITY THEORY
RANDOM VARIABLES
Suppose that to each point of a sample space we assign a number. We then have a
function defined on the sample space. This function is called a random variable or
more precisely a random function . It is usually denoted by a capital letter such as
X or Y. In general, a random variable has some specified physical, geometrical, or
other significance.
Probability distribution We associate with each value taken by the random
variable the probability that it takes this value. In other words:
The relation between x and p (x) is called the probability law
Discrete random variable its values are countable
Continuous Random Variable Its values are real numbers
1- Discrete random variable
Example: If you throw a coin 3 times in the same time, you get the following results:
Ω = {(H, H, H), (H, H, T), (H, T, H), (T, H, H), (T, T, T), (T, T,H ) , (T, H, T), (H,T,T)}
Instead of looking at each of these results, we are interested, for example, in the
following numerical characteristic: the number of heads We will assume the
Random Variable X associating the number of heads The values taken by
X = {0,1,2,3}
Probability distribution and distribution function of X are in the table
x 0 1 2 3 check
Solution
What are the values taken by X. X = {-5 (if he draws a losing ticket); 5 if he draws
a € 10 bill; 15 if he draws a ticket of € 20} X = {- 5,5,15}
X -5 5 15 check
Example
You play the following game: by throwing a coin twice, you win in dollars the
number of times that head is released. But if Tail comes out twice, you pay to the
organizer 3 dollars.
𝑬(𝑿) = ∑ 𝒙𝒊 𝑷(𝒙𝒊 )
𝒊=𝟏
Variance of X
3 12!
Hence Ω = C12 = = 220
(9)!3!
9!
𝐶93 (9 − 3)! 3! 84
𝑃(𝑋 = 0) = 𝑃(𝑁𝐷; 𝑁𝐷; 𝑁𝐷) = 3 = =
𝐶12 220 220
𝐶93 𝐶93 108
𝑃(𝑋 = 1) = 𝑃(𝐷; 𝑁𝐷; 𝑁𝐷) = 3 =
𝐶12 220
3 3
𝐶9 𝐶9 27
𝑃(𝑋 = 2) = 𝑃(𝐷; 𝐷; 𝑁𝐷) = 3 =
𝐶12 220
3
𝐶3 1
𝑃(𝑋 = 3) = 𝑃(𝐷; 𝐷; 𝐷) = 3 ==
𝐶12 220
X 0 1 2 3 Check
Example Let X be the random variable that characterizes the number of boys in
a family of four children.
Find the probability distribution of X. Calculate E (x) , 𝑬(𝒙𝟐 ), 𝝈(𝑿)
Continuous Random Variable
Definition
Continuous Random Variable is a variable that takes its value in a range
of R
FOR EXAMPLE
-Variable X corresponding to the size of a pupil
-Variable X corresponding to waiting time at a cash desk
-The birth weight of a baby, expressed in kg,
The random variable X equal to the duration of telephone communication,
expressed in hours, of a young person from 16 to 25 years old,
Soit X une R V C ; on appelle fonction de répartition de X la fonction définie sur R
par
𝒙
F(𝒙)=P(X≤ 𝒙) = ∫−∞ 𝒇(𝒙)𝒅𝒙
𝒃
Variance of X
𝑽𝒂𝒓(𝑿) = 𝑬(𝑿𝟐 ) − (𝑬(𝑿))𝟐 or
Var(X)= 𝝈𝟐 =E([𝒙 − 𝑬(𝒙)]𝟐 ) = ∑𝒏𝒊=𝟏[𝒙 − 𝑬(𝒙)]𝟐 𝒑 (𝒙𝒊 )