I have the population which is split into three classes; A, B and C. We know that the number of observations in each class is Na, Nb and Nc respectively. Assuming that my observations are binary distributed how can I specify (with a formula) probability of observing not more than P positive outcomes.
Tell me more
×
Cross Validated is a question and answer site for
statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.
|
|
You have three classes of observation $A$, $B$ and $C$, with $N_A$, $N_B$ and $N_C$ observations respectively. The probability of a particular observation being positive is $p_A$, $p_B$ and $p_C$ depending on the class. You want to know the probability of no more than $k$ positive outcomes (using $P$ might be confusing). This is $$\sum_{a=0}^k \sum_{b=0}^{k-a} \sum_{c=0}^{k-a-b} {N_A \choose a}{N_B \choose b}{N_C \choose c} p_A^a p_B^b p_C^c (1-p_A)^{N_A-a} (1-p_B)^{N_B-b} (1-p_C)^{N_C-c}.$$ |
|||||||||
|