File: tables.at

package info (click to toggle)
pspp 0.8.4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 35,692 kB
  • ctags: 20,600
  • sloc: ansic: 218,288; sh: 12,890; xml: 11,342; perl: 715; lisp: 597; makefile: 157
file content (63 lines) | stat: -rw-r--r-- 1,380 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
AT_BANNER([output -- tables])

AT_SETUP([precision])

AT_DATA([prec.sps], [[
data list notable list /A * B *.
begin data.
2.0 3.0
1.0 2.0
2.0 4.5
2.0 4.5
3.0 6.0
end data.

OUTPUT MODIFY 
       /SELECT TABLES 
       /TABLECELLS  SELECT = [ SIGNIFICANCE ] 
       	    FORMAT = F.3.

t-test /PAIRS a with b (PAIRED).

OUTPUT MODIFY 
       /SELECT TABLES 
       /TABLECELLS  SELECT = [ SIGNIFICANCE ] 
       	    FORMAT = F12.5.

t-test /PAIRS a with b (PAIRED).

]])

AT_CHECK([pspp -O format=csv prec.sps], [0], [dnl
Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,A,2.00,5,.71,.32
,B,4.00,5,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.92,.028

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009

Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,A,2.00,5,.71,.32
,B,4.00,5,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.92,.02801

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.00877
])

AT_CLEANUP