What Is the Correct Calculation for the Conditional Expected Value of an Even X?

AI Thread Summary
The discussion focuses on calculating the conditional expected value of a variable X that takes values from 1 to 6 with given probabilities. The correct formula for the expected value of X given that X is even is derived using the conditional probability formula, where P(X=k|X even) equals P(X=k) divided by P(X even). Participants clarify that P(X even) is the sum of the probabilities of even outcomes, specifically P(X=2), P(X=4), and P(X=6), which totals 0.624. The final expected value calculation should correctly incorporate this probability, leading to a corrected answer. The key takeaway is the importance of applying the conditional probability rule accurately in the calculation.
ParisSpart
Messages
129
Reaction score
0
we have a variable that takes values 1,...,6 with density:
n 1 2 3 4 5 6
f(n) 0.1 0.2 0.1 0.3 0,176 0,124

What is the average price (expected value) of X under the condition that X is even?

E(X/X=even)=k*P(X=k/X=even)=0.2*2+4*0.3+0.124*6
i am doing this but its says its not correct what i am doing wrong in the type?
 
Physics news on Phys.org
Use the product rule:

P(X=k|X even) = P(X=k) P(X even)
 
P(X even) here is 1/2? or 1/3?
 
P(X even) = P(X=2 or X=4 or X=6)

Use the sum rule for mutually exclusive events:

P(A or B) = P(A) + P(B) if A and B are mutually exclusive.
 
P(X=2)=0.2? from the table?
 
Yes...
 
but its says that its not correct my answer... i find this 1.462656 in the final answer
 
What did you calculate then?
 
first i found this P(X=2 OR X=4 OR X=6)=0.624
AND E(X/X=even)=k*P(X=k/X=even)=0.2*2*0.624+0.624*4*0.3+0.124*6*0.624...=1.4626
 
  • #10
Oops. My mistake.
The rule is: P(X=k|X even) = P(X=k) / P(X even)
 
  • #11
k*(P(X=k)/P(X even)) like this?
 
  • #12
Yes.
 

Similar threads

Back
Top