EQFILE= code equivalences

Top Up Down  A A

This specifies that different demographic or item-type codes are to be reported as one code. This is useful for Tables 27, 28, 30, 31, 33 and Use EQFILE=filename or EQFILE=*, followed by a list, followed by a *. These values can be overwritten from the equivalence boxes when invoking the Tables from the Output Tables menu.

 

EQFILE= file name

file containing details

EQFILE = *

in-line list

EQFILE = ?

opens a Browser window to find the file

 

The format is

@Field name = $S1W1   ; user defined field name and location, see selection rules.

EQFILE=* ; start of list

@Field name ; field to be referred to

Base Code Code Code Code .....  ; code list

Base Code Code Code Code .....

Base Code Code Code .....

@Field name ; field to be referred to

Base Code Code Code Code .....  ; code list

Base Code Code Code Code .....

Base Code Code Code Code .....

* ; end of list

 

where @Field name is the name of field in the person or item label, such as

@GENDER = $S1W1 ; M or F

@STRAND = $S10W2   ;  01 to 99

 

Base is the demographic or item-type code to be reported. It need not be present in a label

Code is a demographic or item-type code to be included with the Base code.

 

Example:  gender in the data file is coded 1=Male, 2=Female, but to be reported as M or F

 

@GENDER = $S1W1  ; or wherever it is in the person label

EQFILE=*

@GENDER

M 1

F 2

*