Group(ContinuousVar,floor,v1,v2,...,ceiling)
Index Tutorial Glossary  

Groups the result of the numeric expression in the ContinuousVar into (-infinity, floor), [floor,v1), [v1,v2), [v2,v3)..., [vn, ceiling), [ceiling,infinity), where floor, v1, v2, ..., vn, ceiling are numbers satisfying floor < v1 < v2 < ... < vn < ceiling.

Procedure

To generate a categorical variable, select the Group() 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 floor, v1, v2, ...,ceiling separated with commas and close parentheses.

Example Creating Categorical Variable with Group() Function


Related Topics