Introduction to Machine Learning · Instructor: Prof. Balaraman Ravindran
There are n bins of which the k-th bin contains k − 1 blue balls and n − k red balls. You pick a bin at random and remove two balls at random without replacement. Find the probability that: • the second ball is red; • the second ball is red, given that the first is red.
A medical company touts its new test for a certain genetic disorder. The false negative rate is small: if you have the disorder, the probability that the test returns a positive result is 0.999. The false positive rate is also small: if you do not have the disorder, the probability that the test returns a positive result is only 0.005. Assume that 2% of the population has the disorder. If a person chosen uniformly from the population is tested and the result comes back positive, what is the probability that the person has the disorder?
In an experiment, n coins are tossed, with each one showing up heads with probability p independently of the others. Each of the coins which shows up heads is then tossed again. What is the probability of observing 5 heads in the second round of tosses, if we toss 15 coins in the first round and p = 0.4? (Hint: First find the mass function of the number of heads observed in the second round.)
Consider two random variables X and Y having joint density function \displaystyle f (x, y) = 2e^{−x−y} , 0 < x < y < ∞ . Are X and Y independent? Find the covariance of X and Y .
An airline knows that 5 percent of the people making reservations on a certain flight will not show up. Consequently, their policy is to sell 52 tickets for a flight that can hold only 50 passengers. What is the probability that there will be a seat available for every passenger who shows up?
Let X have mass function \displaystyle f(x) =\begin{cases} \{x(x+1) \}^{-1} & if \,\, x = 1,2,..., \\ 0 & otherwise, \end{cases} and let \displaystyle α ∈ \mathbb{R}. For what values of \displaystyle α is it the case that \displaystyle \mathbb{E}(X^α ) < ∞ ?
Is the following a distribution function? \displaystyle F(x) =\begin{cases} e^{-1/x} & x > 0 \\ 0 & otherwise, \end{cases} If so, give the corresponding density function. If not, mention why it is not a distribution function.
Can the value of a probability density function be greater than one? What about the cumu- lative distribution function?
You are given a biased coin with probability of seeing a head is p = 0.6 and probability of seeing a tail is q = 0.4. Suppose you toss the coin 10 times, what is the probability of you getting the head at most 2 times? Also, what is the probability of you getting the head for the first time on your fourth attempt?
Given a bag containing 6 red balls, 4 blue balls and 7 green balls, what is the probability that in 5 trials, at least 3 red balls are drawn from the bag?
In the experiment from the previous question, what is the probability of picking a red ball for the first time on the fourth attempt?