File: crosstabs.stat

package info (click to toggle)
pspp 0.3.0-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,288 kB
  • ctags: 4,679
  • sloc: ansic: 57,209; sh: 2,874; makefile: 405; sed: 93; perl: 18
file content (19 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear transformations.
input program.
loop a=1 to 1000.
compute a=trunc(uniform(5)).
compute b=trunc(uniform(5)).
compute c=trunc(uniform(5)).
compute d=trunc(uniform(5)).
compute e=trunc(uniform(5)).
compute f=trunc(uniform(5)).
end case.
end loop.
end file.
end input program.
select if not ((a=1 and e=3) or (c=2)).
print /all.
missing value all (2).
*crosstabs/missing=report/variables=a to f(0,4)/tables=a by e by f/statistics=all/pivot on.
crosstabs a by e by f/statistics=all/pivot on.
execute.