Question: Use Matlab to do this question will give like '3 students go on a schooi trip by bus. They stop at a deserted site, all
Use Matlab to do this question will give like

'3 students go on a schooi trip by bus. They stop at a deserted site, all get off the bus (including the W, and the teacher explains the importance of the site to the class. Student T excuses himself to go to the toilet, after which he rejoins the that. After the explanation the students, teacher and bus driver wonder around the site for 15 minutes. When they all return to the bus it is clear that the bus has been broken into. Student 1 is immediately the rst suspect, especially because a handkerchiefof student 1' is found at the door that is broken Into. A lab analysis afterwards confirms that there is a 0.9 probability that the handkerchief found at the door that is broken into is student T's. Given that it is btlptttsible that anybody who was not travelling on the bus committed the crime, what is the probability that student 1' is guilty? I Calculate the cerium table analytically, and, using this analytically obtained contingency table, the probability that student T is guilty. - Simulate this conuency table by performing 10,000 simulations. Using this simulated contingency table, calculate the probability that student T is guilty. For this question, plot with the four different combinations in the contingency table [Guiltynnocent and Matcthlsrnatch) as a function of the amount of repetitions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
