1. ## conditional probability

Hello,
I have a list of products and for each product corresponds an RCA index as shown in the attached table.
I would like to calculate for both products i and j the following conditional probability:
Pr[RCA(i)>= 1 | RCA(j)>= 1 ]
But I have not found a statistical method to calculate this probability.
I hope you can help me.

2. ## Re: conditional probability

hi,
just filter the column j for RCA ==1 and count the proportion of 1s in column i.

regards

3. ## The Following User Says Thank You to rogojel For This Useful Post:

gammoudi (03-09-2017)

4. ## Re: conditional probability

i and j are in the same column, they refers to products (product i and j) and for each product i I would like to calculate the indicated probability for each products i and j:
Product………………….RCA
0101 ……………………..3,63
0106……………………… 0,006
0206……………………… 0,09
0207 ……………………..1,03

5. ## Re: conditional probability

It isn't clear what the problem actually is.
P(RCA(i)>1) is either 0 or 1 for any given i, depending what the value of RCA(i) is. It isn't dependent on the value of any other RCA. (This assumes that i and j are not the same and if they are, the probability = 1.)

6. ## The Following User Says Thank You to katxt For This Useful Post:

gammoudi (03-09-2017)

 Tweet