Statistics and R problem Please answer these questions with step and code (if yo
ID: 3124515 • Letter: S
Question
Statistics and R problem
Please answer these questions with step and code (if you can ) as much as possible, thanks!
Taiwan uses Xiaoluren to signal pedestrians to cross intersections. At
the intersection of Song-shou road and Shi-fu road, the Xiaoluren has a
three-minute cycle; it is a busy street. When pedestrians are allowed to
cross the intersection, the Xiaoluren shows the little green man walking.
Otherwise, it shows a little red man standing still. Pedestrians are given
80 seconds to cross (thus, the little green man is seen for 80 seconds at
a time).
If I randomly appear at this intersection, what is the probability that I
will have to wait to see the little green man? What is the probability
that I will have to wait at least 40 seconds to see the little green man?
Explanation / Answer
total time = 180 seconds
green signal = 80seconds
red signal = 180-80 = 100seconds
Probabiliy of seeing a green man = 80/180 = 4/9
Probability of waiting atleast 40 seconds = 1- probability of less than 40seconds = 1-40/180 =7/9