![]() |
|
Text Variables Description dialog box |
|
|
Use this dialog box to assign numerical values to text in model variables.
Select this option to assign individual numerical values to text. You are allowed to select integer numbers for each text entry in the Classification Table by typing a base value in the Base Value box, and then organizing the text entries in the list according to preference using the Move Up and Move Down buttons. It is important to make sure that all possible text is listed before using the definition because the software will not know what to do if it finds text that does not have a match in the list (see Add Text).
Select this option to assign Boolean vector values to text. You are allowed to select a vector position for each of the text entries in the Classification Table by organizing the entries in the appropriate value position using the Move Up and Move Down buttons. Note that the size of the vector is the same as the number of entries in the list, so it is important to make sure that all possible text is listed before using this definition (see Add Text).
Lists all text found in the document worksheet variable by default on first use. You can add and delete text, or change the position of the entries in this list.
Displays a text box at the end of the list to add new text. Click this button and type the new text in the displayed box. Press ENTER when finished. You may repeat this operation as necessary.
Removes the currently selected text entry.
Use this button to lower the value position of selected text.
Use this button to increase the value position of selected text.
Specifies the value assigned to the first entry in the Classification Table. This option is only available when Value Classification is selected.
Specifies to ignore the letter case of text when distinguishing the different entries.
Restores all settings as they were prior to changes in the current session. This button has no effect until changes are made in the current session.
Resets the Classification Table with text found in the document variable and sets all settings to default. This button has no effect until changes are made.
Click this button to close the dialog box and save any changes you have made.
Click this button to close the dialog box without saving any changes you have made.
Example
Consider the following text listed in the given order: Andorra, Australia, Belgium, Belize, Canada.
If the Value Classification box was selected and Base Value set to 1, then the following values are generated for all instances of the given text entries:
Text Value Andorra 1 Australia 2 Belgium 3 Belize 4 Canada 5 Germany 6
If, on the other hand, you selected Vector Classification, the following vectors result for all instances of the same text entries:
Text Vector Andorra 0, 0, 0, 0, 0, 1 Australia 0, 0, 0, 0, 1, 0 Belgium 0, 0, 0, 1, 0, 0 Belize 0, 0, 1, 0, 0, 0 Canada 0, 1, 0, 0, 0, 0 Germany 1, 0, 0, 0, 0, 0
|