All Exams Test series for 1 year @ ₹349 only
Question

Consider a discrete random variable $X$ with the probability mass function
$ P(X = 0) = \frac{\theta}{3}, \ P(X = 1) = 1 - \frac{\theta}{2}, \ P(X = 2) = \frac{\theta}{6}, $
where $\theta \in (0,1)$ is an unknown parameter. In a random sample of size $90$ from this distribution, the observed counts for $X = 0, 1$ and $2$ are $20, 60$ and $10$, respectively. Then, the maximum likelihood estimate of $\theta$ is

The correct answer is
$\frac{2}{3}$

Maximum Likelihood Estimation (MLE) for Discrete Distribution

This problem asks us to find the Maximum Likelihood Estimate (MLE) for the parameter $\theta$ of a discrete random variable $X$. We are given the probability mass function (PMF) of $X$ and the observed counts from a random sample.

Understanding the Problem Setup

We have a discrete random variable $X$ with the following probability mass function (PMF):

  • $P(X = 0) = \frac{\theta}{3}$
  • $P(X = 1) = 1 - \frac{\theta}{2}$
  • $P(X = 2) = \frac{\theta}{6}$

The parameter $\theta$ is constrained to be in the interval $(0,1)$, i.e., $\theta \in (0,1)$.

We are given a random sample of size $n = 90$. The observed counts for each value of $X$ are:

Observed Counts
Value of X Observed Count ($n_i$)
$0$ $20$
$1$ $60$
$2$ $10$

First, let's check if the counts sum up to the total sample size: $20 + 60 + 10 = 90$. This matches the given sample size $n=90$.

Constructing the Likelihood Function

The Maximum Likelihood Estimation method involves finding the parameter value that maximizes the likelihood of observing the given data. The likelihood function, $L(\theta)$, is the product of the probabilities of observing each data point. For a sample with counts $n_0, n_1, n_2$, the likelihood function is:

$ L(\theta) = [P(X=0)]^{n_0} \times [P(X=1)]^{n_1} \times [P(X=2)]^{n_2} $

Substituting the given probabilities and observed counts:

$ L(\theta) = \left(\frac{\theta}{3}\right)^{20} \left(1 - \frac{\theta}{2}\right)^{60} \left(\frac{\theta}{6}\right)^{10} $

Maximizing the Log-Likelihood Function

It is usually easier to work with the natural logarithm of the likelihood function, called the log-likelihood function, denoted as $\ln L(\theta)$. Maximizing $\ln L(\theta)$ is equivalent to maximizing $L(\theta)$ because the logarithm is a monotonically increasing function.

Taking the natural logarithm:

$ \ln L(\theta) = \ln \left[ \left(\frac{\theta}{3}\right)^{20} \left(1 - \frac{\theta}{2}\right)^{60} \left(\frac{\theta}{6}\right)^{10} \right] $

Using the properties of logarithms ($\ln(ab) = \ln a + \ln b$ and $\ln(a^b) = b \ln a$):

$ \ln L(\theta) = 20 \ln\left(\frac{\theta}{3}\right) + 60 \ln\left(1 - \frac{\theta}{2}\right) + 10 \ln\left(\frac{\theta}{6}\right) $

$ \ln L(\theta) = 20 (\ln \theta - \ln 3) + 60 \ln\left(1 - \frac{\theta}{2}\right) + 10 (\ln \theta - \ln 6) $

Combine terms involving $\ln \theta$:

$ \ln L(\theta) = (20 + 10) \ln \theta - 20 \ln 3 - 10 \ln 6 + 60 \ln\left(1 - \frac{\theta}{2}\right) $

$ \ln L(\theta) = 30 \ln \theta + 60 \ln\left(1 - \frac{\theta}{2}\right) - (20 \ln 3 + 10 \ln 6) $

Finding the Derivative and Solving for $\theta$

To find the value of $\theta$ that maximizes the log-likelihood, we need to compute the derivative of $\ln L(\theta)$ with respect to $\theta$ and set it equal to zero.

$ \frac{d}{d\theta} \ln L(\theta) = \frac{d}{d\theta} \left[ 30 \ln \theta + 60 \ln\left(1 - \frac{\theta}{2}\right) - (20 \ln 3 + 10 \ln 6) \right] $

The derivative of $30 \ln \theta$ is $\frac{30}{\theta}$.

The derivative of $60 \ln\left(1 - \frac{\theta}{2}\right)$ requires the chain rule: $60 \times \frac{1}{1 - \frac{\theta}{2}} \times \frac{d}{d\theta}\left(1 - \frac{\theta}{2}\right) = 60 \times \frac{1}{1 - \frac{\theta}{2}} \times \left(-\frac{1}{2}\right) = \frac{-30}{1 - \frac{\theta}{2}}$.

The derivative of the constant terms $-(20 \ln 3 + 10 \ln 6)$ is $0$.

So, the derivative is:

$ \frac{d}{d\theta} \ln L(\theta) = \frac{30}{\theta} - \frac{30}{1 - \frac{\theta}{2}} $

Simplify the second term:

$ 1 - \frac{\theta}{2} = \frac{2 - \theta}{2} $

$ \frac{30}{1 - \frac{\theta}{2}} = \frac{30}{\frac{2 - \theta}{2}} = \frac{30 \times 2}{2 - \theta} = \frac{60}{2 - \theta} $

Therefore, the derivative becomes:

$ \frac{d}{d\theta} \ln L(\theta) = \frac{30}{\theta} - \frac{60}{2 - \theta} $

Now, set the derivative equal to zero to find the critical point(s):

$ \frac{30}{\theta} - \frac{60}{2 - \theta} = 0 $

$ \frac{30}{\theta} = \frac{60}{2 - \theta} $

Divide both sides by 30:

$ \frac{1}{\theta} = \frac{2}{2 - \theta} $

Cross-multiply:

$ 1 \times (2 - \theta) = 2 \times \theta $

$ 2 - \theta = 2\theta $

Add $\theta$ to both sides:

$ 2 = 3\theta $

Solve for $\theta$:

$ \theta = \frac{2}{3} $

Since $\theta = \frac{2}{3}$ is within the interval $(0,1)$, this is a potential MLE. The second derivative test confirms this is a maximum, but typically for these types of problems, the unique critical point found is the MLE.

Result

The maximum likelihood estimate of the parameter $\theta$ is $\frac{2}{3}$.

Was this answer helpful?

Important Questions from Random Variables

  1. A mobile manufacturing company uses two brands of batteries for its mobiles. The life (in years) of batteries of Brand I follows an exponential distribution with the probability density function
    $ f(x) = \begin{cases} e^{-x}, & \text{if } x>0, \\ 0, & \text{otherwise,} \end{cases} $
    and that of Brand II follows a gamma distribution with the probability density function
    $ g(x) = \begin{cases} \frac{x}{4} e^{-x/2}, & \text{if } x>0, \\ 0, & \text{otherwise.} \end{cases} $
    The company uses the batteries of Brands I and II in proportion of $20\%$ and $80\%$ respectively, in its mobiles. The probability that a randomly selected mobile has the battery life more that $2$ years is
  2. Let $X$ be a random sample of size $1$ from the probability density function
    $ f(x|\theta) = \begin{cases} \frac{3}{\theta^3} (\theta - x)^2, & \text{if } 0<x<\theta, \\ 0, & \text{otherwise.} \end{cases} $
    If $ \left(\frac{X}{1-\lambda_1}, \frac{X}{1-\lambda_2}\right) $ is a confidence interval for $\theta$ with confidence coefficient $1 - \alpha$, where $\lambda_i \in (0,1), \ i = 1,2, \ \lambda_1<\lambda_2$, and $\alpha \in (0,1)$, then which of the following statements is true?
  3. Let $X_1, X_2, . . ., X_n$ be a random sample from a continuous distribution with the common probability density function
    $ f(x|\theta) = \begin{cases} \frac{2\theta^2}{x^{\theta+1}}, & \text{if } x>2, \\ 0, & \text{otherwise,} \end{cases} $
    where $\theta (> 0)$ is an unknown parameter. Suppose $P(Y>\chi^2_{m,\beta}) = \beta$, where $Y \sim \chi^2_m$. For testing $H_0: \theta = 1$ against $H_1 : \theta>1$, a uniformly most powerful test of size $\alpha, \ 0<\alpha<1$, will reject $H_0$ if
  4. Suppose we want to estimate the population mean $\bar{Y}$ of a variable for a finite population of size $85$, with $34$ Statisticians and $51$ Biologists. We consider the following sampling scheme:
    A stratified random sample with $2$ strata of Statisticians (Stratum-1) and Biologists (Stratum-2), where $12$ Statisticians and $15$ Biologists are drawn from Stratum-1 and Stratum-2, respectively, using SRSWOR scheme.
    Denote $\bar{y}_S, \bar{y}_B$, and $\bar{y}$ as the mean of the variable among the Statistician sample, Biologist sample, and the combined sample, respectively. Which of the following is an unbiased estimator of $\bar{Y}$?
  5. Let $X$ be a random variable with the cumulative distribution function

    $F_X(x) = \begin{cases} 0, & \text{if } x<0, \\ \frac{x+2}{5}, & \text{if } 0 \le x<2, \\ 1, & \text{if } x \ge 2. \end{cases}$

    Then, which of the following statements are true?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App