Manage algorithmic values
Updated 28 Aug 2023
The Algorithmic Values List shows all of your algorithmic values and their properties. From this list you can create new algorithmic values and edit existing values.
- Click Show Algorithmic Value List.
- Select Algorithmic Values > Manage/View Algorithmic Values.
- Edit - Brings up the Edit Algorithmic Values window, where you can edit a selected algorithmic value.
- Add - Brings up the Edit Algorithmic Values window, where you can define a new algorithmic value.
- Duplicate - Creates a copy, with a new variable name, of a selected algorithmic value.
- Delete - Deletes a selected algorithmic value.
- Regenerate algorithmic values - Generates new values in the Value column of the table.
- Edit - A link that brings up the Edit Algorithmic Values window, where you can edit the value.
- Name - The name of your algorithmic value.
- Type - The type of the value determines how it is treated in calculations:
- Integer - If you defined the algorithmic value using a range, it is generated as a positive or negative integer without decimal places; for example, -3, 0, 1, or -1486. If you defined the value using a calculation, the result of the calculation is simplified and rounded to the nearest integer.
- Real - If you defined the algorithmic value using a range, it is generated as a positive or negative decimal number, rounded to the number of decimal places you specified; for example, .4, -242.32, 45.7, or -50.368. If you defined the algorithmic value using a calculation, the result of the calculation is simplified and rounded to the specified number of decimal places. (This value is referred to as Decimal in the Edit Algorithmic Values window.)
- Text - An algorithmic value that displays one or more words, math symbols, or a string of characters; for example, "All of the above," or "∞." Text must be enclosed in quotation marks and appears exactly as you typed it, with no computational significance.
- Symbolic - An algorithmic value that is an algebraic or numeric expression; for example 3/4, sin(pi), 2x^2+3, or 3+5. Mathematical functions and expressions are not simplified. (This value is referred to as Algebraic or Numeric Expression in the Edit Algorithmic Values window.)
- Format -
The number of decimal places defined for the value and whether numbers
greater than 999 display with commas.
A pound symbol (#) after the decimal point indicates that trailing zeros displays. The number of pound symbols indicates the number of decimal places. A hyphen (-) after the decimal point indicates that trailing zeros do not display. The number of hyphens indicates the number of decimal places. A comma (,) before the decimal point indicates that the number display commas.
- Constraints - The constraints that determine how to generate the algorithmic value. Constraints are formed by a relational operator (for example, = or the minus sign) and a constraint value. Constraints may contain text, numbers, mathematical expressions, mathematical functions, symbols, or other algorithmic values.
- Link ID - The identification number used to link lists of algorithmic values. When generating values, the Custom Question Builder chooses values from the same position in each list that has the same link ID number.
For example, suppose you have an algorithmic value called LET that is defined as the list A, B, C, and D. You have another algorithmic value called NUM that is defined as the list 1, 2, 3, and 4. If you assign the same link ID number to both lists, the Custom Question Builder chooses a value from the same position in each list when it generates values. That is, if the value for LET is generated as A, the value for NUM is 1; if LET is B, NUM is 2, and so on.
- Value - The value currently generated for the algorithmic value.
- Authoring Notes - Any notes that you entered when you created the algorithmic value.