Everything Flashcards
(293 cards)
Expected number of rolls to see all six sides of a dice?
The Expected Value
It’s not hard to write down the expected number of rolls for a single die. You need one roll to see the first face. After that, the probability of rolling a different number is 5/6. Therefore, on average, you expect the second face after 6/5 rolls. After that value appears, the probability of rolling a new face is 4/6, and therefore you expect the third face after 6/4 rolls. Continuing this process leads to the conclusion that the expected number of rolls before all six faces appear is
6/6 + 6/5 + 6/4 + 6/3 + 6/2 + 6/1 = 14.7 rolls.
What are the parameters of a binomial distribution, and what do they represent?
The parameters are n (number of trials) and p (probability of success), where n represents the number of independent Bernoulli trials, and p is the probability of success in each trial.
Explain the formula for the probability mass function (PMF) of a binomial random variable.
The PMF is P(X = k) = (n choose k) * p^k * (1-p)^(n-k), where “n choose k” is the binomial coefficient.
What is the expected value (mean) of a binomial distribution?
Answer: E(X) = np
How can you approximate a binomial distribution using a normal distribution (Central Limit Theorem)?
For large n, a binomial distribution is approximated by a normal distribution with mean μ = np and variance σ^2 = np(1-p).
What is the continuity correction in the context of binomial distributions?
The continuity correction adjusts the boundaries when approximating a discrete binomial distribution with a continuous normal distribution.
State the 68-95-99.7 rule (empirical rule) for a Gaussian distribution.
Approximately 68% of data falls within 1 standard deviation, 95% within 2 standard deviations, and 99.7% within 3 standard deviations from the mean.
What is the standard form of the Gaussian probability density function?
f(x) = (1 / (σ√(2π))) * e^(-((x-μ)^2) / (2σ^2))
What is the mean and variance of the standard normal distribution?
The mean (μ) is 0, and the variance (σ^2) is 1.
What is the Z-score in a Gaussian distribution, and how is it calculated?
The Z-score measures the number of standard deviations a data point is from the mean. It’s calculated as Z = (X - μ) / σ.
What is the difference between a Gaussian distribution and a t-distribution?
A t-distribution has heavier tails and is used for smaller sample sizes, while a Gaussian distribution is suitable for larger samples.
What is the Poisson distribution used for, and what are its parameters?
The Poisson distribution models the number of events in a fixed interval of time or space. Its parameter is λ (the average rate of events).
Describe the exponential distribution and its key property.
The exponential distribution models the time between events in a Poisson process. It is memoryless, meaning the probability of an event occurring in the next moment doesn’t depend on the past.
Explain the log-normal distribution and when it’s used.
The log-normal distribution models data that is positive and skewed. It’s obtained by taking the exponential of normally distributed data.
How is the gamma distribution related to the exponential distribution?
The gamma distribution is a generalization of the exponential distribution and represents the sum of k exponential random variables.
In what situations is the Weibull distribution commonly used?
The Weibull distribution is used to model the time until a failure or event occurs and is often applied in reliability analysis.
What is the fundamental property of a Markov chain regarding state transitions?
The Markov property states that the probability of transitioning to a future state depends only on the current state, not the sequence of previous states.
What is a stationary distribution in the context of Markov chains?
A stationary distribution is a probability distribution that remains unchanged after each transition in a Markov chain.
What is an irreducible Markov chain, and why is it important?
An irreducible Markov chain can reach any state from any other state in a finite number of steps. It ensures the chain doesn’t get “stuck” in certain states.
What is the detailed balance equation, and how is it related to equilibrium in Markov chains?
The detailed balance equation ensures that in an ergodic Markov chain, the transition rates in one direction are equal to the rates in the reverse direction when the chain is in equilibrium.
What does the Chapman-Kolmogorov equation describe in a Markov chain?
The Chapman-Kolmogorov equation calculates the probability of being in a particular state after a series of transitions in a Markov chain.
What is the principle of linearity of expectation, and how is it used in probability and statistics?
Linearity of expectation states that the expected value of a sum of random variables is equal to the sum of their individual expected values. It is a powerful tool in probability theory.
How is the covariance of two random variables related to their independence?
Answer: If two random variables are independent, their covariance is zero. However, a covariance of zero doesn’t necessarily imply independence.
Question: What is the formula for calculating the variance of the sum of two random variables?
Answer: Var(X + Y) = Var(X) + Var(Y) + 2 * Cov(X, Y).