In order to check whether the events B and D are independent or not, (i.e., check whether the two smoke alarms detect smoke independently of each other) we need to compare:
In order to check whether the events B and D are independent or not, (i.e., check whether the two smoke alarms detect smoke independently of each other) we need to compare: