1. Home
  2. Explore
  3. Statistics
  4. Probability Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Probability Fundamentals

  • 53Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Counting and Complements
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is an outcome in an experiment that selects a group of 268 people from Stanford’s 17,000 people?

Tap to flipClick to flipspace

One particular subset of 268 people.

Or swipe the card

53 cards

  1. What is an outcome in an experiment that selects a group of 268 people from Stanford’s 17,000 people?

    One particular subset of 268 people.

  2. How many possible groups of 268 people can be selected from 17,000 people?

    (17000268)\binom{17000}{268}(26817000​).

  3. If you know 100 people among 17,000, how many groups of 268 contain none of those people?

    (16900268)\binom{16900}{268}(26816900​).

  4. How can you calculate the probability that a randomly selected group contains none of your friends?

    (16900268)(17000268)\frac{\binom{16900}{268}}{\binom{17000}{268}}(26817000​)(26816900​)​.

  5. If the probability of seeing no friends in the group is approximately 0.200.200.20, what is the probability of seeing at least one friend?

    1−0.20=0.801-0.20=0.801−0.20=0.80.

  6. Why can it be easier to calculate the probability of seeing no friends than the probability of seeing at least one?

    The no-friends case is one straightforward count; the at-least-one case includes groups with one, two, three, or more friends.

  7. What values can a probability take?

    A probability is between 000 and 111, inclusive.

  8. When are two events mutually exclusive?

    When they have no outcomes in common.

  9. What is the probability of EEE or FFF when the events are mutually exclusive?

    P(E∪F)=P(E)+P(F)P(E\cup F)=P(E)+P(F)P(E∪F)=P(E)+P(F).

  10. How does the addition rule extend to several mutually exclusive events?

    Add the probabilities of all the events.

  11. What is the complement rule for an event EEE?

    P(Ec)=1−P(E)P(E^c)=1-P(E)P(Ec)=1−P(E).

  12. How can the complement rule be derived from the probability axioms?

    EEE and EcE^cEc are mutually exclusive and together cover the sample space, so 1=P(E)+P(Ec)1=P(E)+P(E^c)1=P(E)+P(Ec); rearranging gives P(Ec)=1−P(E)P(E^c)=1-P(E)P(Ec)=1−P(E).

  13. What does the notation P(E∣F)P(E\mid F)P(E∣F) mean?

    The probability that EEE occurs given that FFF has occurred.

  14. What is the definition of conditional probability, assuming P(F)>0P(F)>0P(F)>0?

    P(E∣F)=P(E∩F)P(F)P(E\mid F)=\frac{P(E\cap F)}{P(F)}P(E∣F)=P(F)P(E∩F)​.

  15. How does observing that FFF occurred change the sample space for calculating P(E∣F)P(E\mid F)P(E∣F)?

    The possible outcomes are restricted to those in FFF.

  16. When calculating P(E∣F)P(E\mid F)P(E∣F), which outcomes count as favorable?

    Outcomes in both EEE and FFF, represented by E∩FE\cap FE∩F.

  17. When two fair dice are rolled, what is the probability that their sum is 444 before receiving any additional information?

    336=112\frac{3}{36}=\frac{1}{12}363​=121​.

  18. For two fair dice, what is the probability that their sum is 444 given that the first die shows 222?

    16\frac{1}{6}61​.

  19. For two fair dice, what is the probability that their sum is 444 given that the first die shows 111, 222, or 333?

    16\frac{1}{6}61​ in each case.

  20. For two dice, what is the probability that their sum is 444 given that the first die shows 666?

    000.

  21. For two fair dice, what is the probability that their sum is 777?

    636=16\frac{6}{36}=\frac{1}{6}366​=61​.

  22. How does the order of events differ between an intersection and a conditional probability?

    P(E∩F)=P(F∩E)P(E\cap F)=P(F\cap E)P(E∩F)=P(F∩E), but generally P(E∣F)≠P(F∣E)P(E\mid F)\ne P(F\mid E)P(E∣F)=P(F∣E).

  23. What is the chain rule for the probability that both EEE and FFF occur?

    P(E∩F)=P(F)P(E∣F)P(E\cap F)=P(F)P(E\mid F)P(E∩F)=P(F)P(E∣F); equivalently, P(E∩F)=P(E)P(F∣E)P(E\cap F)=P(E)P(F\mid E)P(E∩F)=P(E)P(F∣E).

  24. How can the chain rule be rearranged to express conditional probability?

    P(E∣F)=P(E∩F)P(F)P(E\mid F)=\frac{P(E\cap F)}{P(F)}P(E∣F)=P(F)P(E∩F)​, when P(F)>0P(F)>0P(F)>0.

  25. What does the chain rule mean in the sequence 'the baby poops and then cries'?

    The probability of both is the probability of pooping multiplied by the probability of crying given that the baby pooped.

  26. If a baby has probability 12\frac{1}{2}21​ of pooping and probability 12\frac{1}{2}21​ of crying given that she pooped, what is the probability that she both poops and cries?

    12×12=14\frac{1}{2}\times\frac{1}{2}=\frac{1}{4}21​×21​=41​.

  27. How can the chain rule be extended to three events?

    P(E1∩E2∩E3)=P(E1)P(E2∣E1)P(E3∣E1∩E2)P(E_1\cap E_2\cap E_3)=P(E_1)P(E_2\mid E_1)P(E_3\mid E_1\cap E_2)P(E1​∩E2​∩E3​)=P(E1​)P(E2​∣E1​)P(E3​∣E1​∩E2​).

  28. What is the law of total probability for an event EEE and a background event FFF?

    P(E)=P(E∩F)+P(E∩Fc)P(E)=P(E\cap F)+P(E\cap F^c)P(E)=P(E∩F)+P(E∩Fc).

  29. How can the two-event law of total probability be written using conditional probabilities?

    P(E)=P(E∣F)P(F)+P(E∣Fc)P(Fc)P(E)=P(E\mid F)P(F)+P(E\mid F^c)P(F^c)P(E)=P(E∣F)P(F)+P(E∣Fc)P(Fc).

  30. What properties must the background cases have for the law of total probability to apply?

    They must be mutually exclusive and collectively cover the sample space.

  31. How can the law of total probability be derived from mutually exclusive cases?

    Split EEE into its disjoint parts within each case, then add the probabilities of those parts.

  32. A bacterium has a 10%10\%10% chance of mutation, survives with probability 20%20\%20% if mutated, and survives with probability 1%1\%1% if not mutated. What is its overall survival probability?

    (0.10)(0.20)+(0.90)(0.01)=0.029(0.10)(0.20)+(0.90)(0.01)=0.029(0.10)(0.20)+(0.90)(0.01)=0.029, or 2.9%2.9\%2.9%.

  33. In the bacterial survival example, what is the probability of not having a mutation if the mutation probability is 0.100.100.10?

    1−0.10=0.901-0.10=0.901−0.10=0.90.

  34. What is Bayes’ theorem for reversing a conditional probability?

    P(F∣E)=P(E∣F)P(F)P(E)P(F\mid E)=\frac{P(E\mid F)P(F)}{P(E)}P(F∣E)=P(E)P(E∣F)P(F)​.

  35. What is the expanded form of Bayes’ theorem when FFF and FcF^cFc partition the outcomes?

    P(F∣E)=P(E∣F)P(F)P(E∣F)P(F)+P(E∣Fc)P(Fc)P(F\mid E)=\frac{P(E\mid F)P(F)}{P(E\mid F)P(F)+P(E\mid F^c)P(F^c)}P(F∣E)=P(E∣F)P(F)+P(E∣Fc)P(Fc)P(E∣F)P(F)​.

  36. What kind of probability question is Bayes’ theorem designed to answer?

    It finds the probability of a state or cause given an observation, using the probability of that observation given the state or cause.

  37. What is the prior probability in a Bayes’ theorem calculation?

    The probability of the hypothesis or state before observing the evidence.

  38. What is the likelihood in a Bayes’ theorem calculation?

    The probability of the evidence given the hypothesis, such as P(E∣F)P(E\mid F)P(E∣F).

  39. What is the posterior probability in a Bayes’ theorem calculation?

    The updated probability of the hypothesis after observing the evidence, such as P(F∣E)P(F\mid E)P(F∣E).

  40. Why is the denominator in Bayes’ theorem called a normalization term?

    It accounts for all ways the evidence could occur and scales the result into the desired conditional probability.

  41. In the spam example, what probabilities are needed to find P(spam∣contains “dear”)P(\text{spam}\mid\text{contains “dear”})P(spam∣contains “dear”)?

    P(spam)P(\text{spam})P(spam), P(“dear”∣spam)P(\text{“dear”}\mid\text{spam})P(“dear”∣spam), and P(“dear”∣not spam)P(\text{“dear”}\mid\text{not spam})P(“dear”∣not spam).

  42. A disease test has sensitivity 98%98\%98%, false-positive rate 1%1\%1%, and disease prevalence 0.5%0.5\%0.5%. What is the probability of disease given a positive test?

    (0.98)(0.005)(0.98)(0.005)+(0.01)(0.995)≈0.33\frac{(0.98)(0.005)}{(0.98)(0.005)+(0.01)(0.995)}\approx 0.33(0.98)(0.005)+(0.01)(0.995)(0.98)(0.005)​≈0.33, or about 33%33\%33%.

  43. Why can a positive test still imply a relatively low probability of disease when the disease is rare?

    Even a small false-positive rate applied to the much larger healthy population can produce many false positives.

  44. In a population where 0.5%0.5\%0.5% have a disease, approximately how many diseased and non-diseased people are there in a group of 1,000?

    About 555 diseased people and 995995995 non-diseased people.

  45. How can Bayes’ theorem be used to evaluate a multiple-choice answer?

    Use it to find the probability that a student knows the concept given that the student answered correctly.

  46. Why is knowing the probability of a correct answer given knowledge not enough by itself to find the probability of knowledge given a correct answer?

    The reverse conditional also depends on the prior probability of knowledge and the chance of a correct answer without knowledge.

  47. How can a large streaming service estimate the probability that a user watches a particular movie?

    Count the fraction of users who watched the movie.

  48. How does observing that a user watched one movie change the probability of their watching another?

    It changes the estimate to a conditional probability based on users who watched the observed movie.

  49. Can you define a conditional probability between two events even if the events seem unrelated?

    Yes. P(E∣F)P(E\mid F)P(E∣F) can be considered for any events when P(F)>0P(F)>0P(F)>0.

  50. Can conditioning on new information make an event more or less likely?

    Yes. A conditional probability may increase or decrease compared with the original probability.

  51. What does P(E∣Ec)P(E\mid E^c)P(E∣Ec) equal when P(Ec)>0P(E^c)>0P(Ec)>0?

    000.

  52. What does probability 000 mean, and what qualification may matter in continuous settings?

    An event with probability 000 is treated as impossible in the basic setting; in continuous settings, a particular exact value can have probability 000 without being impossible.

  53. Why is probability useful in data-driven computer science?

    It provides a mathematical language for reasoning about uncertainty in data.

Card 1 of 53
Card 1 of 53

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent