Jump to content

P(X≠Y) question about probability and union


gate13

Recommended Posts

hi i have a table and one of the questions is

P(X≠Y)

I am so confused!

does this mean is the same as Pr[XY ] which means :

Pr[XY ]=Pr[X]+Pr[Y]-Pr[X Y]

Please help

!


for example the table is something like that:

 

y

x 1 2 3 4

1 0.02 0.02 0.02 0.04

2 0.04 0.04 0.04 0.08

3 0.14 0.14 0.14 0.28

Edited by gate13
Link to comment
Share on other sites

Depending on the context there may be different interpretations. The simplest one would be the following. You take a random variable x and a random variable y. The probabilities for each combination are given in your table. Question: What is the probability that x and y do not have the same value?

 

Sidenote: Strictly speaking is it impossible to answer questions about mathematical expressions when the meaning of the letters that appear is not given. Effectively, their meaning can often be assumed - e.g. in the context of a physics problem with only one body one often assumes that "m" means the mass of the body. But for X and Y (capital letters) combined with a table that lists x and y (non-capital letters) assuming things about the meaning from only the letters is highly speculative.

Link to comment
Share on other sites

2 dimensional table should be table[][] not table[].

2d table can be squashed to 1d table by f.e. table[y*columns+x]

 

Are you mathematician who want to write computer program?

 

Equality operator in computer programs is ==

Not-equal operator is !=

Edited by Sensei
Link to comment
Share on other sites

you have a table of outcomes - 12 in all - that give the probability for any of three x outcomes and four y outcomes; check that the total comes to 1. Those in which x give same outcome as y ie x=1 y=1 should be excluded - the remainder is the probability that x =/= y

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.