I have a project to do in SAS. I must write a program to randomly select 3 administrators, 10 non-physicians, and 20 physicians from each of 10 hospitals in a database ( 330 people are to chosen total out of 1150 in the database for these 10 hospitals).
If, in any hospital there are fewer than 3 administrators, then select all of them.
If in any hospital, there are fewer than 10 non-physicians then select all of them.
If, in any hospital, there are fewer than 20 physicians then select all of them.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
SAS must run on Windows 98 or newer.