% LMex030201_4th.m as a model
% Written by E. Gallagher, Eugene.Gallagher@umb.edu
% Dept. of Environmental, Earth & Ocean Sciences
% Revised 10/19/2010
% Reference: Larsen & Marx (2006) Introduction to Mathematical
% Statistics, 4th edition, page 131.
% Your client is guilty of a crime and a blood sample test indicates
% that the defendant's blood matches that at the scene of the crime.
% In one tenth of 1% of cases these tests are in error. If the
% test is sent out to 6 independent labs, what is the probability that
% at least one lab will make a mistake and conclude that your client is
% innocent?
P=1-binopdf(0,6,0.001)