Generates random assignments for common experimental designs and random samples for common sampling designs.