Course Test · University: first two years

Probability: test

The addition rule and counting, the birthday problem, hypergeometric, Poisson, geometric and exponential laws, expectation and variance, continuous densities, normal approximations and the central limit theorem, joint distributions and covariance, conditioning and Bayes, Markov chains and gambler's ruin, generating functions, order statistics, and the coupon collector.

Twenty exercises of the kind this course sets. Answers are on the independent answers page; the same exercises done with RatMath are on the RatMath answers page.

  1. 1.Addition rule
    P(A)=0.5P(A) = 0.5, P(B)=0.4P(B) = 0.4, P(A∩B)=0.2P(A \cap B) = 0.2. Find P(A∪B)P(A \cup B) and P(A∣B)P(A \mid B).
  2. 2.Birthday problem
    In a group of 23 people, what is the probability that two share a birthday (365 equally likely days)?
  3. 3.Hypergeometric
    A box has 8 red and 12 blue balls. Five are drawn without replacement. Find P(exactly 2 red)P(\text{exactly 2 red}).
  4. 4.Poisson
    Calls arrive at 3 per minute (Poisson). Find P(X=2)P(X = 2) and P(X≥1)P(X \ge 1) in one minute.
  5. 5.Geometric
    A die is rolled until the first 6. Find the expected number of rolls and the probability the first 6 is on roll 4.
  6. 6.Sum of two dice
    Find the mean and variance of the sum of two fair dice.
  7. 7.A continuous density
    f(x)=cx2f(x) = cx^2 on [0,2][0, 2]. Find cc, E[X]E[X] and Var⁡X\operatorname{Var} X.
  8. 8.Exponential and memorylessness
    A bulb's life is exponential with mean 10 years. Find P(X>15)P(X > 15), and P(X>25∣X>10)P(X > 25 \mid X > 10).
  9. 9.Normal tail
    IQ is normal with mean 100 and SD 15. What fraction score above 130?
  10. 10.Central limit theorem
    100 fair dice are rolled. Estimate P(sum≥370)P(\text{sum} \ge 370) with the normal approximation, and give the exact value.
  11. 11.Covariance
    (X,Y)(X, Y) takes (0,0),(0,1),(1,0),(1,1)(0,0), (0,1), (1,0), (1,1) with probabilities 0.4, 0.1, 0.2, 0.3. Find Cov⁡(X,Y)\operatorname{Cov}(X, Y).
  12. 12.Conditioning
    Roll a die. If it is even, flip two coins; otherwise flip one. What is the expected number of heads?
  13. 13.Bayes with urns
    Urn 1 has 3 red and 2 blue balls, urn 2 has 1 red and 4 blue. An urn is chosen at random and a red ball drawn. What is the probability it came from urn 1?
  14. 14.Stationary distribution
    Find the stationary distribution of the chain with transition matrix (0.90.10.50.5)\begin{pmatrix} 0.9 & 0.1 \\ 0.5 & 0.5 \end{pmatrix}.
  15. 15.Gambler's ruin
    A gambler with \$3 bets \$1 at a time, winning each bet with probability 0.4, until reaching \$10 or \$0. What is the probability of reaching \$10?
  16. 16.Moment generating function
    The MGF of a Poisson(λ\lambda) variable is M(t)=eλ(et−1)M(t) = e^{\lambda(e^t - 1)}. Use it to find E[X2]E[X^2].
  17. 17.A transformed variable
    XX is uniform on (0,1)(0, 1) and Y=X2Y = X^2. Find the density of YY and P(Y≤14)P(Y \le \tfrac14).
  18. 18.Order statistics
    Find the expected maximum of three independent uniform (0,1)(0, 1) variables.
  19. 19.Coupon collector
    How many rolls of a die are expected before every face has appeared?
  20. 20.Matching problem
    Ten letters go into ten envelopes at random. Find the expected number in the right envelope and the probability that none is.