If some characters seem to be missing, it's because MathJax is not loaded correctly. Refreshing the page should fix it.

  1. [E] Given a uniform random variable in the range of inclusively. What’s the probability that ?
  2. [E] Can the values of PDF be greater than 1? If so, how do we interpret PDF?
  3. [E] What’s the difference between multivariate distribution and multimodal distribution?
  4. [E] What does it mean for two variables to be independent?
  5. [E] It’s a common practice to assume an unknown variable to be of the normal distribution. Why is that?
  6. [E] How would you turn a probabilistic model into a deterministic model?
  7. [H] Is it possible to transform non-normal variables into normal variables? How?
  8. [M] When is the t-distribution useful?
  9. Assume you manage an unreliable file storage system that crashed 5 times in the last year, each crash happens independently.
    1. [M] What's the probability that it will crash in the next month?
    2. [M] What's the probability that it will crash at any given moment?
  10. [M] Say you built a classifier to predict the outcome of football matches. In the past, it's made 10 wrong predictions out of 100. Assume all predictions are made independently., what's the probability that the next 20 predictions are all correct?
  11. [M] Given two random variables and . We have the values and for all values of and . How would you calculate ?
  12. [M] You know that your colleague Jason has two children and one of them is a boy. What’s the probability that Jason has two sons? Hint: it’s not .
  13. There are only two electronic chip manufacturers: A and B, both manufacture the same amount of chips. A makes defective chips with a probability of 30%, while B makes defective chips with a probability of 70%.
    1. [E] If you randomly pick a chip from the store, what is the probability that it is defective?
    2. [M] Suppose you now get two chips coming from the same company, but you don’t know which one. When you test the first chip, it appears to be functioning. What is the probability that the second electronic chip is also good?
  14. There’s a rare disease that only 1 in 10000 people get. Scientists have developed a test to diagnose the disease with the false positive rate and false negative rate of 1%.
    1. [E] Given a person is diagnosed positive, what’s the probability that this person actually has the disease?
    2. [M] What’s the probability that a person has the disease if two independent tests both come back positive?
  15. [M] A dating site allows users to select 10 out of 50 adjectives to describe themselves. Two users are said to match if they share at least 5 adjectives. If Jack and Jin randomly pick adjectives, what is the probability that they match?
  16. [M] Consider a person A whose sex we don’t know. We know that for the general human height, there are two distributions: the height of males follows and the height of females follows . Derive a probability density function to describe A’s height.
  17. [H] There are three weather apps, each the probability of being wrong ⅓ of the time. What’s the probability that it will be foggy in San Francisco tomorrow if all the apps predict that it’s going to be foggy in San Francisco tomorrow and during this time of the year, San Francisco is foggy 50% of the time?

    Hint: you’d need to consider both the cases where all the apps are independent and where they are dependent.

  18. [M] Given samples from a uniform distribution . How do you estimate ? (Also known as the German tank problem)
  19. [M] You’re drawing from a random variable that is normally distributed, , once per day. What is the expected number of days that it takes to draw a value that’s higher than 0.5?
  20. [M] You’re part of a class. How big the class has to be for the probability of at least a person sharing the same birthday with you is greater than 50%?
  21. [H] You decide to fly to Vegas for a weekend. You pick a table that doesn’t have a bet limit, and for each game, you have the probability of winning, which doubles your bet, and of losing your bet. Assume that you have unlimited money (e.g. you bought Bitcoin when it was 10 cents), is there a betting strategy that has a guaranteed positive payout, regardless of the value of ?
  22. [H] Given a fair coin, what’s the number of flips you have to do to get two consecutive heads?
  23. [H] In national health research in the US, the results show that the top 3 cities with the lowest rate of kidney failure are cities with populations under 5,000. Doctors originally thought that there must be something special about small town diets, but when they looked at the top 3 cities with the highest rate of kidney failure, they are also very small cities. What might be a probabilistic explanation for this phenomenon?

    Hint: The law of small numbers.

  24. [M] Derive the maximum likelihood estimator of an exponential distribution.

This book was created by Chip Huyen with the help of wonderful friends. For feedback, errata, and suggestions, the author can be reached here. Copyright ©2021 Chip Huyen.

results matching ""

    No results matching ""