What are the following R commands used and their outputs Pro
What are the following R commands used and their outputs?
Problem 2:
Suppose that 42% of all drivers stop at an intersection having flashing red lights when no other cars are visible. Of 350 randomly selected drivers coming to an intersection under these conditions, let X be the number of those who stop among the 350 drivers. Suppose we want to find P(115 X 155).
what is the exact distribution of X?
use the exact distribution of X to compute the exact probability P(115 X 155) in R
Now let’s see how well the Normal approximation to the Binomial works.
check the condition(s) for the approximation.
compute the mean and the standard deviation of the approximate distribution of X.
now calculate the approximate probability P(115 X 155) using R and remember to use the continuity correction factor of 0.5!
comment on how well/poorly the Normal approximation to the Binomial works here
Solution
