DummyByValues(ContinuousVar,v1,v2,...)
Index Tutorial Glossary  

Generates a dummy, which is equal to 1 if the result of the numeric expression in the ContinuousVar is a number from the list v1, v2, ..., and equal to zero otherwise.

Procedure

To generate a dummy using a numerical variable, select the DummyByValues() in the Function box. Then, click on the button. The name of the function will appear in the User Defined Variable box. Select a numerical variable in the Variables box and click on the . The argument variable will appear in the expression. Enter the values v1, v2, ... separated with commas and close parentheses.

Example Creating Dummy Variable with DummyByValues() Function


Related Topics