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).
ONLY DO THIS ONE!!!!!!!
There are various alternative strategies one can use in playing this game apart from the simple strategy of one hole at a time. Here are some other strategies to consider:
****Modification 2: Choose all par (0) or birdie (-1) results; if no such results exist, choose one die with the lowest value
The deliverable for this project is a single program which, when run, will produce a SAS dataset with 1000 GOLO results and a short statistical summary of the simulation for each of the 3 different strategies presented here 20 points for each strategy).
Code simulating 1000 games of GOLO with the scores for all eighteen holes with a variable keeping the total score for each half and the final total for the round for each of the 3 strategies. Each strategy should have its own separate code in the SAS program (i.e. we want to see at least 3 separate sections even though they may look very similar)
Summary table showing the mean round total for each strategy on eighteen holes. This table should be produced by the program and the call should follow each simulation section.