Question: 2. Using the random functions (RANUNI, choose seed 7), create a temporary SAS data set (Fake) with 100 observations. Each observation should contain a subject

 2. Using the random functions (RANUNI, choose seed 7), create a

2. Using the random functions (RANUNI, choose seed 7), create a temporary SAS data set (Fake) with 100 observations. Each observation should contain a subject number (Subj) starting from 1, a random gender (with approximately 40% females and 60% males), and a random age (integers from 10 to 50). List the first 10 observations in the data set

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!