Simulations are helpful in empirically demonstrating statistical results. In this set of projects, you will be using SAS to write a simulator for a “popular” dice game called GOLO. This homework problem is based on the original version of the game, which uses nine 12-sided dice to create a simulation of nine holes of real golf. Obviously, rolling dice to simulate golf can be much less physically taxing, considerably less frustrating and somewhat less dangerous than actual golfing. It should be noted however that depending on the ages of participants (and in the case of graduate students, relative sobriety) it may be just as likely to lose a die as it is to lose one’s ball in the rough.

For this project, you are being asked to design a simulation of GOLO by teaching SAS how to play the “simple” game and then getting SAS to play it 1,000 times. The simple game follows these rules:

Each die has 12 irregularly-numbered sides
The values on each dice are as follows:
On the first turn, all nine dice are rolled and the lowest score is selected (simulating the first hole played). This die is then removed from the pool of remaining dice
On subsequent turns, the remaining dice are rolled, the lowest score is selected and that die is removed
The half ends when all nine dice are removed and nine scores have been recorded. Retain the scores for the half and then repeat steps #3 and #4 to generate a simulation of a full round of golf (18 holes in total).

Sample Solution

This question has been answered.

Get Answer