According to New Jersey Transit, the 8:00 a.m. weekday train from Princeton to New York City has a 90% chance of arriving on time. To test this claim, an auditor chooses 6 weekdays at random during a month to ride this train. The train arrives late on 2 of those days. Design and carry out a simulation to estimate the probability that a train with a 90% chance of arriving on time each day would be late on 2 of 6 days.- I am confused on how to do this it’s for a major grade with another problem using the R software.

Respuesta :

We evaluate the probability like this:
[tex]0.9^4\times0.1^2[/tex]
the above value is a theoretical estimation, you have 
to get the above value in your simulation, which equate:
[tex]0,006561[/tex]