Theory Assignment 5
Theory Assignment 5
Theory Assignment-5
Due for Moodle submission on 19th April
Question 1: Suppose that n students are selected at random without replacement from a class
containing T students, of whom A are boys and T - A are girls. Let X denote the number of boys
that are obtained. Find the sample size n such that the variance of X is maximum.
Question 2: A new battery supposedly with a charge of 1.5 volts actually has a voltage with a
uniform distribution between 1.43 and 1.60 volts. Then,
a. What is the expectation and the standard deviation of the voltage?
b. What is its cumulative distribution function?
c. If a box contains 50 batteries, what is the expectation and variance of the number
of batteries in the box with a voltage less than 1.5 volts?
Question 3: Suppose we observe a random variable X and then based on it, we make an attempt
to predict the value of another random variable Y. Let g(X) be the predictor of Y. Then, find the
best possible predictor of Y.
Question 4: Passengers try to get a seat reservation in a train running between two stations. They
try until they are successful. If there the chance of getting reservation in an attempt by a passenger
is 30% then what is the average number of attempts that passengers need to get a seat reserved is?
Question 5: Your probability class has 300 students and each student has probability 1/3 of getting
an A, independently of any other student. What is the mean of X, the number of students that get
an A?
Question 6: Riya passes through four traffic lights on her way to work, and each light is equally
likely to be green or red, independently of the others.
(a) What is the PMF, the mean, and the variance of the number of red lights that she encounters?
(b) Suppose that each red light delays Riya by exactly two minutes. What is the variance of Riya’s
commuting time?
Question 7: Suppose that the number of visitors to a website follows a Poisson distribution with
a mean of 10 visitors per hour. What is the probability that the website will have at least one visitor
in the next 5 minutes?
Question 8: Suppose that a manufacturing company produces electronic components, and the
probability that a component is defective is 0.05. The company performs quality checks on each
component, and if a component is found to be defective, it is discarded. The company continues
to perform quality checks until the first non-defective component is found. Let X be the number
1
of defective components that are discarded before the first non-defective component is found.
What is the probability that at least two defective components are discarded before the first non-
defective component is found?
Question 9: You write a code over and over, and each time there is probability p that it works
correctly, independently from previous attempts. What is the mean of X, the number of tries until
the code works correctly?
Question 10: The joint probability density function of two random variable is
𝑓𝑋,𝑌 (𝑥, 𝑦) = 𝑘(𝑥 2 + 𝑦)
Where 2< x <3 and 0< y <2
Find the mean value of E(x)
0; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Calculate mean value E(X) for the given random variable
Question 15: Consider a one –dimensional random walk described as follows .An inebriated man
walking in a narrow hallway takes steps of equal length 𝑙. He steps forward with probability 𝑝 =
3/4 or backwards with probability 𝑞 = 1/4. Let X be the distance from the starting point after 100
steps.
2
a) What will be the mean value of X
b)What will be the variance of X