231fa23003 MS Ieee
231fa23003 MS Ieee
YEAR 2
PROBABILITY AND
SECTION A
STATISTICAL ANALYSIS
Hemanth (231fa23006)
DEPARTMENT – ACSE-DS
TARGET 3
Hari Sai Teja (231fa23017)
BATCH 4
Madhuri (231fa23035)
Akshaya (231fa23040)
Shanmukhi (231fa23073)
5C 2 × 8 c 1 × 6 C1 10× 8 ×6 480
10 5× 8 = = =
= 78 + 78 1 9 C4 3876 3876
0.1238
iii) P(4 Irish) = These variables are "continuous"
because there are no gaps between the
possible values.
6 C4 15
b) What is distribution function of
19 C 4 = 3876 = a random variable. Discuss it for
0.0039 discrete and continuous random
5) a) What are random variables? variable.
Explain discrete and continuous Ans :
random variable.
The distribution function of a
Ans : random variable, also known as the
Random variables are cumulative distribution function (CDF),
mathematical concepts used to represent describes the probability that the
and analyze uncertain outcomes in variable takes on a value less than or
probability theory. They're essentially equal to a specific value.
variables whose possible values are For both discrete and continuous
determined by chance. random variables, the CDF is defined
There are two main types of random as:
variables: discrete and continuous. F(x) = P(X ≤ x)
Discrete Random where F(x) is the CDF, X is the
Variables : Discrete random variables random variable, and x is a specific
can only take on a countable number of value.
distinct, separate values.
Discrete Random Variables:
Think of it like flipping a coin - you
can only get heads or tails, two distinct For discrete random variables, the
outcomes. CDF is a step function that jumps at
each possible value of the variable.
Think of it like a staircase. The CDF
Other examples include:- Rolling a starts at 0 and increases by the
die (1, 2, 3, 4, 5, or 6) probability of each discrete value as x
increases.
-Number
of students in a class (1, 2, 3, ...) Example:
These variables are "discrete" Suppose X is the number of heads
because there are gaps between the in a single coin flip (0 or 1).
possible values. The CDF would be: F(x) = 0 for x <
Continuous Random 0F(x) = 0.5 for 0 ≤ x < 1F(x) = 1 for x ≥
Variables : Continuous random 1
variables, on the other hand, can take on Continuous Random Variables:
any value within a certain range or
interval. For continuous random
variables, the CDF is a continuous
Think of it like measuring the height function that smoothly increases as x
of a person - you can get any value increases. The CDF starts at 0 and
within a range (e.g., 150.5 cm, 162.8 increases to 1 as x approaches infinity.
cm, etc.) Other examples include:-
Temperature (any value between -20°C Example:
and 50°C) Suppose X is the height of a
- Time it person (a continuous variable).
takes to complete a task (any value The CDF might look like:
between 0 and 100 minutes)
F(x) = 0 for x < 150 (nobody is
shorter than 150 cm)
F(x) = 0.2 for x = 160 (20% of Conditional probability is the
people are shorter than 160 cm) probability of an event occurring given that
F(x) = 0.5 for x = 170 (50% of another event has already occurred which
people are shorter than 170 cm) is the probability of event A happening
given that event B has already occurred.
F(x) = 0.8 for x = 180 (80% of This means that the probability of A
people are shorter than 180 cm) happening given B is equal to the
F(x) = 1 for x ≥ 200 (almost nobody probability of both A and B happening,
is taller than 200 cm) divided by the probability B.
c) A random variable X has the Bayes' Theorem:
following probability function Bayes' Theorem is a mathematical
formula used to determine conditional
probability. It relates the conditional and
(i) Evaluate K marginal probabilities of random events.
(ii) Evaluate P(X < 6), P( X <=6 ) and P(0 < Where:
X < 5).
• P(A∣B) is the posterior probability: the
1 probability of event A occurring given that
(iii) If P( X <=k) > 2 , find the minimum B is true.
value of ‘k’ and determine the
distribution function of X • P(B∣A) is the likelihood: the probability of
B given A.
6th Question:
• P(A) probability: the probability of A
a) Explain the conditional probability. occurring before considering B.
b) What do you understand by Bayes • P(B)is the marginal likelihood: the total
theorem? What are its applications? probability of B occurring under all
c) During a cruel dictator’s administration, scenarios.
many people were killed by his military 10.
people.
a) Obtain the mean and variance of
d) After the dictator’s era, in one of his rectangular distribution.
killing-fields a team of forensic
investigators found a b)Buses arrive at a specified stop at 15-
minute intervals starting at 7 a.m. That is,
corpse that was frozen under a heap of they arrive at 7, 7.15, 7.30, 7.45 a.m. and
ice. During autopsy, the forensic people so on. If a passenger arrives at the stop at a
witnessed time that is uniformly distributed between
that the victim was killed by three 7 and 7.30 a.m., find the probability that he
modes of execution viz hanged up by waits
gallows, supplied (i) Less than 5 minutes for a bus
venom injection and stabbed with a (ii) More than 10 minutes for a bus.
knife. From the scene of crime, they found
some c) The savings bank account of a
customer showed an average balance of Rs.
possibilities of the cause of death which 150 and a S.D. of Rs. 50. Assuming that
would be 10% due to venom injection, the account balances are normally
12% due to distributed
stabbing with a knife and 16% due to (i) What percentage of account is over Rs.
hanged in the gallows. They want to find 200?
the time of
(ii) What percentage of account is between Rs.
death for this, they have to calculate the 120 and Rs. 170?
cause of death first.Can you help them?
(iii) What percentage of account is less than Rs.
Conditional Probability: 75?
(iv) What percentage of account is(xxxiii) Let's calculate the probability that the
more than Rs. 75? passenger waits:
(v) The rectangular distribution, also known as (xxxiv) Less than 5 minutes:
the uniform distribution, has a probability (xxxv) The passenger will wait less than 5 minutes
density function (PDF) given by: if they arrive between:-
(vi) f(x) = 1 / (b - a) for a ≤ x ≤ b where a and b (xxxvi) 7:10 and 7:15 (5 minutes before the 7:15
are the lower and upper bounds of the bus)- 7:25 and 7:30 (5 minutes before the
distribution. 7:30 bus)
(vii) Mean: (xxxvii) Probability = (5 + 5) / 30 = 10 / 30 = 1/3
(viii) The mean (μ) of the rectangular(xxxviii) More than 10 minutes:
distribution is:
(xxxix) The passenger will wait more than 10
(ix) μ = (a + b) / 2 minutes if they arrive between:- 7:00 and
(x) Variance: 7:05 (more than 10 minutes before the 7:15
(xi) The variance (σ²) of the rectangular bus)-
distribution is: (xl) 7:15 and 7:20 (more than 10 minutes
(xii) σ² = (b - a)² / 12 before the 7:30 bus)
(xiii) These formulas are derived from the (xli) Probability = (5 + 5) / 30 = 10 / 30 = 1/3
definitions of mean and variance for (xlii) However, we need to consider the entire
continuous random variables. 30-minute interval:
(xiv) Derivations: (xliii) Probability = (15) / 30 = ½
(xv) Mean : (xliv) So, the probabilities are:-
(xvi) μ = ∫[a, b] x * f(x) (xlv) Less than 5 minutes: 1/3 or approximately
(xvii) dx= ∫[a, b] x / (b - a) 0.3333-