Thu 15 Dec, 2011 01:24 pm
I have a simple stats/probability question.
I need a formula to calculate probability of death.
Lets say 20% of people with cancer will die this year. and 2% of people without cancer will die this year.
(d1=0.20, n1 =0.02)
Also 5% of smokers will die this year, and only 1.5% of non-smokers will die this year.
(d2=0.05, n2 = 0.015)
I need a formula, that takes these values, and calculates the probability that a person will die if he has cancer (b1 = 1) and he is a smoker (b2 = 1). The formula should take b1 and b2 as arguments, where both can be 0 or 1.
it is also useful if number of b1,b2 (and also d*, n*) can be 1 to N
Thank you in advance