| Index | Tutorial | Glossary |
Creates a dummy, which is equal to 1 if the required logical expression ConditionFor1 is TRUE and 0 otherwise. A logical condition can be used in the User Defined Variable box only as an argument of the DummyByCondition() function.
Both string and numeric variables and values can be used in the logical expression. The strings should be enclosed in single quotation marks.
| Expression | Explanation |
| DummyByCondition((industry=='Construction')&(size=='Small')) | Defines dummy variable equal to 1 for small construction firms and 0 otherwise |
| DummyByCondition((c203a+c203b)>50) | Defines dummy variable equal to 1 if a firm is more than 50% owned by private sector and 0 otherwise |