Gary King Homepage Previous: Purpose: Up: ALIAS Next: BEEP

Examples:

If you do ALIAS a alias;, then anytime JudgeIt encounters the word a, it will be expanded to the word alias. Then, if you wish to rename a variable, you could type, a v88 CHGNUM!dem88vot&rep88vot;. Anytime after this second command, you could type v88 instead of the longer CHGNUM!dem88vot&rep88vot. This could save a lot of typing if you needed to use this variable name frequently.

The ALIAS command is also useful if you wish to run the same analysis on several different datasets. To do this easily, redefine the dataset name with a command like this: alias data c: $ \backslash$data$ \backslash$nevada$ \backslash$house;. Then include the commands below it to run the analysis you want using the name data. Then, to run the same set of commands on a different dataset, you would only need to edit the ALIAS command at the top of your file to read ALIAS data c: $ \backslash$data$ \backslash$wyoming$ \backslash$senate;, leaving the rest of the commands as they were.

Note that PRELIM AUTOMATE will create certain ALIAS commands as part of its procedure.



Gary King 2006-01-07