Virtual fields
A virtual field is an assignment in the form <variable> = <formula> . The virtual field screen hides the variable part of the equation, so that you can focus on the formula. The formula can continue over multiple lines, but a virtual field can contain only a single formula that uses fields and functions.
Types of virtual fields
Depending on the nature of the formula, a virtual field can be numeric or symbolic.
- Numeric formula
- Formed from the numeric fields and a large number of functions, such as logical and statistical functions.
- Symbolic formula
- Formed from the symbolic fields.
The type of virtual field used as the outcome in the Outcome definition screen automatically converts to the data type required by the type of model. Scoring models and extended scoring models require symbolic data type; spectrum models require numeric data type.