1. Home
  2. Explore
  3. Statistics
  4. Introduction to Statistics

Study methods

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

Introduction to Statistics

  • 50Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Random Variables & Probability

What does an experimental result represent in the framework of random variables?

50 questions

  1. 1

    What does an experimental result represent in the framework of random variables?

    1. A

      It is a probability distribution rather than an observed outcome.

    2. B

      It is one realization selected from the possible values of a random variable.

    3. C

      It is the average of every possible value of a random variable.

    4. D

      It is a fixed value that cannot vary across repeated experiments.

    Correct answer
    B

    It is one realization selected from the possible values of a random variable.

    Explanation

    Before an experiment, a random variable represents possible outcomes; performing the experiment produces one realization from those possibilities.

  2. 2

    Why can repeated measurements under the same experimental conditions produce different results?

    1. A

      Experimental measurements can vary randomly, so each repetition may produce a different realization.

    2. B

      Repeating a measurement necessarily changes the quantity being measured.

    3. C

      A random variable produces the same result only when the experiment is performed once.

    4. D

      The probability distribution changes completely after each measurement.

    Correct answer
    A

    Experimental measurements can vary randomly, so each repetition may produce a different realization.

    Explanation

    Experimental results are treated as random variables, so repeating the same procedure can produce different outcomes due to variability.

  3. 3

    Which description best distinguishes a discrete random variable from a continuous one?

    1. A

      A discrete variable has a probability distribution, while a continuous variable does not.

    2. B

      A discrete variable takes values from a set of distinct outcomes, while a continuous variable can take real-number values across a range.

    3. C

      A discrete variable must be categorical, while a continuous variable must be a whole-number count.

    4. D

      A discrete variable never varies between experiments, while a continuous variable always does.

    Correct answer
    B

    A discrete variable takes values from a set of distinct outcomes, while a continuous variable can take real-number values across a range.

    Explanation

    Discrete variables have distinct possible outcomes, such as counts or categories. Continuous variables, such as height or weight, can take values across a continuum.

  4. 4

    A study records whether each subject is classified as small, medium, or large. What type of variable is this?

    1. A

      A continuous variable with only three possible values

    2. B

      A fixed variable that cannot be random

    3. C

      A continuous variable measured on a real-number scale

    4. D

      A discrete variable with categorical outcomes

    Correct answer
    D

    A discrete variable with categorical outcomes

    Explanation

    Small, medium, and large are distinct categories, so this is a discrete categorical variable.

  5. 5

    Why can the number of animals surviving a treatment be considered a random variable, even though animals can be counted exactly?

    1. A

      A count becomes random only if the animals cannot be identified.

    2. B

      The number of survivors is continuous because each animal has a weight.

    3. C

      Counting the same group repeatedly changes the number of survivors.

    4. D

      Repeating the treatment experiment may produce a different number of survivors.

    Correct answer
    D

    Repeating the treatment experiment may produce a different number of survivors.

    Explanation

    The count in any one experiment is exact, but repeated experiments under the same conditions can yield different survivor counts.

  6. 6

    When two fair dice are rolled, what range of values can their sum take?

    1. A

      From 2 through 12

    2. B

      From 2 through 36

    3. C

      From 0 through 11

    4. D

      From 1 through 12

    Correct answer
    A

    From 2 through 12

    Explanation

    The minimum sum is 1+1=21+1=21+1=2, and the maximum is 6+6=126+6=126+6=12.

  7. 7

    Why is a sum of 7 more likely than a sum of 2 when rolling two fair dice?

    1. A

      Six dice combinations produce 7, while only one combination produces 2.

    2. B

      A sum of 2 requires both dice to be even, while 7 requires only one die.

    3. C

      There are more dice faces labeled 7 than faces labeled 2.

    4. D

      Seven is the average of the dice, so it has no competing outcomes.

    Correct answer
    A

    Six dice combinations produce 7, while only one combination produces 2.

    Explanation

    The sum 7 can result from six ordered combinations, while 2 can result only from 1+11+11+1. Each of the 36 ordered dice combinations is equally likely.

  8. 8

    How is the probability of a particular two-dice sum calculated from the 36 equally likely ordered outcomes?

    1. A

      Divide the number of possible sums by the number of combinations producing that sum.

    2. B

      Divide the number of combinations producing that sum by 36.

    3. C

      Divide 36 by the number of combinations producing that sum.

    4. D

      Add the two die values and divide by 36.

    Correct answer
    B

    Divide the number of combinations producing that sum by 36.

    Explanation

    The probability of an outcome is the number of equally likely combinations producing it divided by the total number of combinations, which is 36.

  9. 9

    For a discrete random variable, what does P(X=k)P(X=k)P(X=k) mean?

    1. A

      The probability that the random variable XXX takes the value kkk

    2. B

      The average value of XXX across all possible outcomes

    3. C

      The probability that XXX is greater than kkk

    4. D

      The number of experiments in which XXX equals kkk

    Correct answer
    A

    The probability that the random variable XXX takes the value kkk

    Explanation

    In this notation, XXX names the random variable, kkk is a possible outcome, and P(X=k)P(X=k)P(X=k) is the probability of that outcome.

  10. 10

    If the probabilities of several mutually exclusive discrete outcomes are known, how can the probability of obtaining one of those outcomes be found?

    1. A

      Multiply the probabilities of all the included outcomes.

    2. B

      Divide the largest probability by the number of outcomes.

    3. C

      Subtract the smallest probability from the largest probability.

    4. D

      Add the probabilities of the included outcomes.

    Correct answer
    D

    Add the probabilities of the included outcomes.

    Explanation

    Probabilities of distinct outcomes are additive. For example, the probability that XXX is between 5 and 7 inclusive is the sum of the probabilities for 5, 6, and 7.

  11. 11

    For a continuous random variable, how is probability over an interval represented using its density function?

    1. A

      As the height of the density curve at the interval midpoint

    2. B

      As the area under the density curve over that interval

    3. C

      As the number of possible values within the interval

    4. D

      As the density value at the upper endpoint only

    Correct answer
    B

    As the area under the density curve over that interval

    Explanation

    For a continuous variable, probability over a range is the integral of the density across that range, geometrically the area under the curve.

  12. 12

    Why is the probability that a continuous random variable equals exactly 10 equal to zero?

    1. A

      A continuous variable can never take the value 10.

    2. B

      A single value corresponds to an interval of zero width and therefore zero area under the density.

    3. C

      The density function must be zero at every whole number.

    4. D

      The probability is undefined whenever a variable is measured continuously.

    Correct answer
    B

    A single value corresponds to an interval of zero width and therefore zero area under the density.

    Explanation

    The probability of an exact continuous value is the area over an interval of zero width, which is zero. Probabilities are instead considered over ranges or tails.

  13. 13

    What does a tail probability for a continuous variable describe?

    1. A

      The height of the density curve at its highest point

    2. B

      The number of outcomes between the mean and the threshold

    3. C

      The probability that the variable lies beyond a specified threshold

    4. D

      The probability that the variable equals the mean exactly

    Correct answer
    C

    The probability that the variable lies beyond a specified threshold

    Explanation

    A tail probability is the probability that a variable is greater than or less than a chosen limit. It is obtained from the area under the density in that tail.

  14. 14

    Which statements describe the mean and standard deviation of a normal distribution?

    1. A

      The mean marks its center, and the standard deviation describes its spread.

    2. B

      The mean describes its spread, and the standard deviation marks its center.

    3. C

      The mean determines whether it is discrete, and the standard deviation determines its possible categories.

    4. D

      The mean is always zero, and the standard deviation is always one.

    Correct answer
    A

    The mean marks its center, and the standard deviation describes its spread.

    Explanation

    A normal distribution is symmetric around its mean, while its standard deviation measures how spread out it is. Its variance is the square of its standard deviation, σ2\sigma^2σ2.

  15. 15

    Approximately what proportion of a normal distribution lies within one standard deviation of its mean?

    1. A

      About 95%

    2. B

      About 99.7%

    3. C

      About 50%

    4. D

      About 68.3%

    Correct answer
    D

    About 68.3%

    Explanation

    For a normal distribution, the interval from one standard deviation below the mean to one above it contains about 68.3% of the probability.

  16. 16

    Approximately what proportion of a normal distribution lies within 1.96 standard deviations of its mean?

    1. A

      About 50%

    2. B

      About 99.9%

    3. C

      About 95%

    4. D

      About 68.3%

    Correct answer
    C

    About 95%

    Explanation

    The interval from μ−1.96σ\mu-1.96\sigmaμ−1.96σ to μ+1.96σ\mu+1.96\sigmaμ+1.96σ contains approximately 95% of a normal distribution, leaving about 5% in the two tails combined.

  17. 17

    If the central 95% of a normal distribution is retained symmetrically, how much probability lies in each tail?

    1. A

      About 5% in each tail

    2. B

      About 0.5% in each tail

    3. C

      About 47.5% in each tail

    4. D

      About 2.5% in each tail

    Correct answer
    D

    About 2.5% in each tail

    Explanation

    The total probability outside the central 95% is 5%. With symmetric tails, this is divided equally, leaving 2.5% in each tail.

  18. 18

    What is the approximate odds interpretation of the 5% probability outside the central 95% normal range?

    1. A

      About one occurrence in 2 comparable cases

    2. B

      About 20 occurrences in every comparable case

    3. C

      About one occurrence in 20 comparable cases

    4. D

      About one occurrence in 100 comparable cases

    Correct answer
    C

    About one occurrence in 20 comparable cases

    Explanation

    A 5% probability corresponds to 1/201/201/20, or odds of about one in 20 under the stated probability model.

  19. 19

    Why might a 5% threshold be regarded differently in biology and physics, as described in the lecture?

    1. A

      Biology uses continuous variables, while physics uses only discrete variables.

    2. B

      Biological measurements are often noisier and more variable, while many physics experiments are more precise.

    3. C

      A 5% probability has a different mathematical value in each field.

    4. D

      Physics experiments never involve measurement uncertainty, while biological experiments always do.

    Correct answer
    B

    Biological measurements are often noisier and more variable, while many physics experiments are more precise.

    Explanation

    The lecture contrasts the variability and noise often encountered in biological subjects with the greater precision achievable in many physics experiments.

  20. 20

    Which real-world measurement was presented as being well approximated by a normal distribution?

    1. A

      Heights of major league baseball players

    2. B

      Numbers of bacterial colonies per plate

    3. C

      Counts of horse-kick deaths per army corps-year

    4. D

      Numbers of heads in eight coin tosses

    Correct answer
    A

    Heights of major league baseball players

    Explanation

    The heights of 1,034 major league baseball players were shown as an example whose distribution was well approximated by a normal curve.

  21. 21

    What defines a log-normal random variable?

    1. A

      Its probability is determined by the number of events in a fixed interval.

    2. B

      Its square is normally distributed.

    3. C

      Its logarithm is normally distributed.

    4. D

      Its values are equally likely across a logarithmic scale.

    Correct answer
    C

    Its logarithm is normally distributed.

    Explanation

    A variable is log-normal when taking its logarithm yields a variable with a normal distribution.

  22. 22

    What is a common visual feature of data that follow a log-normal distribution on their original scale?

    1. A

      They have equal probability at every value.

    2. B

      They contain only integer counts.

    3. C

      They always form a symmetric bell shape.

    4. D

      They are often strongly skewed rather than symmetric.

    Correct answer
    D

    They are often strongly skewed rather than symmetric.

    Explanation

    Log-normal data often appear asymmetric and skewed on the original scale, while their logarithms may look more nearly normal.

  23. 23

    What is a suitable first step when preparing high-throughput measurements that are log-normally distributed for visualization?

    1. A

      Plot them on a logarithmic scale so that patterns across the range are easier to see.

    2. B

      Replace each measurement with its rank and discard the original values.

    3. C

      Round all measurements to the nearest integer before plotting them.

    4. D

      Plot only the largest measurements on a linear scale.

    Correct answer
    A

    Plot them on a logarithmic scale so that patterns across the range are easier to see.

    Explanation

    High-throughput measurements such as RNA-seq, microarray, and mass-spectrometry data are often log-normally distributed. A logarithmic plot can reveal structure that is obscured on a linear scale.

  24. 24

    Why can log-transforming a strongly skewed data set be useful before analysis?

    1. A

      It removes all measurement variability from the data.

    2. B

      It converts every continuous measurement into a discrete count.

    3. C

      It guarantees that every observation becomes exactly equal to the mean.

    4. D

      It can make the distribution more nearly normal, making some statistical methods more appropriate.

    Correct answer
    D

    It can make the distribution more nearly normal, making some statistical methods more appropriate.

    Explanation

    Taking logarithms can make log-normal data more symmetric and closer to a normal distribution. The transformation does not guarantee perfect normality or remove variability.

  25. 25

    Which set of measurements was identified as often being log-normally distributed?

    1. A

      Human heights, mouse counts, and survival outcomes

    2. B

      RNA-seq, microarray, mass-spectrometry, and drug-potency measurements

    3. C

      Only measurements that are already normally distributed

    4. D

      Dice sums, coin outcomes, and categorical size labels

    Correct answer
    B

    RNA-seq, microarray, mass-spectrometry, and drug-potency measurements

    Explanation

    The lecture identified several high-throughput measurements, including RNA-seq, microarrays, mass spectrometry, and drug potency such as IC50IC_{50}IC50​, as commonly log-normal.

  26. 26

    Why can a logarithmic plot be easier to interpret in base 10 than in base 2 for some presentations?

    1. A

      A base-10 logarithm always makes the data normally distributed.

    2. B

      Powers of 10 map directly to familiar decimal magnitudes, such as log⁡10(100000)=5\log_{10}(100000)=5log10​(100000)=5.

    3. C

      A base-2 logarithm cannot be used to plot experimental data.

    4. D

      A base-10 logarithm preserves all original values without transformation.

    Correct answer
    B

    Powers of 10 map directly to familiar decimal magnitudes, such as log⁡10(100000)=5\log_{10}(100000)=5log10​(100000)=5.

    Explanation

    The lecture notes that a base-10 scale can be easier to interpret because decimal magnitudes are familiar. Other logarithm bases are also valid if used consistently.

  27. 27

    What kind of observations are commonly modeled by a Poisson distribution?

    1. A

      Continuous measurements of height across a population

    2. B

      Successes in a fixed number of trials with two possible outcomes

    3. C

      Measurements whose logarithms follow a normal distribution

    4. D

      Counts of events within a defined time or space bin

    Correct answer
    D

    Counts of events within a defined time or space bin

    Explanation

    The Poisson distribution models counts per bin, where the bin can be defined over time, space, or a combination of them.

  28. 28

    Which set of examples consists of counts that may be modeled by a Poisson distribution?

    1. A

      Successes and failures in a fixed number of coin tosses

    2. B

      The mean and standard deviation of a normal curve

    3. C

      Mouse weights, human heights, and protein abundance on a logarithmic scale

    4. D

      Radioactive decays per second, deaths in a population, and mutations in a DNA fragment

    Correct answer
    D

    Radioactive decays per second, deaths in a population, and mutations in a DNA fragment

    Explanation

    The lecture gives radioactive decays per second, deaths in a population, cells in a counting chamber, and mutations in a DNA fragment as count examples.

  29. 29

    Which conditions were emphasized as important for a Poisson model of event counts?

    1. A

      Each trial has exactly two outcomes, and the number of trials is fixed.

    2. B

      Every event is caused by the preceding event, and all counts are identical.

    3. C

      Events are random, and the observations are independent of one another.

    4. D

      The measured variable is continuous, and its logarithm is symmetric.

    Correct answer
    C

    Events are random, and the observations are independent of one another.

    Explanation

    The lecture describes Poisson counts as arising naturally from random, independent events. Dependence between events can make the model unsuitable.

  30. 30

    Why might bacterial colonies that clump together cause plate counts to depart from a Poisson distribution?

    1. A

      Clumping makes the mean count equal to the standard deviation.

    2. B

      Clumping guarantees that every plate has the same number of colonies.

    3. C

      Clumping turns the count into a continuous measurement.

    4. D

      Clumping violates the assumption that counted events occur independently.

    Correct answer
    D

    Clumping violates the assumption that counted events occur independently.

    Explanation

    If bacteria are not uniformly distributed because they clump, the counts are no longer independent in the relevant way, so a Poisson model may not fit.

  31. 31

    What relationship holds among the mean, variance, and standard deviation of a Poisson distribution with mean μ\muμ?

    1. A

      The variance is μ\sqrt{\mu}μ​, and the standard deviation is μ\muμ.

    2. B

      The variance is μ\muμ, and the standard deviation is μ\sqrt{\mu}μ​.

    3. C

      The variance is μ\muμ, and the standard deviation is μ2\mu^2μ2.

    4. D

      The variance is μ2\mu^2μ2, and the standard deviation is μ\sqrt{\mu}μ​.

    Correct answer
    B

    The variance is μ\muμ, and the standard deviation is μ\sqrt{\mu}μ​.

    Explanation

    A Poisson distribution has one parameter, its mean μ\muμ. Its variance equals μ\muμ, so its standard deviation is μ\sqrt{\mu}μ​.

  32. 32

    How many parameters are needed to specify a Poisson distribution, and what parameter is it?

    1. A

      One parameter: the standard deviation only

    2. B

      Two parameters: the success probability and number of trials

    3. C

      One parameter: the mean μ\muμ

    4. D

      Two parameters: the mean and standard deviation

    Correct answer
    C

    One parameter: the mean μ\muμ

    Explanation

    Unlike a normal distribution, which has a mean and standard deviation, a Poisson distribution is specified by its mean μ\muμ.

  33. 33

    What happens to the shape of a Poisson distribution as its mean becomes larger?

    1. A

      It becomes more similar to a normal distribution.

    2. B

      It becomes more strongly concentrated at zero.

    3. C

      It becomes a binomial distribution with exactly two outcomes.

    4. D

      It becomes a continuous uniform distribution.

    Correct answer
    A

    It becomes more similar to a normal distribution.

    Explanation

    For higher means, the discrete Poisson distribution increasingly resembles a normal distribution.

  34. 34

    What did Bortkiewicz's analysis suggest about four horse-kick deaths in one Prussian army corps-year?

    1. A

      It showed that Poisson models cannot describe death counts.

    2. B

      It proved that the army records had to contain deliberate fraud.

    3. C

      Such a count could occur as a rare but expected outcome under a Poisson model.

    4. D

      It established that every corps-year should have exactly four deaths.

    Correct answer
    C

    Such a count could occur as a rare but expected outcome under a Poisson model.

    Explanation

    Bortkiewicz found the counts fit a Poisson distribution with a mean of about 0.7 deaths per corps-year. A count of four had probability about 0.078 in the described calculation and could occur by chance over repeated observations.

  35. 35

    In a binomial setting, what does each trial produce?

    1. A

      A continuous value chosen from an unbounded range

    2. B

      A category selected from any number of possible outcomes

    3. C

      One of two outcomes, usually called success and failure

    4. D

      A count that must equal the mean of the distribution

    Correct answer
    C

    One of two outcomes, usually called success and failure

    Explanation

    A binomial model concerns a series of trials, each with a success probability ppp and a failure probability 1−p1-p1−p.

  36. 36

    For a binomial process with success probability ppp, what is the probability of failure on a trial?

    1. A

      1−p1-p1−p

    2. B

      p/2p/2p/2

    3. C

      1+p1+p1+p

    4. D

      p2p^2p2

    Correct answer
    A

    1−p1-p1−p

    Explanation

    The two outcomes have probabilities that sum to 1, so the failure probability is 1−p1-p1−p.

  37. 37

    What quantity does a binomial distribution describe?

    1. A

      The probability of obtaining exactly kkk successes in nnn trials

    2. B

      The probability of measuring exactly one value from a continuous range

    3. C

      The probability that a variable lies within one standard deviation of its mean

    4. D

      The probability of observing kkk events per unit time with no fixed number of trials

    Correct answer
    A

    The probability of obtaining exactly kkk successes in nnn trials

    Explanation

    A binomial distribution gives the probabilities for the number of successes in a fixed series of nnn trials, each with success probability ppp.

  38. 38

    If a fair coin is tossed eight times and heads is called a success, what are nnn and ppp?

    1. A

      n=0.5n=0.5n=0.5 and p=8p=8p=8

    2. B

      n=8n=8n=8 and p=1p=1p=1

    3. C

      n=8n=8n=8 and p=0.5p=0.5p=0.5

    4. D

      n=4n=4n=4 and p=0.5p=0.5p=0.5

    Correct answer
    C

    n=8n=8n=8 and p=0.5p=0.5p=0.5

    Explanation

    There are eight trials, and a fair coin has a probability of 0.5 of landing heads on each toss.

  39. 39

    What is the mean of a binomial distribution with nnn trials and success probability ppp?

    1. A

      n(1−p)n(1-p)n(1−p)

    2. B

      n+pn+pn+p

    3. C

      np\sqrt{np}np​

    4. D

      npnpnp

    Correct answer
    D

    npnpnp

    Explanation

    The mean number of successes in a binomial distribution is npnpnp.

  40. 40

    Which expression gives the standard deviation of a binomial distribution?

    1. A

      np(1−p)n\sqrt{p(1-p)}np(1−p)​

    2. B

      np(1−p)np(1-p)np(1−p)

    3. C

      np\sqrt{np}np​

    4. D

      np(1−p)\sqrt{np(1-p)}np(1−p)​

    Correct answer
    D

    np(1−p)\sqrt{np(1-p)}np(1−p)​

    Explanation

    The binomial standard deviation is np(1−p)\sqrt{np(1-p)}np(1−p)​, where nnn is the number of trials and ppp is the success probability.

  41. 41

    Why is four heads much more likely than eight heads in eight tosses of a fair coin?

    1. A

      Eight heads is impossible when a coin is fair.

    2. B

      Four heads has a higher success probability than eight heads.

    3. C

      A coin is more likely to land heads on the fourth toss than on the eighth.

    4. D

      Many sequences produce four heads, while only one sequence produces eight heads.

    Correct answer
    D

    Many sequences produce four heads, while only one sequence produces eight heads.

    Explanation

    There are 70 sequences with exactly four heads, but only one sequence with eight heads. Each sequence of eight fair tosses is equally likely.

  42. 42

    Under what broad conditions can a binomial distribution be approximated by a normal distribution?

    1. A

      When the number of trials is one and the success probability is exactly 0

    2. B

      When the success probability is extremely small, regardless of the number of trials

    3. C

      Whenever the measured outcomes are continuous rather than discrete

    4. D

      When the number of trials is large and the success probability is not too close to 0 or 1

    Correct answer
    D

    When the number of trials is large and the success probability is not too close to 0 or 1

    Explanation

    For large numbers of trials and probabilities away from the extremes, a binomial distribution can look approximately normal.

  43. 43

    In R, what does a distribution function whose name begins with d generally return?

    1. A

      A quantile corresponding to a specified probability

    2. B

      A cumulative probability up to a specified value

    3. C

      A density value for a continuous distribution or a probability for a discrete outcome

    4. D

      A random sample generated from the distribution

    Correct answer
    C

    A density value for a continuous distribution or a probability for a discrete outcome

    Explanation

    In R's distribution-function naming convention, d functions return density values for continuous distributions and probability mass values for discrete distributions.

  44. 44

    In R, what does a distribution function whose name begins with p generally calculate?

    1. A

      The mean and variance of the distribution

    2. B

      The density at a specified value only

    3. C

      A cumulative probability up to a specified value

    4. D

      The value corresponding to a specified cumulative probability

    Correct answer
    C

    A cumulative probability up to a specified value

    Explanation

    A p function gives a cumulative probability, such as the probability that a random variable is less than or equal to a specified value.

  45. 45

    In R, what does a distribution function whose name begins with q generally return?

    1. A

      The cumulative probability at every possible value

    2. B

      The probability of exactly one discrete outcome

    3. C

      The density at the mean of a distribution

    4. D

      A quantile corresponding to a specified cumulative probability

    Correct answer
    D

    A quantile corresponding to a specified cumulative probability

    Explanation

    A q function inverts a cumulative distribution function: it returns the value corresponding to the supplied cumulative probability.

  46. 46

    For a normal distribution, what value is approximately returned by qnorm(0.975)?

    1. A

      1.001.001.00

    2. B

      1.961.961.96

    3. C

      0.0250.0250.025

    4. D

      0.9750.9750.975

    Correct answer
    B

    1.961.961.96

    Explanation

    A cumulative probability of 0.975 corresponds to approximately z=1.96z=1.96z=1.96. By symmetry, the interval from −1.96-1.96−1.96 to 1.961.961.96 contains about 95% of a normal distribution.

  47. 47

    Why is 0.975 used as the cumulative probability when finding the positive cutoff for a symmetric central 95% normal interval?

    1. A

      It includes the central 95% plus the 2.5% lower tail.

    2. B

      It is the probability outside the interval on both sides.

    3. C

      It is the probability that the variable equals the cutoff exactly.

    4. D

      It is the probability in one tail of the central 95% interval.

    Correct answer
    A

    It includes the central 95% plus the 2.5% lower tail.

    Explanation

    A symmetric central 95% interval leaves 2.5% in the lower tail. The cumulative probability at the positive cutoff is therefore 0.025+0.95=0.9750.025+0.95=0.9750.025+0.95=0.975.

  48. 48

    Which R function call calculates the probability of exactly two heads in eight tosses of a fair coin?

    1. A

      dbinom(2, size = 8, prob = 0.5)

    2. B

      dnorm(2, mean = 8, sd = 0.5)

    3. C

      pbinom(2, size = 8, prob = 0.5)

    4. D

      qbinom(2, size = 8, prob = 0.5)

    Correct answer
    A

    dbinom(2, size = 8, prob = 0.5)

    Explanation

    dbinom returns the probability mass for exactly the specified number of successes. Here, that is 2 successes among 8 trials with probability 0.5 per trial.

  49. 49

    How can the probability of obtaining at least six heads in eight fair-coin tosses be calculated using pbinom?

    1. A

      Use dbinom(5, size=8, prob=0.5)\texttt{dbinom}(5,\text{ size}=8,\text{ prob}=0.5)dbinom(5, size=8, prob=0.5) alone.

    2. B

      Use qbinom(6, size=8, prob=0.5)\texttt{qbinom}(6,\text{ size}=8,\text{ prob}=0.5)qbinom(6, size=8, prob=0.5).

    3. C

      Use 1−pbinom(5, size=8, prob=0.5)1-\texttt{pbinom}(5,\text{ size}=8,\text{ prob}=0.5)1−pbinom(5, size=8, prob=0.5).

    4. D

      Use pbinom(6, size=8, prob=0.5)\texttt{pbinom}(6,\text{ size}=8,\text{ prob}=0.5)pbinom(6, size=8, prob=0.5) alone.

    Correct answer
    C

    Use 1−pbinom(5, size=8, prob=0.5)1-\texttt{pbinom}(5,\text{ size}=8,\text{ prob}=0.5)1−pbinom(5, size=8, prob=0.5).

    Explanation

    pbinom(5, ...) gives the probability of at most five heads. Subtracting it from 1 gives the probability of six or more heads.

  50. 50

    Which statement about R's built-in distribution functions is supported by the lecture?

    1. A

      The d, p, and q prefixes refer to unrelated operations for every distribution.

    2. B

      Distribution functions in R can calculate densities but not cumulative probabilities or quantiles.

    3. C

      Many distributions use matching d, p, and q functions, available in base R without additional libraries.

    4. D

      Only the normal distribution has d, p, and q functions, and each requires an added library.

    Correct answer
    C

    Many distributions use matching d, p, and q functions, available in base R without additional libraries.

    Explanation

    The lecture describes a consistent d, p, and q naming pattern for many distributions, including normal, binomial, log-normal, and Poisson, available in base R.

Question 1 of 50
Question 1 of 50

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent