Unit5 - Subjective Questions
MTH265 • Practice Questions with Detailed Answers
Define a Discrete Random Variable. Give an example to illustrate your definition.
Discrete Random Variable:
A random variable is a function that maps outcomes of a random experiment to real numbers. It is called discrete if it takes on a finite or countably infinite number of distinct values.
Example:
Consider the experiment of tossing two fair coins.
- Let be the random variable representing the number of heads obtained.
- The possible outcomes of the sample space are .
- The random variable maps these outcomes to real numbers:
- Here, can only take the discrete values . Thus, is a discrete random variable.
What is a Probability Mass Function (PMF)? State its fundamental properties.
Probability Mass Function (PMF):
The PMF is a function that gives the probability that a discrete random variable is exactly equal to some value. If is a discrete random variable, its PMF is denoted by or .
Fundamental Properties:
For any discrete random variable with possible values , the PMF must satisfy two main properties:
- Non-negativity: The probability of any specific outcome is always greater than or equal to zero.
- Summation to 1: The sum of the probabilities of all possible values in the sample space must equal exactly 1.
Explain the concept of Expected Value (Mathematical Expectation) for a discrete random variable.
Expected Value (Mathematical Expectation):
The expected value of a discrete random variable is a weighted average of all possible values that the variable can take on, where each value is weighted by its respective probability. It represents the "long-run average" value of the variable if the random experiment were repeated many times.
Formula:
If takes values with probabilities , the expected value (or ) is defined as:
Key Points:
- It is a measure of central tendency.
- does not have to be a value that can actually take (e.g., the expected value of a fair die roll is $3.5$).
State and explain the Linearity of Expectation. Provide its mathematical formula.
Linearity of Expectation:
The linearity of expectation is a fundamental property stating that the expected value of the sum of random variables is equal to the sum of their individual expected values, regardless of whether the random variables are independent or not.
Mathematical Formulas:
- Scaling and Shifting: For any random variable and constants and :
- Sum of Variables: For any random variables and :
- General Form: For a sequence of random variables and constants :
Significance:
It dramatically simplifies complex probability calculations, especially when dealing with the sum of indicator random variables.
Derive the formula for Variance from the standard definition of variance.
Derivation of Variance Formula:
The standard definition of variance for a random variable with expected value is the expected value of the squared deviation from the mean:
Steps:
- Expand the square inside the expectation:
- Apply the linearity of expectation ():
- Since is a constant, and :
- Substitute back into the equation:
- Simplify the expression:
This is often called the computational formula for variance.
Define a Bernoulli trial. How does it relate to the Binomial Distribution?
Bernoulli Trial:
A Bernoulli trial is a random experiment that has exactly two mutually exclusive possible outcomes, typically labeled as "success" and "failure".
- Let the probability of success be .
- Let the probability of failure be .
Relation to Binomial Distribution:
- A Binomial Distribution represents the number of successes in a fixed number of independent Bernoulli trials.
- If we repeat a Bernoulli trial times independently, and we define a random variable as the total number of successes in these trials, then follows a Binomial Distribution, denoted as .
- The probability of getting exactly successes is given by the PMF:
Derive the Expected Value of a Binomial Distribution.
Derivation of for Binomial Distribution:
Let . The PMF is where .
Method 1: Using Linearity of Expectation (Simpler)
- Express as the sum of independent Bernoulli trials: , where if the -th trial is a success, and $0$ otherwise.
- The expected value of a single Bernoulli trial is .
- By linearity of expectation:
Method 2: Using the Definition
Since the term is 0 when , we start from :
Cancel with the in the denominator:
Factor out and :
Let and . As goes from $1$ to , goes from $0$ to :
The sum is the binomial expansion of .
Thus, .
Explain the Poisson Distribution. Under what conditions is it an appropriate model?
Poisson Distribution:
The Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space, provided these events occur with a known constant mean rate and independently of the time since the last event.
Probability Mass Function:
If is a Poisson random variable with mean rate , its PMF is:
where
Appropriate Conditions:
- Independence: The occurrence of one event does not affect the probability of a second event.
- Constant Rate: The average rate () at which events occur is constant over the interval.
- Singularity: Two events cannot occur at exactly the same instant.
- Limiting Case: It is often used as an approximation to the Binomial distribution when the number of trials is very large, the probability of success is very small, and is finite.
Describe the Geometric Distribution and define its PMF.
Geometric Distribution:
The geometric distribution models the number of Bernoulli trials needed to get the first success. For example, flipping a coin repeatedly until a "Heads" appears.
Assumptions:
- The phenomenon being modeled consists of a sequence of independent trials.
- Each trial has only two possible outcomes (Success or Failure).
- The probability of success, , is the same for every trial.
Probability Mass Function (PMF):
Let be the number of trials needed to achieve the first success. The probability that the first success occurs on the -th trial requires exactly failures followed by $1$ success.
where and is the probability of success in a single trial.
What is the memoryless property of the Geometric Distribution? Explain it mathematically.
Memoryless Property:
The memoryless property states that the probability of achieving the first success after a certain number of additional trials is independent of how many failures have already occurred. In simple terms, the "system" forgets its past.
Mathematical Explanation:
For a geometric random variable , the memoryless property is expressed as:
for any integers .
Proof Outline:
- The probability of needing more than trials is the probability of consecutive failures: .
- Using conditional probability:
- Since , the event is a subset of , so the intersection is just :
- Simplifying gives:
This proves the geometric distribution is memoryless.
Compare and contrast the Binomial and Poisson distributions.
Comparison of Binomial and Poisson Distributions:
1. Definition:
- Binomial: Models the number of successes in a fixed number of independent trials.
- Poisson: Models the number of events occurring in a continuous interval of time or space.
2. Parameters:
- Binomial: Defined by two parameters: (number of trials) and (probability of success).
- Poisson: Defined by a single parameter: (average rate of occurrence).
3. Possible Values:
- Binomial: Random variable takes finite integer values from $0$ to .
- Poisson: Random variable takes infinite non-negative integer values: .
4. Mean and Variance:
- Binomial: Mean , Variance . Here, Mean Variance.
- Poisson: Mean , Variance . Here, Mean Variance.
5. Relationship:
Poisson is a limiting case of the Binomial distribution where , , and remains constant.
State Markov's Inequality. Provide a brief explanation of its utility.
Markov's Inequality:
If is any non-negative random variable () and is any positive real number, then the probability that is greater than or equal to is bounded by the expected value of divided by .
Formula:
Utility and Explanation:
- Upper Bounds: It provides a loose but guaranteed upper bound on the tail probability of a non-negative random variable using only its expected value.
- Minimal Assumptions: It requires almost no knowledge of the underlying probability distribution—only that the variable is non-negative and its mean exists.
- Foundation: It serves as a foundational theorem used to prove tighter bounds, such as Chebyshev's inequality.
State and prove Chebyshev's Inequality.
Chebyshev's Inequality:
For any random variable with expected value and finite variance , and for any real number :
Proof:
We use Markov's inequality to prove Chebyshev's inequality.
- Define a new random variable . Since is a square, it is non-negative ().
- The expected value of is the definition of variance:
- Apply Markov's inequality to with the constant :
- Substitute back and :
- The event is mathematically equivalent to . Therefore:
This proves Chebyshev's Inequality, showing that the probability of a random variable deviating from its mean by more than is bounded by its variance divided by .
What does it mean for two discrete random variables to be independent? State the condition.
Independence of Random Variables:
Two discrete random variables and are said to be independent if the realization of one does not affect the probability distribution of the other. In other words, knowing the value of provides no information about the value of , and vice versa.
Mathematical Condition:
and are independent if and only if their joint probability mass function is equal to the product of their marginal probability mass functions for all possible values and :
Properties of Independent Variables:
- (The variance of the sum is the sum of the variances, as the covariance is zero).
Derive the Expected Value of a Geometric Distribution.
Derivation of for a Geometric Distribution:
Let . The PMF is , where and .
The expected value is:
Steps:
- Factor out :
- Recognize that is the derivative of with respect to :
- Since , we can swap the summation and the derivative:
- The infinite geometric series sums to :
- Apply the quotient rule to differentiate :
- Substitute this back into the expectation equation:
- Since , we have:
Thus, the expected value of a geometric random variable is .
A fair 6-sided die is rolled. Let X be the outcome of the roll. Calculate the expected value E[X] and the variance V(X).
Calculation of E[X] and V(X):
The random variable can take values , each with probability .
1. Expected Value :
2. Variance :
First, calculate :
Now, use the formula :
Exact fraction: .
Distinguish between a Probability Mass Function (PMF) and a Cumulative Distribution Function (CDF).
Distinction between PMF and CDF:
Probability Mass Function (PMF):
- Definition: Gives the probability that a discrete random variable is exactly equal to a specific value.
- Notation: .
- Applicability: Only applies to discrete random variables.
- Properties: and .
Cumulative Distribution Function (CDF):
- Definition: Gives the probability that a random variable evaluates to a value less than or equal to a specific value .
- Notation: .
- Applicability: Applies to both discrete and continuous random variables.
- Properties: It is a non-decreasing function. and .
Relationship:
For a discrete random variable, the CDF is the running sum of the PMF:
Explain the application of Bayes' Theorem in the context of discrete random variables.
Bayes' Theorem for Discrete Random Variables:
Bayes' Theorem provides a way to update the probabilities of hypotheses when given evidence. For discrete random variables and , Bayes' Theorem allows us to find the conditional probability if we know and the marginal probabilities.
Formula:
Using the Law of Total Probability, the denominator can be expanded across all possible values of :
Application:
- Diagnostic Testing: Updating the probability that a patient has a disease () given a positive test result ().
- Machine Learning: Naive Bayes classifiers use this principle to classify data points into discrete categories based on feature probabilities.
A factory produces lightbulbs. The number of defective bulbs in a batch follows a Poisson distribution with a mean of 2. What is the probability of finding exactly 0, 1, or 2 defective bulbs in a batch?
Solution using Poisson Distribution:
Let be the number of defective bulbs. We are given that .
The PMF for a Poisson distribution is:
We need to find the probability of , , and , and then sum them up for the total probability .
-
Probability of exactly 0 defectives ():
-
Probability of exactly 1 defective ():
-
Probability of exactly 2 defectives ():
Total Probability ():
Answer: The probability of finding 0, 1, or 2 defective bulbs is approximately $0.6765$ (or ).
Using Chebyshev's Inequality, determine the minimum probability that a random variable X lies within 3 standard deviations of its mean.
Application of Chebyshev's Inequality:
Chebyshev's Inequality states that for any random variable with mean and variance , the probability that deviates from its mean by or more is:
We want to find the probability that lies within 3 standard deviations of the mean. Let .
First, we find the probability that is outside this range:
To find the probability that lies within 3 standard deviations, we take the complement:
Since , the complement must be greater than or equal to :
Conclusion:
The minimum probability that lies within 3 standard deviations of its mean is (or approximately ). This holds true regardless of the shape of the underlying probability distribution.