Professional Documents
Culture Documents
“BUSINESS STATISTICS”
COURSE INSTRUCTOR:
“DR. ZAHID AHMAD”
COURSE CODE:
“BAAF2243”
SECTION:
“B”
ASSIGNMENT NO “3”
TITLE: “WRITE A NOTE ON PROBABILITY AND RANDOM
VARIABLE AND ITS PROBABILITY DISTRIBUTION”
NAME: “HAMNA FAROOQ”
REGISTRATION NO: “L1S20BBAM0107”
PROBABILITY:
Experiment: An action which is well defined, obvious and apparent and gives the same result
on each trial is called experiment.
Example: Performing chemical reaction in laboratory
Trial: The performance of a well-defined experiment is known as trial.
Sample Space: Sample space is the set of possible outcomes of a random experiment and it is
denoted by S.
Example: Throwing a dice: [ 1, 2, 3, 4, 5, 6] so n(S)=6
Event: Event is the single outcome taken out from a sample space which is obtained by a
random experiment.
Example: Throwing a dice: [ 1, 2, 3, 4, 5, 6]. Then the event will be [1] or any number and can
be denoted by any alphabet.
Mutually Exclusive Events: These are two events said to be the event A and event B which can
never occur together.
Example: In throwing a dice there will be only one number can occur ranging from 1 to 6. Two
numbers cannot occur together.
Equally likely Events: If the events in a sample space obtained from a random experiment have
the equal chances of occurring, then it is known as equally likely events.
For example: When the dice is thrown every number ranging from 1 to 6 have equal chances of
occurrence.
Independent Event: When the occurrence and non-occurrence of any event does not depend
on whether any other event occurred or not then the event is said to be independent.
Example: When a dice is thrown, any number ranging from 1 to 6 can occur as it is not
dependent on the occurrence of a specific number.
Dependent Event: When the occurrence and non-occurrence of any event dependent on
whether any other event occurred or not then the event is said to be dependent.
Example: When we have to draw two coins from a bag of 6 coins in which there are 3 kinds of
currencies in the form of coins. Two coins are in the Pakistani currency, two in the Indian rupee
and two are Saudi Riyals then the first draw of a coin can affect the occurrence of the draw of the
second coin in the form of increasing or decreasing a currency in the bag.
Example: 5! / 2!3!
=5*4*3! / 2*1*3!
= 20/2
= 10
Factorial is denoted by !
Limit
𝐦
P (A) = 𝐧 → ∞ 𝐧
Which says that random experiment is performed a large number of times which is n and the
event A is occurred as m times.
3. Subjective Definition: In this definition, it is the strength which says that how much a person
believes about the occurrence of a certain event. It has a drawback which is that two persons
having some beliefs may yield different probabilities.
a) Number 6
Let A, The event that number 6 occurs
So n= 1
P(A)= 1/6
b) No number 6
Let B the event that no number 6 will occur
n(B)=5
P(B)= 5/6
P(C)= 1/6
Question no 2: There are eight pencils in a box in which four are of green color and four
are of orange color. If 4 pencils are taken from the box, find the probability that among
these selected pencils 2 are of green color and 2 are of orange color?
S = (84) = 70
Let A represent the event that 2 are of green color and 2 are of orange color:
A = (42)(42)
LAWS OF PROBABILITY:
There are four laws of probability in which there are two laws for addition and two laws for
multiplication.
Addition laws are:
Example 1: A number is chosen from first 100 even numbers randomly. What is the
probability that the chosen number is divisible by 4 or by 10?
S = {2,4,6,8….100}
n (S) = 10
iii. (A∩B) be the event that integer chosen is divisible by 4 and 10 both.
That digit is 20.
𝟏𝟎𝟎
n (A∩B) = =5
𝟐𝟎
These laws show the intersection between two events. And are identified by the words joint,
both occurring, simultaneously.
Example: The probability that A will cook fish this winter is 3/7 and B will cook fish in this
winter is 6/4. What is the probability that both of them will cook fish?
Let A represent both will cook fish
P (A∩B) = P (A) ∙ P (B)
𝟑 𝟔
=𝟕∗𝟒
𝟏𝟖
= 𝟐𝟖
Example: A bag contains 5 defectives and 5 good bulbs. 2 are drawn and one of them is
tested and found to be bad. What is the probability that other two is also bad?
Bag contains= 5 Defective + 5 Good = 10
5
P (defective) = 10
5
P (good) = 10
Bay’s Theorem:
Statement: When the event A1, A2, ……. Ak forms a partition of the sample space S, such that
the events Ai are mutually exclusive and their union forms S and if B is such an another event of
S such that B can occur only once of the Ai occurs so than for any i
𝐁
𝐏 (𝐀𝐢 ) ∙𝐏 ( ⁄𝐀 )
𝐀
P ( 𝐢⁄𝐁) = (𝐀 ) 𝐁 𝐢
Ʃ𝐏 𝐢 ∙ 𝐏 ( ⁄𝐀
𝐢)
Example: In a stitching factory, three workers A, B and C stitch shirts with the probability
of 35, 45 and 20 percent respectively. Out of their outputs 3, 5 and 4 percent represents
torn shirts. A shirt is bought by a customer and found to be torn. What is the probability
that the shirt is made by worker B?
P (A) = 0.35
P (B) = 0.45
P (C) = 0.20
Let E represent the event that shirt is torn.
Then the conditional probabilities are
P (E/A) = 0.03
P (E/B) = 0.05
P (E/C) = 0.04.
Then by Bay’s Theorem
𝑷 (𝑩) ∙𝑷 (𝑬⁄𝑩)
P (𝑩⁄𝑬) = 𝑷 (𝑨) ∙𝑷 (𝑬⁄𝑨)+ 𝑷 (𝑩) ∙𝑷 (𝑬⁄𝑩)+ 𝑷 (𝑪) ∙𝑷 (𝑬⁄𝑪)
(0.45) ∙ (0.05)
P (𝐵⁄𝐸 ) = (0.35)(0.03) + (0.45)(0.05) + (0.20)(0.04)
=0.0225/ (0.0105+0.0225+0.008)
=0.0225/0.041
P (𝑩⁄𝑬) = 0.0635
RANDOM VARIABLE:
Variable: It’s value can vary from one place, object and individual to another.
Example: Weight, Height, age etc.
Random Variable: It is such a variable whose numerical value can be determined from the
result of a random experiment. In probability, a variable is called a random variable. The
abbreviation of random variable is “r.v” and it is denoted by x, y, z, or any alphabet.
Distribution Function: It is the function of the random variable which is denoted by F(x). The
function states that:
F(x) = P (x≤x).
It defines that the function of the event gives the probability that x can value a value which is
equal to the value of x or less than the value of x. The abbreviation of Distribution function is
d.f and it is also known as Cumulative Distribution Function (cdf).
Example: In a factory, 10 shirts are made on daily basis. 4 shirts are found to be torn.
Customer checks 3 shirts for purchasing. What is the probability distribution of shirts
which are torn?
Total shirts= 10
Torn Shirts= 4
Not torn shirts = 6
x=0,1,2,3
X P (X)
0 (40)(63) 𝟐𝟎
⁄ 10 =(1)(20)/120= 𝟏𝟐𝟎
(3)
1 (41)(62) 𝟔𝟎
⁄ 10 =(4)(15)/120=
(3) 𝟏𝟐𝟎
2 (42)(61) 𝟑𝟔
⁄ 10 =(6)(6)/120= 𝟏𝟐𝟎
(3)
3 (43)(60) 𝟒
⁄ 10 =(4)(1)/120= 𝟏𝟐𝟎
(3)
Continuous Variable: A continuous variable is a variable which can take each and every value
with a given interval as it is measurable.
Example: Temperature, height, etc.
𝒙𝟑 𝒙𝟒
𝟑. ∫ 𝒙𝟐 = 4. ∫ 𝒙𝟑 =
𝟑 𝟒
Example: If f(x) = 3x with the limit specified 0 < x < 1, then find:
i. P (x = 1/3)
= 3/2 [(x2/2)]1/3
= 3/2 [[x2]1/3]
= 3/2 (1/3)2 – (0)2
=3/2 (1/9)
P(x ≤ ½) = 1/6
3 1⁄
= 2 (𝑥 2 )1⁄2
3
3 1⁄
= 2 (𝑥 2 )1⁄2
3
2 2
= (1⁄2) − (1⁄3)
1 1
= −
4 9
9−4
= 36
Example: In a factory, 10 shirts are made on daily basis. 5 shirts are found to be torn.
Customer checks 3 shirts for purchasing. What is the probability distribution of shirts
which are torn and Find the mean, variance and standard deviation of the data?
Total shirts= 10
Torn Shirts= 5
Not torn shirts = 5
x=0,1,2,3
X P (X) XP(X) X2P(X)
0 (50)(53) 10 0 0
⁄ 10 =(1)(10)/120= 120
(3)
= 0.58
= √0.58
= 0.7615
Question: For the function f(x) = 3x and the limit is 0 ≤ 𝒙 ≤ 1. Find mean and variance.
= (13 − 03 )
E (X) = 1
1
E (X2) = ∫0 𝑥 2 ∙ 3𝑥 𝑑𝑥
1
= 3 ∫0 𝑥 3 𝑑𝑥
3
= 4 (𝑥 4 )10
= ¾ (14 – 04)
E (X2) = ¾ = 0.75