Probability & Expectation Value of X + Y

AI Thread Summary
The discussion focuses on calculating the expectation value E(X+Y) for variables X and Y, given a joint probability function f(m,n). Participants clarify the correct interpretation of the function, emphasizing that f should be evaluated at pairs of values (0,1) rather than single values like f(0.1). They suggest creating a probability table to organize the values and probabilities of the four possible outcomes for X and Y, which include (0,0), (1,0), (0,1), and (1,1). Two methods for calculating E(X+Y) are proposed: summing the products of probabilities and outcomes or using marginal distributions. The conversation highlights the importance of accurately setting up the problem and encourages participants to attempt the calculations independently.
ParisSpart
Messages
129
Reaction score
0
we have variables X,Y with f(m,n)=P(X=m,Y=n) with f(0.1)=0.1 f(1.0)=0.1 f(1.1)=0.344
find the expectation value E(X+Y)


i need help because i don't how to start to solve this , if i begin with the definition of the expected value i can't do anything any ideas?
 
Physics news on Phys.org
If your function f requires two arguments, as you indicate by f(m,n), how can you calculate f(0.1) = 0.1 and so on? do you mean f(0,1) = 0.1, f(1,0) = 0.1, f(1,1) = 0.344?
What values other than 0 and 1 are possible for X and Y, or are these the only possibilities? Make sure you've provided ALL the information accurately.
 
f(m.n) the m and n takes 0 and 1 values ...
 
I will assume my comment about you meaning f(0,1) instead of f(0.1) was correct.
Think about it this way: if X, Y can each be only 0 or 1 there are only 4 possibilities: (0,0), (1,0), (0,1), (1,1). You have the probabilities assigned to three of the four, so you can make a table with two columns (labeled 0 and 1) and two rows (also labeled 0 and 1). In each cell put the appropriate probability:
In cell (0,1) put .1, in cell (1,0) put .1, in cell (1,1) put 0.344. (Since the four probabilities have to sum to 1 you can find the probability for cell (0,0) yourself.)

Now you have two ways to go.
Method A: To calculate the expectation work out the sum

<br /> E(X+Y) = \sum f(m,n) (m+n)<br />

- it will have as many terms as there are cells in the table.

Method B:
The rows of your table have the values for X, the columns the values for Y, so the edges of the table give the marginal distributions of X and Y. Then

<br /> E(X+Y) = E(X) + E(Y)<br />

can be calculated using the appropriate marginal distributions.

Methods A and B give the same answer (when applied correctly) so you can use whichever you prefer.

Set things up and try the work before posting more questions.
 
Last edited:
i don't understand the commands of the table... the commands...
 
can you write again the table?
 
ParisSpart said:
can you write again the table?

More important: can YOU write the table? If so, do it. If you cannot, tell us why.
 
if i wanted to find the P(X=0) i will find f(0,0) and if yes , why?
 
Back
Top