* This syntax is an example of how to use the macro file "dograph.sps". * I assume that the syntax "dograph.sps" and the "dograph.sct" jhave been saved in c:\\temp. * rlevesque@videotron.ca. SET MPRINT=yes. * Define dummy data file for illustration purposes. NEW file. INPUT PROGRAM. SET SEED=986431. LOOP id=1 TO 500. COMPUTE region=RND(UNIFORM(5)+.5). COMPUTE job_cat=RND(UNIFORM(5)+.5). * The purpose of the next 3 lines is to get different number of cases and * different range of values within each categories. DO IF UNIFORM(1)