Sentry Page Protection
Exercise (3-9)
Run the code in the yellow box before working on this exercise:
Run the code in the yellow box before working on this exercise:
The EXPENSE data set contains a list of expense claims from a company's accounting department.
The accounting department is carrying out an audit on the expense claims. They'd like to randomly select a sample of the claims requested for auditing purposes.
Write a SAS program and randomly assign an integer to each claim. The integer should be:
- randomly generated based on a uniform distribution
- between 1 to 10 (inclusive)
The claims that are assigned the integer of five (5) will be selected for auditing purposes.
The final data set should includes ONLY the claims that are assigned the integer value of 5.