1# lizziezeng Create a random number with uniform (0, 1) distribution using seed number of 555. and then compare the random number to a constant of .5. Of note, the seed number which makes the replication of those random numbers possible is not essential here. That is, the results should be very similar to ranuni(123) < .5.
For example,
is to create a sample about gender in which the ratio of male and female is approximately half to half.