# conditional probability

#### gammoudi

##### New Member
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.

#### rogojel

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

regards

#### gammoudi

##### New Member
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

#### katxt

##### Active Member
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.)