NIPO ODIN Version 5.17

*VAR

Purpose

Defines a variable name for export to NIPO DIANA / Nvision Script variables, IBM SPSS, et cetera.

Syntax

*VAR <name>

Description

This command is always used in combination with *QUESTION and a question type definition and must be specified after these commands on the same line. Normally variable names in the NIPO Diana / Nvision Script variable file are based on the question numbers in your NIPO ODIN questionnaire. The *VAR command gives the possibility to create your own variable names during the export to NIPO Diana / Nvision Script, IBM SPSS, et cetera.

Arguments

name
A name of maximum 12 characters. The variable should not contain spaces and should not start with a number.

Remark

The variable name defines the export variable name of the question in the export. This is not the same as the variables created within your NIPO ODIN questionnaire with the *VARS and *TEXTVARS commands.

The variable names do not have to be unique in the NIPO ODIN questionnaire, but obviously your analysis tool will not be able to differentiate variables with the same name. The NIPO ODIN Developer syntax check produces a Warning: Duplicate variable name message if a variable name is not unique. This warning has no impact on running the questionnaire, and names may be changed without consequences at a later time.

Variable names within a *REPEAT block are suffixed with a repeat number. Variable names within a *GOSUB are suffixed with a number indicating the number of calls the routine was called until then.In some exports, multiple-coded variables are exported as multiple dichotomy variables, where the variable name is suffixed with a code label index number.

Example

*QUESTION 1 *CODES L1 *VAR Gender
Int. type the respondents gender

1:Male
2:Female

*QUESTION 2 *NUMBER L2 *VAR Age
Could you please tell me your age?

Export to NIPO Diana / Nvision Script creates the following variables:

*Gender *SNG 61L1: Int. type the respondents gender
1:Male
2:Female

*Age 62L2: Could you please tell me your age?

Export to IBM SPSS creates the following variables:

VARIABLE LABELS
Gender 'Int. type the respondents gender'
Age 'Could you please tell me your age?'

See Also