checkin of 0.3.0
[pspp-builds.git] / tests / crosstabs.stat
1 clear transformations.
2 input program.
3 loop a=1 to 1000.
4 compute a=trunc(uniform(5)).
5 compute b=trunc(uniform(5)).
6 compute c=trunc(uniform(5)).
7 compute d=trunc(uniform(5)).
8 compute e=trunc(uniform(5)).
9 compute f=trunc(uniform(5)).
10 end case.
11 end loop.
12 end file.
13 end input program.
14 select if not ((a=1 and e=3) or (c=2)).
15 print /all.
16 missing value all (2).
17 *crosstabs/missing=report/variables=a to f(0,4)/tables=a by e by f/statistics=all/pivot on.
18 crosstabs a by e by f/statistics=all/pivot on.
19 execute.