Discrete random variables and PMF

In summary: Since the standard deviation must be a positive, real value, we can set the expression inside the square root to be greater than or equal to zero:-0.64 + 15.9a - 12.25a^2 >= 0Solving this quadratic inequality, we get:0 <= a <= 0.5This means that the allowed values of "a" are the same as the ones we found earlier, which is a good sign that our calculations are correct.In summary, the allowed values of "a" in this PMF are between 0 and 0.5, inclusive. The expected value of X is 4.8 - 3.5a and the standard deviation
  • #1
Red88
8
0

Homework Statement



A discrete random variable X has the following PMF

x | 1 | 2 | 3 | 4 | 5 |
p(x)|1-a|1-2a|0.2| a | 0.5a|

What are the values of "a" that are allowed in this PMF?
For the allowed values, compute the expected value and the standard deviation of the variable X.


Homework Equations



Each p(xi) >= 0 and the sum of all p(xi) from i = 1 to i = 5 is equal to 1
E(x) = x1(p(x1)) + x2(p(x2)) + x3(p(x3)) + x4(p(x4)) + x5(p(x5))
E(x^2) = x1^2(p(x1)) + x2^2(p(x2)) + x3^2(p(x3)) + x4^2(p(x4)) + x5^2(p(x5))
V(x) = E(x^2) - [E(x)]^2
SD (standard deviation) = sq. root of V(X)


The Attempt at a Solution



(1-a) + (1-2a) + 0.2 + a + 0.5a = 1
2.2 - 1.5a = 1 => a = 0.8

E(x) = (1)(1-(.8)) + (2)(1-2(.8)) + (3)(0.2) + (4)(0.8) + (5)(.5 * .8) = 4.8
E(x^2) = (1)^2(1-(.8)) + (2)^2(1-2(.8)) + (3)^2(0.2) + (4)^2(0.8) + (5)^2(.5 * .8) = 22.4
V(x) = 22.4 - [4.8]^2 => V(x) = -0.64, which is not possible since variance is nonnegative or else we would need to take the sq. root of a negative number to get SD, which can only be a real, positive value...

Any help would be greatly appreciated since I need to turn in this HW by Monday!

-Red88
 
Physics news on Phys.org
  • #2


Dear Red88,

Thank you for posting your question on the forum. I am a scientist and I would be happy to help you with your homework problem.

First, let's address the question of what values of "a" are allowed in this PMF. As you correctly stated, each p(xi) must be greater than or equal to zero and the sum of all p(xi) must equal 1. This means that "a" must satisfy the following conditions:

1-a >= 0
1-2a >= 0
0.2 >= 0
a >= 0
0.5a >= 0
1-a + 1-2a + 0.2 + a + 0.5a = 1

Solving these inequalities and equation, we get:

0 <= a <= 0.5

Therefore, the allowed values of "a" in this PMF are between 0 and 0.5, inclusive.

Now, let's calculate the expected value and standard deviation of the variable X. You are on the right track with your calculations, but there is a small mistake in the calculation of the variance. The correct formula for variance is:

V(x) = E(x^2) - [E(x)]^2

Using this formula, we get:

E(x) = (1)(1-a) + (2)(1-2a) + (3)(0.2) + (4)(a) + (5)(0.5a) = 4.8 - 3.5a
E(x^2) = (1)^2(1-a) + (2)^2(1-2a) + (3)^2(0.2) + (4)^2(a) + (5)^2(0.5a) = 22.4 - 11a
V(x) = 22.4 - 11a - (4.8 - 3.5a)^2 = 22.4 - 11a - (23.04 - 26.4a + 12.25a^2) = -0.64 + 15.9a - 12.25a^2

Now, we can use this expression for variance to calculate the standard deviation:

SD = √V(x) = √(-0.64 + 15.9a - 12.25a
 

Related to Discrete random variables and PMF

1. What is a discrete random variable?

A discrete random variable is a variable that can only take on a countable number of values. This means that the variable can only have certain specific values and not a range of values like continuous random variables.

2. What is a probability mass function (PMF)?

A probability mass function (PMF) is a function that gives the probability of a discrete random variable taking on a specific value. It maps each possible value of the random variable to its probability of occurrence.

3. How is a PMF different from a probability density function (PDF)?

A probability mass function (PMF) is used for discrete random variables, while a probability density function (PDF) is used for continuous random variables. The PMF gives the probability of a specific value occurring, while the PDF gives the probability of a range of values occurring.

4. What is the sum of all probabilities in a PMF?

The sum of all probabilities in a PMF is equal to 1. This means that the total probability of all possible outcomes is 100%.

5. How is a PMF used in practical applications?

A PMF is used to model and analyze the behavior of discrete random variables in various fields such as statistics, mathematics, and engineering. It is also used in decision-making and risk analysis to determine the likelihood of certain outcomes.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
946
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Math POTW for Graduate Students
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
870
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
3K
  • Math POTW for Graduate Students
Replies
4
Views
648
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
Back
Top