- Coffee and doughnuts
At a certain coffee shop, all the customers can buy a cup of coffee and also a doughnut. The shop owner believes that the number of cups she sells each day is normally distributed with an expectation of 320 cups and a standard deviation of 20 cups. She also believes that the number of doughnuts she sells each day is independent of the coffee sales and is normally distributed with an expectation of 150 doughnuts and a standard deviation of 12.
- (a) The shop is open every day but Sunday. Assuming day-to-day sales are independent, what is the probability she will sell more than 1900 cups of coffee in a week?
- (b) If she makes a profit of 1.2 euro on each cup of coffee and 0.7 euro on each doughnut, can she reasonably expect to have a day’s profit over 550 euro? Justify your answer.
Dieses Beispiel ist als
verified_by_tutor markiert. Ist dies falsch oder ungenau? Aktualisiere den Lösungsstatus (Details:
Vorlage:Beispiel)
Ähnliches Beispiel: 2019W - HW4.4
Denote by the number of cups of coffee sold on th day of the week . It is assumed and and , for are indepentent.
Let . The goal is to calculate . First, is the sum of indepentent normally distributed random variables and thus it is also normally distributed with
Thus, and
The probability the shop owner will sell more than 1900 cups of coffee in a week equals
Or directly
pnorm(1900, 1920, sqrt(2400), lower.tail=FALSE)
[1] 0.6584543
# or
1-pnorm(1900, 1920, sqrt(2400))
[1] 0.6584543
We denote by the number of doughnuts sold on the th day, . It is assumed that . It is also assumed that and are independent. Let be the profit on the th day, . Then, are normally distributed with
Then,
and
or directly
There is a probability of 0.8% for a daily profit over 550 Euro.