Let x be a random variable with probability mass function \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {k.|x|,}&{ifx = - 2,1,3}\\ {0,}&{otherwise} \end{array}} \right.\) where, K is a constant. Then the variance of x is:
5
We are given a random variable \(x\) with a probability mass function (PMF) defined as \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {k.|x|,}&{ifx = - 2,1,3}\\ {0,}&{otherwise} \end{array}} \right.\), where \(k\) is a constant. Our goal is to calculate the variance of \(x\).
To find the variance of a discrete random variable, we first need to determine the value of the constant \(k\). The sum of probabilities for all possible values of \(x\) must equal 1. The possible values for \(x\) where the probability is non-zero are -2, 1, and 3.
The probabilities for the given values of \(x\) are:
The sum of these probabilities must be 1:
\(f(-2) + f(1) + f(3) = 1\)
\(2k + k + 3k = 1\)
\(6k = 1\)
\(k = \frac{1}{6}\)
Now we can write the actual probabilities for each value of \(x\):
Let's verify that the probabilities sum to 1:
\(\frac{1}{3} + \frac{1}{6} + \frac{1}{2} = \frac{2}{6} + \frac{1}{6} + \frac{3}{6} = \frac{2 + 1 + 3}{6} = \frac{6}{6} = 1\). The probabilities are correct.
The expected value (or mean) of a discrete random variable \(x\) is given by the formula \(E[x] = \sum x \cdot P(x)\). We sum the product of each possible value of \(x\) and its corresponding probability.
\(E[x] = (-2) \cdot P(x = -2) + (1) \cdot P(x = 1) + (3) \cdot P(x = 3)\)
\(E[x] = (-2) \cdot \left(\frac{1}{3}\right) + (1) \cdot \left(\frac{1}{6}\right) + (3) \cdot \left(\frac{1}{2}\right)\)
\(E[x] = -\frac{2}{3} + \frac{1}{6} + \frac{3}{2}\)
To add these fractions, we find a common denominator, which is 6.
\(E[x] = -\frac{4}{6} + \frac{1}{6} + \frac{9}{6}\)
\(E[x] = \frac{-4 + 1 + 9}{6} = \frac{6}{6} = 1\)
So, the expected value \(E[x]\) is 1.
Next, we need to calculate the expected value of \(x^2\), denoted as \(E[x^2]\). This is calculated using the formula \(E[x^2] = \sum x^2 \cdot P(x)\).
\(E[x^2] = (-2)^2 \cdot P(x = -2) + (1)^2 \cdot P(x = 1) + (3)^2 \cdot P(x = 3)\)
\(E[x^2] = (4) \cdot \left(\frac{1}{3}\right) + (1) \cdot \left(\frac{1}{6}\right) + (9) \cdot \left(\frac{1}{2}\right)\)
\(E[x^2] = \frac{4}{3} + \frac{1}{6} + \frac{9}{2}\)
Again, we find a common denominator, which is 6.
\(E[x^2] = \frac{8}{6} + \frac{1}{6} + \frac{27}{6}\)
\(E[x^2] = \frac{8 + 1 + 27}{6} = \frac{36}{6} = 6\)
So, the expected value of \(x^2\) is 6.
The variance of a random variable \(x\), denoted as \(Var(x)\), is calculated using the formula:
\(Var(x) = E[x^2] - (E[x])^2\)
We have already calculated \(E[x] = 1\) and \(E[x^2] = 6\). Now we substitute these values into the variance formula:
\(Var(x) = 6 - (1)^2\)
\(Var(x) = 6 - 1\)
\(Var(x) = 5\)
The variance of the random variable \(x\) is 5.
| \(x\) | \(|x|\) | \(f(x) = k|x|\) | \(P(x)\) | \(x \cdot P(x)\) | \(x^2\) | \(x^2 \cdot P(x)\) |
|---|---|---|---|---|---|---|
| -2 | 2 | \(2k\) | \(1/3\) | \(-2 \cdot (1/3) = -2/3\) | 4 | \(4 \cdot (1/3) = 4/3\) |
| 1 | 1 | \(k\) | \(1/6\) | \(1 \cdot (1/6) = 1/6\) | 1 | \(1 \cdot (1/6) = 1/6\) |
| 3 | 3 | \(3k\) | \(1/2\) | \(3 \cdot (1/2) = 3/2\) | 9 | \(9 \cdot (1/2) = 9/2\) |
| Sum (\(\sum P(x)\)) | 1 | Sum (\(E[x]\)) | Sum (\(E[x^2]\)) | |||
| \(-2/3 + 1/6 + 3/2 = -4/6 + 1/6 + 9/6 = 6/6 = 1\) | \(4/3 + 1/6 + 9/2 = 8/6 + 1/6 + 27/6 = 36/6 = 6\) | |||||
Based on the calculations, the expected value \(E[x] = 1\) and the expected value of x-squared \(E[x^2] = 6\). The variance is \(Var(x) = E[x^2] - (E[x])^2 = 6 - 1^2 = 6 - 1 = 5\).
| Concept | Definition/Formula | Notes |
|---|---|---|
| Probability Mass Function (PMF) | \(P(X=x)\) for each possible value \(x\) of a discrete random variable \(X\). | Sum of all probabilities must equal 1. \(0 \le P(X=x) \le 1\). |
| Expected Value (Mean) \(E[x]\) | \(E[x] = \sum_{\text{all } x} x \cdot P(x)\) | A measure of the central tendency of the distribution. |
| Expected Value of \(x^2\) \(E[x^2]\) | \(E[x^2] = \sum_{\text{all } x} x^2 \cdot P(x)\) | Used in the calculation of variance. |
| Variance \(Var(x)\) | \(Var(x) = E[(x - E[x])^2] = E[x^2] - (E[x])^2\) | A measure of the spread or dispersion of the distribution around the mean. |
| Standard Deviation \(SD(x)\) | \(SD(x) = \sqrt{Var(x)}\) | Square root of the variance, also measures spread, in the same units as \(x\). |
A discrete random variable can only take on a finite or countably infinite number of distinct values. The probability distribution of a discrete random variable is fully described by its Probability Mass Function (PMF), which assigns a probability to each possible value the variable can take.
Key properties of a PMF \(f(x)\) for a discrete random variable \(X\):
The expected value \(E[x]\) is the theoretical average value of the random variable over many repetitions of the experiment. The variance \(Var(x)\) quantifies how much the values of the random variable typically deviate from the expected value. A higher variance indicates greater variability in the possible outcomes.
Let -2, 2, 5, 9, -9, 7, -7 be the observations drawn from a population having p.d.f. \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {{e^{ - \left( {X - \theta } \right)}},}&{x > \theta }\\ 0&{elsewhere} \end{array}} \right.\) Then the MLE of θ is:
It is known from past experience that in a certain plant there are on the average 4 industrial accidents per month. The probability that in a given month there will be less than 4 accidents is: (e -4 = 0.0183)
If a continuous random variable x has the probability density function
\(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {3x^2,}&o\le x\le1\\ {0,}&{elsewhere} \end{array}} \right.\)
then the value of a such that P[x ≤ a] = P[x > a] is:
Let x ~ Binomial (5,0.6) and Y ~ Poisson (2) be independent. Then P(xy = 0) equals:
If x is a continuous random variable with p.d.f.
f(x) = 1/√2π e -x2/2dx , \( - ∞<x<∞\)
and y is defined as y = x + 1, then E(y) equals:
At a reservation counter, passengers are arriving for booking the tickets in a poisson fashion with mean rate 60 per hour. The kurtosis of the inter-arrival times of the passengers is:
If a discrete random variable X follows uniform distribution and assume only the values 8, 9, 11, 15, 18, 20, the value of P(|X - 14| < 5) will be:
The probability density function of a random variable X is f(x) = \(\frac{\pi}{10} sin \frac{\pi x}{5}\) ; 0 ≤ x ≤ 5. The first quartile of X is:
The mode of a geometric distribution with parameter p is:
If ten coins are tossed simultaneously, then the probability of getting at most 1 head is:
Let X and Y be two real-valued random variables with
$\text{E}(X) = 1$, $\text{E}(Y) = 2$, $\text{E}(X^2) = 4$, $\text{E}(Y^2) = 9$, and $\text{E}(XY) = 0.9$,
where $\text{E}$ denotes the expectation operator.
The value of $\alpha$ that minimizes $\text{E}( (X-\alpha Y)^2 )$ is __________
(Round off to one decimal place)
Let -2, 2, 5, 9, -9, 7, -7 be the observations drawn from a population having p.d.f. \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {{e^{ - \left( {X - \theta } \right)}},}&{x > \theta }\\ 0&{elsewhere} \end{array}} \right.\) Then the MLE of θ is:
It is known from past experience that in a certain plant there are on the average 4 industrial accidents per month. The probability that in a given month there will be less than 4 accidents is: (e -4 = 0.0183)
If a continuous random variable x has the probability density function
\(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {3x^2,}&o\le x\le1\\ {0,}&{elsewhere} \end{array}} \right.\)
then the value of a such that P[x ≤ a] = P[x > a] is:
Let x ~ Binomial (5,0.6) and Y ~ Poisson (2) be independent. Then P(xy = 0) equals: