sabrelogo

Sabre

FACTOR

Sabre manual

Syntax: FACTOR variable factor [cutpoints(s)]
where cutpoints are an optional set of real numbers.

Purpose:
The FACTOR command produces a set of dummy variables produced by considering the variable as a categorical variable. The set of dummy variables is referred to in SABRE by the name of the structure factor.

If cutpoints are not specified, then the variable will be categorised according to the number of distinct values it possessess.

If n cutpoints are specified, then the values of the variable are divided into n+1 categories with intervals defined by:

-infinity cutpoint1 cutpoint2... ...cutpoint(n) infinity

If an element in the variable is exactly equal to a cutpoint, then the element is placed in the higher cutpoint group.

The number of levels in a factor may be obtained by issuing the DISPLAY VARIABLES command.

Sabre manual

Go to: Sabre home page | Sabre manual | Downloading & Installing Sabre | Sabre examples | Training materials | Sabre mailing list | Contact us

Other links: Centre for e-Science | Centre for Applied Statistics