FILE MAKE <new_data_file>,<m>,<n>,<X>,<type>,<lname>,<actcol>
(where <new_data_file>,<m>,<n> are obligatory parameters)
creates a Survo data file with <m> variables and <n> missing
observations.
Optional parameters:
The names of variables have the string <X> as
their common forepart and they are indexed by 1,2,3,...
For example if <X> is VAR then the names of variables will be
VAR1,VAR2,... Default for <X> is X.
In case m=1 the only variable gets no index.
The common (numerical) type of variables is given by <type>.
Alternatives are 1,2,4, and 8. Default is 4.
<lname> is the length of field names (default 64) and
<actcol> is number of activation columns (default 7).
By default space is reserved for certain amount of additional
variables. This space can be adjusted also by a NEWSPACE=s1,s2
specification where s1 is # of extra bytes in each record and
s2 is # of extra variables. Thus by NEWSPACE=0,0 no extra
space for variables is reserved.
The format of fields can be given by a specification like
FORMAT=####.##
Permitted range of values is given by LIMITS=<min>,<max>.
Default indices (1,2,3,...) of variables can be altered by a BASE
specification. For example, BASE=0 implies indices 0,1,2,... and
BASE=001 indices 001,002,003,...
FILE MAKE is intended primarily for creating frames for simulated
data sets. For example, commands
FILE MAKE BIN,100,1000
TRANSFORM BIN BY #UNIFORM(0,2)
generate a sample of size 1000 of 100 Bernoulli(0.5) variables
X1,X2,...,X100.
D = More information on data management