projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys-file-reader: Fix double-free on read of partial record.
[pspp-builds.git]
/
tests
/
language
/
stats
/
factor.at
diff --git
a/tests/language/stats/factor.at
b/tests/language/stats/factor.at
index 43825c86962fe2e169edd1ba24bca0b8dcc13285..ca01ca80513a2e800f996967e1f085eefefe5c9a 100644
(file)
--- a/
tests/language/stats/factor.at
+++ b/
tests/language/stats/factor.at
@@
-1499,6
+1499,22
@@
question21,.732,,
question22,.613,,
question23,.819,,.345
question24,.695,,.386
question22,.613,,
question23,.819,,.345
question24,.695,,.386
+
+Table: Rotated Factor Matrix
+,Factor,,
+,1,2,3
+question13,.771,,
+question14,.726,,
+question15,.676,,
+question16,.591,,
+question17,.587,.446,
+question18,,.739,
+question19,,.727,
+question20,,.540,
+question21,.402,.533,.321
+question22,,.559,
+question23,.449,.377,.668
+question24,.324,.321,.652
])
AT_CLEANUP
])
AT_CLEANUP
@@
-1734,8
+1750,8
@@
socst,1.000,.900
Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,,
Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,,
Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
-1,3.381,67.616,67.616,3.381,67.616,67.616,
,,
-2,.557,11.148,78.764,.557,11.148,78.764,
,,
+1,3.381,67.616,67.616,3.381,67.616,67.616,
2.113,42.267,42.267
+2,.557,11.148,78.764,.557,11.148,78.764,
1.825,36.497,78.764
3,.407,8.136,86.900,,,,,,
4,.356,7.123,94.023,,,,,,
5,.299,5.977,100.000,,,,,,
3,.407,8.136,86.900,,,,,,
4,.356,7.123,94.023,,,,,,
5,.299,5.977,100.000,,,,,,
@@
-1748,6
+1764,35
@@
write,.824,-.155
math,.844,.195
science,.801,.456
socst,.783,-.536
math,.844,.195
science,.801,.456
socst,.783,-.536
+
+Table: Rotated Component Matrix
+,Component,
+,1,2
+read,.650,.559
+write,.508,.667
+math,.757,.421
+science,.900,.198
+socst,.222,.922
+])
+
+AT_CLEANUP
+
+
+
+AT_SETUP([FACTOR empty dataset])
+dnl Test that something sane happens when the dataset contains no complete observations
+
+AT_DATA([factor-empty.sps],
+ [data list notable list /x * y * z *.
+begin data.
+3.4 . 92.9
+. 32.09 34.2
+1.00 19.80 .
+2.00 . 3.6
+end data.
+
+factor /variables = ALL.
])
])
-AT_C
LEANUP
\ No newline at end of file
+AT_C
HECK([pspp -O format=csv factor-empty.sps], [0], [ignore])
+AT_CLEANUP