"a.\\text{ Events:}\\\\\nD\\text{ --- "we obtain a reading of 53"}\\\\\nA\\text{ --- "we are in a bedroom"}\\\\\nB\\text{ --- "in a kitchen"}\\\\\nC\\text{ --- "in a living-room"}\\\\\n\\text{We should find } P(A|D),\\ P(B|D),\\ P(C|D)\\\\\n\\text{We have:}\\\\\nP(D|A)=0.05\\\\\nP(D|B)=0.08\\\\\nP(D|C)=0.33\\\\\nP(A)=P(B)=P(C)=\\frac{1}{3}\\\\\nP(D)=0.05+0.08+0.33=0.46\\\\\nP(A\\cdot D)=P(D|A)\\cdot P(A)=0.05\\cdot \\frac{1}{3}\\\\\nP(A|D)=\\frac{P(A\\cdot D)}{P(D)}=\\frac{0.05\\cdot \\frac{1}{3}}{0.46}\\approx 0.036\\\\\n\\text{Similiarly:}\\\\\nP(B\\cdot D)=P(D|B)\\cdot P(B)=0.08\\cdot \\frac{1}{3}\\\\\nP(B|D)=\\frac{P(B\\cdot D)}{P(D)}=\\frac{0.08\\cdot \\frac{1}{3}}{0.46}\\approx 0.058\\\\\nP(C\\cdot D)=P(D|C)\\cdot P(C)=0.33\\cdot \\frac{1}{3}\\\\\nP(C|D)=\\frac{P(C\\cdot D)}{P(D)}=\\frac{0.33\\cdot \\frac{1}{3}}{0.46}\\approx 0.24\\\\\nb.\\ P=P(A|D)+P(B|D)=0.05+0.08=0.13\\\\\nc.\\text{ Let } P(B|D)=P(C|D)=x.\\text{ Then } P(A|D)=2x\\\\\nx+x+2x=0.46\\\\\n4x=0.46\\\\\nx=0.115\\\\\n2x=0.23\\\\\n\\text{Then our } P=0.23"
Comments
Leave a comment