A salesperson in a large bicycle shop is paid a bonus if he

A salesperson in a large bicycle shop is paid a bonus if he sells more than 4 bicycles a day. The probability of selling more than 4 bicycles a day is only 0.40. If the number of bicycles sold is greater than 4, the distribution of sales is as shown in the table below. The shop has four different models of bicycles. The amount of the bonus paid out varies by type. The bonus for model A is $1.0; 40% of the bicycles sold arc of this type. Model B accounts for 35% of the sales and pays a bonus of $15. Model C has a bonus rating of $20 and makes up 20% of the sales. Finally, model D pays a bonus of $25 for each sale but accounts for only 5% of the sales. Develop a simulation model to calculate the bonus a salesperson can expect in a day. Also report a 95% confidence interval for the mean bonus amount.

Solution

a)

Our task is to simulate n number of days and find the bonus earned by the salesman each day using the various probabilities given.

So, first we choose a large number of n, say 10,000. Then we iterate through the 10,000 days.

For each day, the probability that he sells more than 4 bicycles and hence earn bonus is 0.6. So, we generate a random number and compare it with 0.6. If it is less than 0.6, we calculate the bonus.

To calculate the bonus for that day, we need the number of cycles sold and of which type.

So, based on the probability distribution given for the number of cycles sold, we chose number of cycles sold each day. We do this by generating a random number and comparing it with 0.35, 0.35+0.45=0.8 and 0.8+0.15=0.95 to simulate the number of cycles sold that day.

Then we need to find the type of cycle for each cycle. We do this by iterating through each cycle sold and finding the type of cycle based on the given probability distribution.

When we get cycle type for each cycle, we add the bonus of that cycle to the total bonus for the day.

Similarly, We calculate the total bonus for 10,000 days and divide it by 10,000 to find the average bonus for each day.

b)

To find out the 95% confidence interval for the mean bonus amount, we need to find area under the probability distribution curve of the mean. The middle 95% area represents the confidence interval.

 A salesperson in a large bicycle shop is paid a bonus if he sells more than 4 bicycles a day. The probability of selling more than 4 bicycles a day is only 0.4

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site