The OP should define which products they have access to and what tools they want to use. SAS Simulation Studio? The DATA step? SAS/IML? The question is currently posted to the Solution-->Microsoft Community, so the product is unclear.
This also looks like a homework or exam question. Many of us will offer hints but not post a complete solution.
... View more