File: crosstabs.stat

package info (click to toggle)
pspp 0.2.4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,180 kB
  • ctags: 4,791
  • sloc: ansic: 56,977; sh: 1,649; makefile: 395; sed: 93; perl: 18
file content (18 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)).
missing value all (2).
*crosstabs/missing=report/variables=a to f(0,4)/tables=a by e by f/statistics=all/format pivot.
crosstabs a by e by f/statistics=all/format pivot.
execute.