X is a non-negative integer valued random variable with \( P(X = x) =\left\{ \begin{matrix} \dfrac {x+1}{2^{(x+2)}} & x = 0, 1, 2... \\\ 0 & \rm{otherwise} \end{matrix} \right.\) Then, mean and variance of X are respectively
2 & 4
We are given a non-negative integer valued random variable X with the following probability mass function (PMF):
\( P(X = x) =\left\{ \begin{matrix} \dfrac {x+1}{2^{(x+2)}} & x = 0, 1, 2... \\\ 0 & \rm{otherwise} \end{matrix} \right.\)
We need to find the mean (\(E[X]\)) and variance (\(Var[X]\)) of this random variable X.
Let's examine the form of the PMF. The PMF for a Negative Binomial distribution NB(r, p), representing the number of failures before the r-th success in Bernoulli trials with success probability p, is given by:
\( P(Y = y) = \binom{y+r-1}{y} p^r (1-p)^y \quad \text{for } y = 0, 1, 2, ... \)
Let's rewrite the given PMF:
\( P(X=x) = \frac{x+1}{2^{x+2}} = \frac{x+1}{4 \cdot 2^x} = (x+1) \cdot \frac{1}{4} \cdot (\frac{1}{2})^x \)
We can write \( \frac{1}{4} = (\frac{1}{2})^2 \). So the PMF becomes:
\( P(X=x) = (x+1) (\frac{1}{2})^2 (\frac{1}{2})^x \)
Recall that \( \binom{n}{k} = \binom{n}{n-k} \). So, \( \binom{x+1}{x} = \binom{x+1}{(x+1)-x} = \binom{x+1}{1} = x+1 \). Using this, we can write:
\( P(X=x) = \binom{x+1}{x} (\frac{1}{2})^2 (\frac{1}{2})^x \)
Comparing this with the Negative Binomial PMF \( P(Y=y) = \binom{y+r-1}{y} p^r (1-p)^y \), we can see that X follows a Negative Binomial distribution with parameters \( r=2 \) and \( p=1/2 \). Specifically, \( y=x \), \( r=2 \), \( p=1/2 \), and \( 1-p = 1 - 1/2 = 1/2 \). The term \( \binom{x+1}{x} \) matches \( \binom{x+2-1}{x} \).
For a Negative Binomial distribution NB(r, p), the mean is given by the formula:
\( E[X] = \frac{r(1-p)}{p} \)
Substituting the identified parameters \( r=2 \) and \( p=1/2 \):
\( E[X] = \frac{2(1 - 1/2)}{1/2} \)
\( E[X] = \frac{2(1/2)}{1/2} \)
\( E[X] = \frac{1}{1/2} \)
\( E[X] = 1 \times 2 = 2 \)
The mean of the random variable X is 2.
For a Negative Binomial distribution NB(r, p), the variance is given by the formula:
\( Var[X] = \frac{r(1-p)}{p^2} \)
Substituting the identified parameters \( r=2 \) and \( p=1/2 \):
\( Var[X] = \frac{2(1 - 1/2)}{(1/2)^2} \)
\( Var[X] = \frac{2(1/2)}{1/4} \)
\( Var[X] = \frac{1}{1/4} \)
\( Var[X] = 1 \times 4 = 4 \)
The variance of the random variable X is 4.
The mean of the random variable X is 2 and the variance of the random variable X is 4.
| Property | Negative Binomial Distribution NB(r, p) | Random Variable X (with r=2, p=1/2) |
|---|---|---|
| PMF \(P(X=x)\) | \( \binom{x+r-1}{x} p^r (1-p)^x \) | \( \binom{x+2-1}{x} (1/2)^2 (1-1/2)^x = \binom{x+1}{x} (1/2)^2 (1/2)^x = \dfrac{x+1}{2^{x+2}} \) |
| Mean \(E[X]\) | \( \dfrac{r(1-p)}{p} \) | \( \dfrac{2(1-1/2)}{1/2} = \dfrac{2(1/2)}{1/2} = 2 \) |
| Variance \(Var[X]\) | \( \dfrac{r(1-p)}{p^2} \) | \( \dfrac{2(1-1/2)}{(1/2)^2} = \dfrac{2(1/2)}{1/4} = 4 \) |
| Distribution | Parameters | PMF (for x=0, 1, 2, ...) | Mean | Variance |
|---|---|---|---|---|
| Negative Binomial (NB) | r, p (number of successes, success probability) | \( \binom{x+r-1}{x} p^r (1-p)^x \) | \( \dfrac{r(1-p)}{p} \) | \( \dfrac{r(1-p)}{p^2} \) |
| Geometric (Geom(p)) | p (success probability) | \( p(1-p)^x \) (for number of failures before 1st success) | \( \dfrac{1-p}{p} \) | \( \dfrac{1-p}{p^2} \) |
| Poisson (Pois(\(\lambda\))) | \(\lambda\) (average rate) | \( \dfrac{e^{-\lambda} \lambda^x}{x!} \) | \( \lambda \) | \( \lambda \) |
| Binomial (B(n,p)) | n, p (number of trials, success probability) | \( \binom{n}{x} p^x (1-p)^{n-x} \) (for x=0, 1, ..., n) | \( np \) | \( np(1-p) \) |
The Negative Binomial distribution arises in various contexts, often related to sequences of Bernoulli trials.
Out of 100 numbers, 20 are 4's, 40 are 5's, 30 are 6's, and the remaining are 7's. The arithmetic mean of the numbers is:
The median of the normal distribution with mean and variance \(\mu\) and \(\sigma^2\) is:
Let a continuous random variable \( X \) have probability density function (pdf):
\[f(x) = \begin{cases} -0.75 \, x^2 + 1.5x & \text{for } 0 < x < 2 \\ 0, & \text{otherwise} \end{cases}\]
Find the mode of \( X \).
If the arithmetic mean is 25 and geometric mean is 15, then the value of the Harmonic mean is equal to:
A random variable X has the distribution law as given below:
X | 1 | 2 | 3 |
P(X = x) | 0.3 | 0.4 | 0.3 |
The variance of the distribution is: