Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Build a simulation model assuming the number of doctors attending the convention

ID: 2945920 • Letter: B

Question

Build a simulation model assuming the number of doctors attending the convention follows the following probability distribution.

Run the simulation model 50,000 times.

Q1)The average number of doctors attending the convention is?

Q2) The average number of extra rooms needed if they reserve 4000 rooms now is?

Q3) If they reserve 4000 rooms now, the average number of extra rooms needed is?

Q4) If they reserve 3000 rooms now, the expected total cost is?

Q5) If they reserve 6000 rooms now, the expected total cost is?

Number Probability 2500 0.05 3000 0.07 3500 0.09 4000 0.1 4500 0.12 5000 0.2 5500 0.15 6000 0.1 6500 0.06 7000 0.04 7500 0.02

Explanation / Answer

Following is the R-code to generate 50,000 observation from the

set.seed(12345)

x<-seq(2500,7500,500)
p<-c(0.05,0.07,0.09,0.1,0.12,0.2,0.15,0.1,0.06,0.04,0.02)
N<-5e4
mean(sample(x,N,replace=T,prob=p))

Q1) The average number of doctors attending the convention is 4828

Q2) The extra room needed is (4828-4000) = 828

Q3) Same question

Q4) There is no information given for cost for booking rooms, so information is needed.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote