1. Home
  2. Explore
  3. Computer Science
  4. Probability and Federalist Papers

Study methods

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

Probability and Federalist Papers

  • 25Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Normal Distribution
The probability that a normal random variable XXX with mean μ\muμ and variance σ2\sigma^2σ2 is less than a value xxx is given by Φ\PhiΦ of
.

25 questions

  1. 1
    The probability that a normal random variable XXX with mean μ\muμ and variance σ2\sigma^2σ2 is less than a value xxx is given by Φ\PhiΦ of
    _____
    .
    Hint

    Think about standardization: subtract the mean and divide by the standard deviation.

    Answer

    x−μσ\frac{x - \mu}{\sigma}σx−μ​

  2. 2
    The normal CDF is
    _____
    increasing, meaning that as the input value grows, the probability that the random variable is less than it can only go up.
    Hint

    Consider the shape of a cumulative function: it never decreases.

    Answer

    monotonically

  3. 3
    To find the input value xxx such that P(X<x)=pP(X < x) = pP(X<x)=p for a normal random variable, we use the
    _____
    of Φ\PhiΦ.
    Hint

    This function is applied to the probability to get the z-score.

    Answer

    inverse

  4. 4
    The inverse Φ\PhiΦ of 0.99999 is approximately
    _____
    .
    Hint

    This value is around 3.7 standard deviations above the mean.

    Answer

    3.71902

  5. 5
    The probability density function (PDF) of a normal distribution is the
    _____
    of its cumulative distribution function (CDF).
    Hint

    One is the rate of change of the other.

    Answer

    derivative

  6. 6
    The function Φ(z)\Phi(z)Φ(z) is technically the CDF of a
    _____
    normal distribution.
    Hint

    This distribution has mean 0 and variance 1.

    Answer

    standard

  7. 7
    A standard normal random variable has mean
    _____
    and variance 1.
    Hint

    It is centered at zero.

    Answer

    0

  8. 8
    The logarithm of a product equals the
    _____
    of the logarithms.
    Hint

    This property simplifies multiplication.

    Answer

    sum

  9. 9
    In computing, log probabilities are preferred over raw probabilities because they avoid
    _____
    issues when multiplying many small numbers.
    Hint

    Computers have limited precision for very small numbers.

    Answer

    underflow

  10. 10
    When calculating the probability of a document under a model by multiplying many word probabilities, the result may be computed as zero due to
    _____
    .
    Hint

    The product of many small numbers can become too small to represent.

    Answer

    underflow

  11. 11
    The joint probability mass function gives the probability that X=xX = xX=x
    _____
    Y=yY = yY=y.
    Hint

    It's a simultaneous assignment.

    Answer

    and

  12. 12
    In a joint probability table, the sum of all entries must equal
    _____
    .
    Hint

    It covers all possible outcomes.

    Answer

    1

  13. 13
    To obtain the marginal probability P(X=x)P(X = x)P(X=x) from a joint PMF, we sum over all
    _____
    of YYY.
    Hint

    You eliminate the other variable.

    Answer

    values

  14. 14
    The term "marginal" in marginal probability comes from the practice of writing these sums in the
    _____
    of a joint probability table.
    Hint

    Literally where you write extra numbers.

    Answer

    margins

  15. 15
    Marginalization is justified by the law of
    _____
    probability.
    Hint

    It relates unconditional probabilities to conditional probabilities.

    Answer

    total

  16. 16
    If we have KKK random variables each taking ddd values, the size of a full joint probability table is
    _____
    .
    Hint

    It grows exponentially.

    Answer

    dKd^KdK

  17. 17
    For three random variables, a joint probability table can be visualized as a
    _____
    .
    Hint

    Think 3D.

    Answer

    cube

  18. 18
    The number of distinct permutations of the letters in "MISSISSIPPI" is given by 11!/(1!4!4!2!)11!/(1!4!4!2!)11!/(1!4!4!2!) which is an example of the
    _____
    coefficient.
    Hint

    It generalizes the binomial coefficient.

    Answer

    multinomial

  19. 19
    The multinomial distribution generalizes the binomial distribution to scenarios with more than
    _____
    outcomes.
    Hint

    Binomial has two outcomes.

    Answer

    two

  20. 20
    In spam detection using a multinomial model, documents are modeled as outcomes from a dice with outcomes corresponding to
    _____
    .
    Hint

    Not numbers, but linguistic units.

    Answer

    words

  21. 21
    For authorship attribution, we compare P(author∣document)P(\text{author}|\text{document})P(author∣document) for different authors using
    _____
    theorem.
    Hint

    It relates conditional probabilities.

    Answer

    Bayes'

  22. 22
    To set a fair prior for authorship, we can set $P(\text{Hamilton}) =
    _____
    .
    Hint

    It should equal the prior for Madison.

    Answer

    12\frac{1}{2}21​

  23. 23
    When comparing two authors, the ratio P(Hamilton∣document)P(Madison∣document)\frac{P(\text{Hamilton}|\text{document})}{P(\text{Madison}|\text{document})}P(Madison∣document)P(Hamilton∣document)​ can be computed without needing the
    _____
    probability of the document.
    Hint

    It cancels out in division.

    Answer

    marginal

  24. 24
    In the ratio for authorship, the multinomial coefficient cancels because it depends only on the
    _____
    of words, not the author.
    Hint

    They are the same for both authors.

    Answer

    counts

  25. 25
    In the starter code, the probability of the document under both Hamilton and Madison was computed as
    _____
    due to numerical underflow.
    Hint

    The product of many small numbers.

    Answer

    zero

1 of 25
Question 1 of 25

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent