pspp 0.5.0

Statistical analysis software
Documentation
# File header.
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; # Layout code
22; # Nominal case size
0; # Not compressed
0; # Not weighted
0; # 0 cases.
100.0; # Bias.
"05 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

# Numeric variables.
2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";
2; 0; 0; 0; 0x050800 *2; s8 "NUM3";
2; 0; 0; 0; 0x050800 *2; s8 "NUM4";
2; 0; 0; 0; 0x050800 *2; s8 "NUM5";

# String variables.
2; 1; 0; 0; 0x010100 *2; s8 "STR1"; # index 6
2; 2; 0; 0; 0x010200 *2; s8 "STR2"; # index 7
2; 3; 0; 0; 0x010300 *2; s8 "STR3"; # index 8
2; 4; 0; 0; 0x010400 *2; s8 "STR4"; # index 9
2; 4; 0; 0; 0x010400 *2; s8 "STR5"; # index 10
2; 6; 0; 0; 0x010600 *2; s8 "STR6"; # index 11
2; 7; 0; 0; 0x010700 *2; s8 "STR7"; # index 12
2; 8; 0; 0; 0x010800 *2; s8 "STR8"; # index 13
2; 9; 0; 0; 0x010900 *2; "STR9"; i8 230; s3 ""; # index 14
2; -1; 0; 0; 0; 0; s8 "";
2; 12; 0; 0; 0x010c00 *2; s8 "STR12"; # index 16
2; -1; 0; 0; 0; 0; s8 "";
2; 16; 0; 0; 0x011000 *2; s8 "STR16"; # index 18
2; -1; 0; 0; 0; 0; s8 "";
2; 17; 0; 0; 0x011100 *2; s8 "STR17"; # index 20
( 2; -1; 0; 0; 0; 0; s8 ""; ) * 2;

# One value label for NUM1.
3; 1; 1.0; i8 17; i8 238; i8 228; i8 232; i8 237; s19 " (in Russian)"; 4; 1; 1;

# Two value labels for NUM2, as a single pair of type 3 and type 4 records.
3; 2; 1.0; i8 3; s7 "one"; 2.0; i8 3; s7 "two"; 4; 1; 2;

# Two value labels for NUM3, as two pairs of type 3 and type 4 records.
3; 1; 3.0; i8 5; s7 "three"; 4; 1; 3;
3; 1; 4.0; i8 4; s7 "four"; 4; 1; 3;

# Two common value labels for NUM4 and NUM5, plus two different ones for each.
3; 1; 5.0; i8 4; s7 "five"; 4; 1; 4;
3; 1; 6.0; i8 3; s7 "six"; 4; 1; 5;
3; 2; 7.0; i8 5; s7 "seven"; 8.0; i8 5; s7 "eight"; 4; 2; 4; 5;
3; 1; 9.0; i8 4; s7 "nine"; 4; 1; 4;
3; 1; 10.0; i8 3; s7 "ten"; 4; 1; 5;

# One value label for STR1.
3; 1; s8 "a"; i8 19; s23 "value label for `a'"; 4; 1; 6;

# Two value labels for STR2, as a single pair of type 3 and type 4 records.
3; 2;
s8 "bc"; i8 20; s23 "value label for `bc'";
s8 "de"; i8 20; s23 "value label for `de'";
4; 1; 7;

# Two value labels for STR3, as two pairs of type 3 and type 4 records.
3; 1; s8 "fgh"; i8 21; s23 "value label for `fgh'"; 4; 1; 8;
3; 1; s8 "ijk"; i8 21; s23 "value label for `ijk'"; 4; 1; 8;

# Two common value labels for STR4 and STR5, plus two different ones for each.
3; 1; s8 "lmno"; i8 22; s23 "value label for `lmno'"; 4; 1; 9;
3; 1; s8 "pqrs"; i8 22; s23 "value label for `pqrs'"; 4; 1; 10;
3; 2;
s8 "tuvw"; i8 22; s23 "value label for `tuvw'";
s8 "xyzA"; i8 22; s23 "value label for `xyzA'";
4; 2; 9; 10;
3; 1; s8 "BCDE"; i8 22; s23 "value label for `BCDE'"; 4; 1; 9;
3; 1; s8 "FGHI"; i8 22; s23 "value label for `FGHI'"; 4; 1; 10;

# One value label for STR6, STR7, STR8.
3; 1; s8 "JKLMNO"; i8 24; s31 "value label for `JKLMNO'"; 4; 1; 11;
3; 1; s8 "JKLMNOP"; i8 25; s31 "value label for `JKLMNOP'"; 4; 1; 12;
3; 1; s8 "JKLMNOPQ"; i8 26; s31 "value label for `JKLMNOPQ'"; 4; 1; 13;

# Machine integer info record.
7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1251;

# Character encoding record.
7; 20; 1; 12; "windows-1251";

7; 21; 1; COUNT (
# One value label for STR9ж,
COUNT("STR9"; i8 230); 9; 1; COUNT("RSTUVWXYZ"); COUNT("value label for `RSTUVWXYZ'");

# Two value labels for STR12.
COUNT("STR12"); 12; 2;
COUNT("0123456789ab"); COUNT("value label for `0123456789ab'");
COUNT("cdefghijklmn"); COUNT("value label for `cdefghijklmn'");

# Three value labels for STR16.
COUNT("STR16"); 16; 3;
COUNT("opqrstuvwxyzABCD"); COUNT("value label for `opqrstuvwxyzABCD'");
COUNT("EFGHIJKLMNOPQRST"); COUNT("value label for `EFGHIJKLMNOPQRST'");
COUNT("UVWXYZ0123456789"); COUNT("value label for `UVWXYZ0123456789' with Cyrillic letters: `"; i8 244; i8 245; i8 246; "'");

# One value label for STR17.
COUNT("STR17"); 17; 1;
COUNT("abcdefghijklmnopq"); COUNT("value label for `abcdefghijklmnopq'");
);

# Dictionary termination record.
999; 0;