I have
The Hotel has a fire alarm system which gives an alarm with a probability of 99.2% in case of a fire outbreak. Occasionally the system gives false alarms. According to the night porter this happens five times a year (corresponds to a probability of 5/365). The probability of a fire breaking out on a certain night is 0.05%.
Question: Someone spends a night at the Hotel and hears the fire alarm. What is the real probability of a fire?
Is my calculation true? ((360/365)* 0,005 * 0,992)
The task is to deal with conditional probability, IMO.
Consider $4$ non-intersecting cases:
1. fire, alarm ($(5\cdot10^{-4})\cdot 0.992$)
2. fire, no alarm ($(5\cdot10^{-4})\cdot 0.008$)
3. no fire, alarm ($0.9995\cdot\frac{5}{365}$)
4. no fire, no alarm ($0.9995\cdot\frac{360}{365}$)
It is given that alarm rang. The probability of it is $(5\cdot10^{-4})\cdot 0.992+0.9995\cdot\frac{5}{365}$
and the probability of fire in this case is $\frac{(5\cdot10^{-4})\cdot 0.992}{(5\cdot10^{-4})\cdot 0.992+0.9995\cdot\frac{5}{365}}$ $=\frac{9052}{258927}$ $\approx 0.034959660$