Last updated 19 Nov 97
VARFAC will create case factor vectors for each computed, background, or task variable requested. Computed variables C0001-C0010 and background variables longer than eight characters cannot be used. The output vectors will have a name of 'C<variable-id>' and a version name of 'VAR'.

Program Invocation
The specific syntax for program invocation varies between operating systems. This document diplays the code for the AIX version.
opt: Program Options (none currently supported) ssss: The study number CDf: Input Case Data file TF7: Output Case Factor file (Usually tf700)
VARFAC Control Card
VARFAC: cc 01-06 The literal 'VARFAC' study: cc 08-11 The study number title: cc 13-72 The title to use for the report.
Variable Request Cards
The variable request cards specify which variables to use from the input data and create as vectors on the Case Factor file. These variables will also be included in a summary output report. Only the variable ID is required on these fields and there is a limit of 100 variables that can be requested. All invalid variable request cards will be ignored.
var: cc 01-05 The variable type and number min: cc 07-18 The minimum acceptable value. If not specified the actual minimum value will be computed. max: cc 20-31 The maximum acceptable value. If not specified the actual maximum value will be computed. title: cc 33-80 Title for this variable in the output report.
The control cards are terminated by an '@eof' image or an end-of-file condition.
Case Factor Files
The output Case Factor file is similar in structure to Task Factor files. The main difference is that each vector is NCASE in length, as opposed to NTASK. Also, the number of members variable no longer applies, and is set to zero. A FACSXX may still be run for this file type.
@codap varfac - ssss cd100 tf700 VARFAC ssss This is the VARFAC report title C0012 1 10 Range of 1-10 used for C0012 V0003 V0004 T0025 T0026 T0027 T0028 T0029 Sample title for T0029 T0030 T0031 T0032 T0033 T0034 @EOF
This example will create Case Factor vectors for the requested variables. The generated report will display the variable id, variable title, minimum value, maximum value, mean, standard deviation, and number of valid values for each variable. C0012 statistics will be computed using only cases with a value of 1-10. PLOTIT may be used on the resulting vectors to produce a histogram showing the frequency of various responses.