Consider the following situations one might wish to model when considering a website which sells flights. For each, decide which standard random variable distribution best models the described situation.
(A): Bernoulli (B): Discrete uniform (C): Binomial (D): Geometric (E): Poisson
Number of visits The number of visits to the site in an hour.
Indicator An indicator variable of whether a particular visitor to the site purchased a flight.
Number of sales The number of flights sold in the first 100 visits to the site.
Simulate Poisson random variables
Set the random seed to 123 and then use rpois to simulate 100 realisation from a Poisson distribution with rate parameter . What is the sum of the resulting variables?
(A) 51, (B) 53, (C) 49, (D) 42, (E) 47
Binomial probability
Let . Find .
(A) 0.90015, (B) 0.77337, (C) 0.15126, (D) 4.8790, (E) 0.99065