1 dnl PSPP - a program for statistical analysis.
2 dnl Copyright (C) 2017 Free Software Foundation, Inc.
4 dnl This program is free software: you can redistribute it and/or modify
5 dnl it under the terms of the GNU General Public License as published by
6 dnl the Free Software Foundation, either version 3 of the License, or
7 dnl (at your option) any later version.
9 dnl This program is distributed in the hope that it will be useful,
10 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 dnl GNU General Public License for more details.
14 dnl You should have received a copy of the GNU General Public License
15 dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
17 AT_BANNER([FACTOR procedure])
19 AT_SETUP([FACTOR extraction=paf method=correlation])
20 dnl This example is based on data from http://www.ats.ucla.edu/stat/Spss/output/factor1.htm
25 data list notable fixed /question13 to question24 1-12.
1459 question13 question14 question15 question16 question17 question18 question19 question20 question21 question22 question23 question24 (0).
1462 /variables question13 question14 question15 question16 question17 question18 question19 question20 question21 question22 question23 question24
1464 /print univariate det correlation
1467 /criteria factors(3)
1469 /method = correlation.
1472 AT_CHECK([pspp -O format=csv factor.sps], [0],
1473 [Table: Descriptive Statistics
1474 ,Mean,Std. Deviation,Analysis N
1475 question13,4.462,.729,1365
1476 question14,4.525,.700,1365
1477 question15,4.445,.732,1365
1478 question16,4.281,.829,1365
1479 question17,4.166,.895,1365
1480 question18,3.930,1.034,1365
1481 question19,4.077,.963,1365
1482 question20,3.777,.909,1365
1483 question21,3.774,.984,1365
1484 question22,3.607,1.116,1365
1485 question23,3.813,.957,1365
1486 question24,3.666,.926,1365
1488 Table: Correlation Matrix
1489 ,,question13,question14,question15,question16,question17,question18,question19,question20,question21,question22,question23,question24
1490 Correlation,question13,1.000,.661,.600,.566,.577,.409,.286,.304,.476,.333,.564,.454
1491 ,question14,.661,1.000,.635,.500,.552,.433,.320,.315,.449,.333,.565,.443
1492 ,question15,.600,.635,1.000,.505,.587,.457,.359,.356,.509,.369,.582,.435
1493 ,question16,.566,.500,.505,1.000,.586,.405,.335,.317,.452,.363,.459,.430
1494 ,question17,.577,.552,.587,.586,1.000,.555,.449,.417,.595,.450,.613,.521
1495 ,question18,.409,.433,.457,.405,.555,1.000,.627,.521,.554,.536,.569,.474
1496 ,question19,.286,.320,.359,.335,.449,.627,1.000,.446,.499,.484,.444,.374
1497 ,question20,.304,.315,.356,.317,.417,.521,.446,1.000,.425,.383,.410,.357
1498 ,question21,.476,.449,.509,.452,.595,.554,.499,.425,1.000,.507,.598,.500
1499 ,question22,.333,.333,.369,.363,.450,.536,.484,.383,.507,1.000,.493,.444
1500 ,question23,.564,.565,.582,.459,.613,.569,.444,.410,.598,.493,1.000,.705
1501 ,question24,.454,.443,.435,.430,.521,.474,.374,.357,.500,.444,.705,1.000
1502 Caption: Determinant: 0.00
1504 Table: Factor Matrix
1507 question13,.713,.398,
1508 question14,.703,.339,
1512 question18,.740,-.345,
1513 question19,.616,-.415,
1517 question23,.819,,.345
1518 question24,.695,,.386
1520 Table: Rotated Factor Matrix
1527 question17,.587,.446,
1531 question21,.402,.533,.321
1533 question23,.449,.377,.668
1534 question24,.324,.321,.652
1539 AT_SETUP([FACTOR extraction=pc method=correlation])
1540 dnl This example is from http://www.ats.ucla.edu/stat/spss/whatstat/whatstat.htm
1542 AT_DATA([factor2.sps],
1543 [set format = F11.3.
1546 data list notable list /id female race ses schtyp prog read write math science socst.
1548 70.00 .00 4.00 1.00 1.00 1.00 57.00 52.00 41.00 47.00 57.00
1549 121.00 1.00 4.00 2.00 1.00 3.00 68.00 59.00 53.00 63.00 61.00
1550 86.00 .00 4.00 3.00 1.00 1.00 44.00 33.00 54.00 58.00 31.00
1551 141.00 .00 4.00 3.00 1.00 3.00 63.00 44.00 47.00 53.00 56.00
1552 172.00 .00 4.00 2.00 1.00 2.00 47.00 52.00 57.00 53.00 61.00
1553 113.00 .00 4.00 2.00 1.00 2.00 44.00 52.00 51.00 63.00 61.00
1554 50.00 .00 3.00 2.00 1.00 1.00 50.00 59.00 42.00 53.00 61.00
1555 11.00 .00 1.00 2.00 1.00 2.00 34.00 46.00 45.00 39.00 36.00
1556 84.00 .00 4.00 2.00 1.00 1.00 63.00 57.00 54.00 58.00 51.00
1557 48.00 .00 3.00 2.00 1.00 2.00 57.00 55.00 52.00 50.00 51.00
1558 75.00 .00 4.00 2.00 1.00 3.00 60.00 46.00 51.00 53.00 61.00
1559 60.00 .00 4.00 2.00 1.00 2.00 57.00 65.00 51.00 63.00 61.00
1560 95.00 .00 4.00 3.00 1.00 2.00 73.00 60.00 71.00 61.00 71.00
1561 104.00 .00 4.00 3.00 1.00 2.00 54.00 63.00 57.00 55.00 46.00
1562 38.00 .00 3.00 1.00 1.00 2.00 45.00 57.00 50.00 31.00 56.00
1563 115.00 .00 4.00 1.00 1.00 1.00 42.00 49.00 43.00 50.00 56.00
1564 76.00 .00 4.00 3.00 1.00 2.00 47.00 52.00 51.00 50.00 56.00
1565 195.00 .00 4.00 2.00 2.00 1.00 57.00 57.00 60.00 58.00 56.00
1566 114.00 .00 4.00 3.00 1.00 2.00 68.00 65.00 62.00 55.00 61.00
1567 85.00 .00 4.00 2.00 1.00 1.00 55.00 39.00 57.00 53.00 46.00
1568 167.00 .00 4.00 2.00 1.00 1.00 63.00 49.00 35.00 66.00 41.00
1569 143.00 .00 4.00 2.00 1.00 3.00 63.00 63.00 75.00 72.00 66.00
1570 41.00 .00 3.00 2.00 1.00 2.00 50.00 40.00 45.00 55.00 56.00
1571 20.00 .00 1.00 3.00 1.00 2.00 60.00 52.00 57.00 61.00 61.00
1572 12.00 .00 1.00 2.00 1.00 3.00 37.00 44.00 45.00 39.00 46.00
1573 53.00 .00 3.00 2.00 1.00 3.00 34.00 37.00 46.00 39.00 31.00
1574 154.00 .00 4.00 3.00 1.00 2.00 65.00 65.00 66.00 61.00 66.00
1575 178.00 .00 4.00 2.00 2.00 3.00 47.00 57.00 57.00 58.00 46.00
1576 196.00 .00 4.00 3.00 2.00 2.00 44.00 38.00 49.00 39.00 46.00
1577 29.00 .00 2.00 1.00 1.00 1.00 52.00 44.00 49.00 55.00 41.00
1578 126.00 .00 4.00 2.00 1.00 1.00 42.00 31.00 57.00 47.00 51.00
1579 103.00 .00 4.00 3.00 1.00 2.00 76.00 52.00 64.00 64.00 61.00
1580 192.00 .00 4.00 3.00 2.00 2.00 65.00 67.00 63.00 66.00 71.00
1581 150.00 .00 4.00 2.00 1.00 3.00 42.00 41.00 57.00 72.00 31.00
1582 199.00 .00 4.00 3.00 2.00 2.00 52.00 59.00 50.00 61.00 61.00
1583 144.00 .00 4.00 3.00 1.00 1.00 60.00 65.00 58.00 61.00 66.00
1584 200.00 .00 4.00 2.00 2.00 2.00 68.00 54.00 75.00 66.00 66.00
1585 80.00 .00 4.00 3.00 1.00 2.00 65.00 62.00 68.00 66.00 66.00
1586 16.00 .00 1.00 1.00 1.00 3.00 47.00 31.00 44.00 36.00 36.00
1587 153.00 .00 4.00 2.00 1.00 3.00 39.00 31.00 40.00 39.00 51.00
1588 176.00 .00 4.00 2.00 2.00 2.00 47.00 47.00 41.00 42.00 51.00
1589 177.00 .00 4.00 2.00 2.00 2.00 55.00 59.00 62.00 58.00 51.00
1590 168.00 .00 4.00 2.00 1.00 2.00 52.00 54.00 57.00 55.00 51.00
1591 40.00 .00 3.00 1.00 1.00 1.00 42.00 41.00 43.00 50.00 41.00
1592 62.00 .00 4.00 3.00 1.00 1.00 65.00 65.00 48.00 63.00 66.00
1593 169.00 .00 4.00 1.00 1.00 1.00 55.00 59.00 63.00 69.00 46.00
1594 49.00 .00 3.00 3.00 1.00 3.00 50.00 40.00 39.00 49.00 47.00
1595 136.00 .00 4.00 2.00 1.00 2.00 65.00 59.00 70.00 63.00 51.00
1596 189.00 .00 4.00 2.00 2.00 2.00 47.00 59.00 63.00 53.00 46.00
1597 7.00 .00 1.00 2.00 1.00 2.00 57.00 54.00 59.00 47.00 51.00
1598 27.00 .00 2.00 2.00 1.00 2.00 53.00 61.00 61.00 57.00 56.00
1599 128.00 .00 4.00 3.00 1.00 2.00 39.00 33.00 38.00 47.00 41.00
1600 21.00 .00 1.00 2.00 1.00 1.00 44.00 44.00 61.00 50.00 46.00
1601 183.00 .00 4.00 2.00 2.00 2.00 63.00 59.00 49.00 55.00 71.00
1602 132.00 .00 4.00 2.00 1.00 2.00 73.00 62.00 73.00 69.00 66.00
1603 15.00 .00 1.00 3.00 1.00 3.00 39.00 39.00 44.00 26.00 42.00
1604 67.00 .00 4.00 1.00 1.00 3.00 37.00 37.00 42.00 33.00 32.00
1605 22.00 .00 1.00 2.00 1.00 3.00 42.00 39.00 39.00 56.00 46.00
1606 185.00 .00 4.00 2.00 2.00 2.00 63.00 57.00 55.00 58.00 41.00
1607 9.00 .00 1.00 2.00 1.00 3.00 48.00 49.00 52.00 44.00 51.00
1608 181.00 .00 4.00 2.00 2.00 2.00 50.00 46.00 45.00 58.00 61.00
1609 170.00 .00 4.00 3.00 1.00 2.00 47.00 62.00 61.00 69.00 66.00
1610 134.00 .00 4.00 1.00 1.00 1.00 44.00 44.00 39.00 34.00 46.00
1611 108.00 .00 4.00 2.00 1.00 1.00 34.00 33.00 41.00 36.00 36.00
1612 197.00 .00 4.00 3.00 2.00 2.00 50.00 42.00 50.00 36.00 61.00
1613 140.00 .00 4.00 2.00 1.00 3.00 44.00 41.00 40.00 50.00 26.00
1614 171.00 .00 4.00 2.00 1.00 2.00 60.00 54.00 60.00 55.00 66.00
1615 107.00 .00 4.00 1.00 1.00 3.00 47.00 39.00 47.00 42.00 26.00
1616 81.00 .00 4.00 1.00 1.00 2.00 63.00 43.00 59.00 65.00 44.00
1617 18.00 .00 1.00 2.00 1.00 3.00 50.00 33.00 49.00 44.00 36.00
1618 155.00 .00 4.00 2.00 1.00 1.00 44.00 44.00 46.00 39.00 51.00
1619 97.00 .00 4.00 3.00 1.00 2.00 60.00 54.00 58.00 58.00 61.00
1620 68.00 .00 4.00 2.00 1.00 2.00 73.00 67.00 71.00 63.00 66.00
1621 157.00 .00 4.00 2.00 1.00 1.00 68.00 59.00 58.00 74.00 66.00
1622 56.00 .00 4.00 2.00 1.00 3.00 55.00 45.00 46.00 58.00 51.00
1623 5.00 .00 1.00 1.00 1.00 2.00 47.00 40.00 43.00 45.00 31.00
1624 159.00 .00 4.00 3.00 1.00 2.00 55.00 61.00 54.00 49.00 61.00
1625 123.00 .00 4.00 3.00 1.00 1.00 68.00 59.00 56.00 63.00 66.00
1626 164.00 .00 4.00 2.00 1.00 3.00 31.00 36.00 46.00 39.00 46.00
1627 14.00 .00 1.00 3.00 1.00 2.00 47.00 41.00 54.00 42.00 56.00
1628 127.00 .00 4.00 3.00 1.00 2.00 63.00 59.00 57.00 55.00 56.00
1629 165.00 .00 4.00 1.00 1.00 3.00 36.00 49.00 54.00 61.00 36.00
1630 174.00 .00 4.00 2.00 2.00 2.00 68.00 59.00 71.00 66.00 56.00
1631 3.00 .00 1.00 1.00 1.00 2.00 63.00 65.00 48.00 63.00 56.00
1632 58.00 .00 4.00 2.00 1.00 3.00 55.00 41.00 40.00 44.00 41.00
1633 146.00 .00 4.00 3.00 1.00 2.00 55.00 62.00 64.00 63.00 66.00
1634 102.00 .00 4.00 3.00 1.00 2.00 52.00 41.00 51.00 53.00 56.00
1635 117.00 .00 4.00 3.00 1.00 3.00 34.00 49.00 39.00 42.00 56.00
1636 133.00 .00 4.00 2.00 1.00 3.00 50.00 31.00 40.00 34.00 31.00
1637 94.00 .00 4.00 3.00 1.00 2.00 55.00 49.00 61.00 61.00 56.00
1638 24.00 .00 2.00 2.00 1.00 2.00 52.00 62.00 66.00 47.00 46.00
1639 149.00 .00 4.00 1.00 1.00 1.00 63.00 49.00 49.00 66.00 46.00
1640 82.00 1.00 4.00 3.00 1.00 2.00 68.00 62.00 65.00 69.00 61.00
1641 8.00 1.00 1.00 1.00 1.00 2.00 39.00 44.00 52.00 44.00 48.00
1642 129.00 1.00 4.00 1.00 1.00 1.00 44.00 44.00 46.00 47.00 51.00
1643 173.00 1.00 4.00 1.00 1.00 1.00 50.00 62.00 61.00 63.00 51.00
1644 57.00 1.00 4.00 2.00 1.00 2.00 71.00 65.00 72.00 66.00 56.00
1645 100.00 1.00 4.00 3.00 1.00 2.00 63.00 65.00 71.00 69.00 71.00
1646 1.00 1.00 1.00 1.00 1.00 3.00 34.00 44.00 40.00 39.00 41.00
1647 194.00 1.00 4.00 3.00 2.00 2.00 63.00 63.00 69.00 61.00 61.00
1648 88.00 1.00 4.00 3.00 1.00 2.00 68.00 60.00 64.00 69.00 66.00
1649 99.00 1.00 4.00 3.00 1.00 1.00 47.00 59.00 56.00 66.00 61.00
1650 47.00 1.00 3.00 1.00 1.00 2.00 47.00 46.00 49.00 33.00 41.00
1651 120.00 1.00 4.00 3.00 1.00 2.00 63.00 52.00 54.00 50.00 51.00
1652 166.00 1.00 4.00 2.00 1.00 2.00 52.00 59.00 53.00 61.00 51.00
1653 65.00 1.00 4.00 2.00 1.00 2.00 55.00 54.00 66.00 42.00 56.00
1654 101.00 1.00 4.00 3.00 1.00 2.00 60.00 62.00 67.00 50.00 56.00
1655 89.00 1.00 4.00 1.00 1.00 3.00 35.00 35.00 40.00 51.00 33.00
1656 54.00 1.00 3.00 1.00 2.00 1.00 47.00 54.00 46.00 50.00 56.00
1657 180.00 1.00 4.00 3.00 2.00 2.00 71.00 65.00 69.00 58.00 71.00
1658 162.00 1.00 4.00 2.00 1.00 3.00 57.00 52.00 40.00 61.00 56.00
1659 4.00 1.00 1.00 1.00 1.00 2.00 44.00 50.00 41.00 39.00 51.00
1660 131.00 1.00 4.00 3.00 1.00 2.00 65.00 59.00 57.00 46.00 66.00
1661 125.00 1.00 4.00 1.00 1.00 2.00 68.00 65.00 58.00 59.00 56.00
1662 34.00 1.00 1.00 3.00 2.00 2.00 73.00 61.00 57.00 55.00 66.00
1663 106.00 1.00 4.00 2.00 1.00 3.00 36.00 44.00 37.00 42.00 41.00
1664 130.00 1.00 4.00 3.00 1.00 1.00 43.00 54.00 55.00 55.00 46.00
1665 93.00 1.00 4.00 3.00 1.00 2.00 73.00 67.00 62.00 58.00 66.00
1666 163.00 1.00 4.00 1.00 1.00 2.00 52.00 57.00 64.00 58.00 56.00
1667 37.00 1.00 3.00 1.00 1.00 3.00 41.00 47.00 40.00 39.00 51.00
1668 35.00 1.00 1.00 1.00 2.00 1.00 60.00 54.00 50.00 50.00 51.00
1669 87.00 1.00 4.00 2.00 1.00 1.00 50.00 52.00 46.00 50.00 56.00
1670 73.00 1.00 4.00 2.00 1.00 2.00 50.00 52.00 53.00 39.00 56.00
1671 151.00 1.00 4.00 2.00 1.00 3.00 47.00 46.00 52.00 48.00 46.00
1672 44.00 1.00 3.00 1.00 1.00 3.00 47.00 62.00 45.00 34.00 46.00
1673 152.00 1.00 4.00 3.00 1.00 2.00 55.00 57.00 56.00 58.00 61.00
1674 105.00 1.00 4.00 2.00 1.00 2.00 50.00 41.00 45.00 44.00 56.00
1675 28.00 1.00 2.00 2.00 1.00 1.00 39.00 53.00 54.00 50.00 41.00
1676 91.00 1.00 4.00 3.00 1.00 3.00 50.00 49.00 56.00 47.00 46.00
1677 45.00 1.00 3.00 1.00 1.00 3.00 34.00 35.00 41.00 29.00 26.00
1678 116.00 1.00 4.00 2.00 1.00 2.00 57.00 59.00 54.00 50.00 56.00
1679 33.00 1.00 2.00 1.00 1.00 2.00 57.00 65.00 72.00 54.00 56.00
1680 66.00 1.00 4.00 2.00 1.00 3.00 68.00 62.00 56.00 50.00 51.00
1681 72.00 1.00 4.00 2.00 1.00 3.00 42.00 54.00 47.00 47.00 46.00
1682 77.00 1.00 4.00 1.00 1.00 2.00 61.00 59.00 49.00 44.00 66.00
1683 61.00 1.00 4.00 3.00 1.00 2.00 76.00 63.00 60.00 67.00 66.00
1684 190.00 1.00 4.00 2.00 2.00 2.00 47.00 59.00 54.00 58.00 46.00
1685 42.00 1.00 3.00 2.00 1.00 3.00 46.00 52.00 55.00 44.00 56.00
1686 2.00 1.00 1.00 2.00 1.00 3.00 39.00 41.00 33.00 42.00 41.00
1687 55.00 1.00 3.00 2.00 2.00 2.00 52.00 49.00 49.00 44.00 61.00
1688 19.00 1.00 1.00 1.00 1.00 1.00 28.00 46.00 43.00 44.00 51.00
1689 90.00 1.00 4.00 3.00 1.00 2.00 42.00 54.00 50.00 50.00 52.00
1690 142.00 1.00 4.00 2.00 1.00 3.00 47.00 42.00 52.00 39.00 51.00
1691 17.00 1.00 1.00 2.00 1.00 2.00 47.00 57.00 48.00 44.00 41.00
1692 122.00 1.00 4.00 2.00 1.00 2.00 52.00 59.00 58.00 53.00 66.00
1693 191.00 1.00 4.00 3.00 2.00 2.00 47.00 52.00 43.00 48.00 61.00
1694 83.00 1.00 4.00 2.00 1.00 3.00 50.00 62.00 41.00 55.00 31.00
1695 182.00 1.00 4.00 2.00 2.00 2.00 44.00 52.00 43.00 44.00 51.00
1696 6.00 1.00 1.00 1.00 1.00 2.00 47.00 41.00 46.00 40.00 41.00
1697 46.00 1.00 3.00 1.00 1.00 2.00 45.00 55.00 44.00 34.00 41.00
1698 43.00 1.00 3.00 1.00 1.00 2.00 47.00 37.00 43.00 42.00 46.00
1699 96.00 1.00 4.00 3.00 1.00 2.00 65.00 54.00 61.00 58.00 56.00
1700 138.00 1.00 4.00 2.00 1.00 3.00 43.00 57.00 40.00 50.00 51.00
1701 10.00 1.00 1.00 2.00 1.00 1.00 47.00 54.00 49.00 53.00 61.00
1702 71.00 1.00 4.00 2.00 1.00 1.00 57.00 62.00 56.00 58.00 66.00
1703 139.00 1.00 4.00 2.00 1.00 2.00 68.00 59.00 61.00 55.00 71.00
1704 110.00 1.00 4.00 2.00 1.00 3.00 52.00 55.00 50.00 54.00 61.00
1705 148.00 1.00 4.00 2.00 1.00 3.00 42.00 57.00 51.00 47.00 61.00
1706 109.00 1.00 4.00 2.00 1.00 1.00 42.00 39.00 42.00 42.00 41.00
1707 39.00 1.00 3.00 3.00 1.00 2.00 66.00 67.00 67.00 61.00 66.00
1708 147.00 1.00 4.00 1.00 1.00 2.00 47.00 62.00 53.00 53.00 61.00
1709 74.00 1.00 4.00 2.00 1.00 2.00 57.00 50.00 50.00 51.00 58.00
1710 198.00 1.00 4.00 3.00 2.00 2.00 47.00 61.00 51.00 63.00 31.00
1711 161.00 1.00 4.00 1.00 1.00 2.00 57.00 62.00 72.00 61.00 61.00
1712 112.00 1.00 4.00 2.00 1.00 2.00 52.00 59.00 48.00 55.00 61.00
1713 69.00 1.00 4.00 1.00 1.00 3.00 44.00 44.00 40.00 40.00 31.00
1714 156.00 1.00 4.00 2.00 1.00 2.00 50.00 59.00 53.00 61.00 61.00
1715 111.00 1.00 4.00 1.00 1.00 1.00 39.00 54.00 39.00 47.00 36.00
1716 186.00 1.00 4.00 2.00 2.00 2.00 57.00 62.00 63.00 55.00 41.00
1717 98.00 1.00 4.00 1.00 1.00 3.00 57.00 60.00 51.00 53.00 37.00
1718 119.00 1.00 4.00 1.00 1.00 1.00 42.00 57.00 45.00 50.00 43.00
1719 13.00 1.00 1.00 2.00 1.00 3.00 47.00 46.00 39.00 47.00 61.00
1720 51.00 1.00 3.00 3.00 1.00 1.00 42.00 36.00 42.00 31.00 39.00
1721 26.00 1.00 2.00 3.00 1.00 2.00 60.00 59.00 62.00 61.00 51.00
1722 36.00 1.00 3.00 1.00 1.00 1.00 44.00 49.00 44.00 35.00 51.00
1723 135.00 1.00 4.00 1.00 1.00 2.00 63.00 60.00 65.00 54.00 66.00
1724 59.00 1.00 4.00 2.00 1.00 2.00 65.00 67.00 63.00 55.00 71.00
1725 78.00 1.00 4.00 2.00 1.00 2.00 39.00 54.00 54.00 53.00 41.00
1726 64.00 1.00 4.00 3.00 1.00 3.00 50.00 52.00 45.00 58.00 36.00
1727 63.00 1.00 4.00 1.00 1.00 1.00 52.00 65.00 60.00 56.00 51.00
1728 79.00 1.00 4.00 2.00 1.00 2.00 60.00 62.00 49.00 50.00 51.00
1729 193.00 1.00 4.00 2.00 2.00 2.00 44.00 49.00 48.00 39.00 51.00
1730 92.00 1.00 4.00 3.00 1.00 1.00 52.00 67.00 57.00 63.00 61.00
1731 160.00 1.00 4.00 2.00 1.00 2.00 55.00 65.00 55.00 50.00 61.00
1732 32.00 1.00 2.00 3.00 1.00 3.00 50.00 67.00 66.00 66.00 56.00
1733 23.00 1.00 2.00 1.00 1.00 2.00 65.00 65.00 64.00 58.00 71.00
1734 158.00 1.00 4.00 2.00 1.00 1.00 52.00 54.00 55.00 53.00 51.00
1735 25.00 1.00 2.00 2.00 1.00 1.00 47.00 44.00 42.00 42.00 36.00
1736 188.00 1.00 4.00 3.00 2.00 2.00 63.00 62.00 56.00 55.00 61.00
1737 52.00 1.00 3.00 1.00 1.00 2.00 50.00 46.00 53.00 53.00 66.00
1738 124.00 1.00 4.00 1.00 1.00 3.00 42.00 54.00 41.00 42.00 41.00
1739 175.00 1.00 4.00 3.00 2.00 1.00 36.00 57.00 42.00 50.00 41.00
1740 184.00 1.00 4.00 2.00 2.00 3.00 50.00 52.00 53.00 55.00 56.00
1741 30.00 1.00 2.00 3.00 1.00 2.00 41.00 59.00 42.00 34.00 51.00
1742 179.00 1.00 4.00 2.00 2.00 2.00 47.00 65.00 60.00 50.00 56.00
1743 31.00 1.00 2.00 2.00 2.00 1.00 55.00 59.00 52.00 42.00 56.00
1744 145.00 1.00 4.00 2.00 1.00 3.00 42.00 46.00 38.00 36.00 46.00
1745 187.00 1.00 4.00 2.00 2.00 1.00 57.00 41.00 57.00 55.00 52.00
1746 118.00 1.00 4.00 2.00 1.00 1.00 55.00 62.00 58.00 58.00 61.00
1747 137.00 1.00 4.00 3.00 1.00 2.00 63.00 65.00 65.00 53.00 61.00
1751 /variables read write math science socst
1752 /analysis read write math science socst
1755 /criteria mineigen (.557)
1759 AT_CHECK([pspp -O format=csv factor2.sps], [0],
1760 [Table: Communalities
1768 Table: Total Variance Explained
1769 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,,
1770 ,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1771 1,3.381,67.6%,67.6%,3.381,67.6%,67.6%,2.113,42.3%,42.3%
1772 2,.557,11.1%,78.8%,.557,11.1%,78.8%,1.825,36.5%,78.8%
1773 3,.407,8.1%,86.9%,,,,,,
1774 4,.356,7.1%,94.0%,,,,,,
1775 5,.299,6.0%,100.0%,,,,,,
1777 Table: Component Matrix
1786 Table: Rotated Component Matrix
1800 AT_SETUP([FACTOR empty dataset])
1801 dnl Test that something sane happens when the dataset contains no complete observations
1803 AT_DATA([factor-empty.sps],
1804 [data list notable list /x * y * z *.
1812 factor /variables = ALL.
1815 AT_CHECK([pspp -O format=csv factor-empty.sps], [0], [ignore])
1819 dnl Fixes a crash reported at
1820 dnl http://lists.gnu.org/archive/html/bug-gnu-pspp/2012-04/msg00001.html
1821 AT_SETUP([FACTOR /ROTATION=NOROTATE])
1822 AT_DATA([factor-norotate.sps], [dnl
1823 DATA LIST FREE / TRAIT1 TO TRAIT5 (F8.2).
1835 FACTOR /VARIABLES=TRAIT1 TO TRAIT5
1836 /ROTATION=NOROTATE /* NOROTATE may have caused the problem. */
1838 /PRINT=DEFAULT DET UNIVARIATE ROTATION SIG CORRELATION.
1841 AT_CHECK([pspp -O format=csv factor-norotate.sps], [0], [dnl
1842 Table: Descriptive Statistics
1843 ,Mean,Std. Deviation,Analysis N
1850 Table: Correlation Matrix
1851 ,,TRAIT1,TRAIT2,TRAIT3,TRAIT4,TRAIT5
1852 Correlation,TRAIT1,1.000,.296,.881,.995,.545
1853 ,TRAIT2,.296,1.000,-.022,.326,.837
1854 ,TRAIT3,.881,-.022,1.000,.867,.130
1855 ,TRAIT4,.995,.326,.867,1.000,.544
1856 ,TRAIT5,.545,.837,.130,.544,1.000
1857 Sig. (1-tailed),TRAIT1,,.260,.004,.000,.103
1858 ,TRAIT2,.260,,.482,.238,.009
1859 ,TRAIT3,.004,.482,,.006,.390
1860 ,TRAIT4,.000,.238,.006,,.103
1861 ,TRAIT5,.103,.009,.390,.103,
1862 Caption: Determinant: 0.00
1864 Table: Communalities
1872 Table: Total Variance Explained
1873 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
1874 ,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1875 1,3.26,65.3%,65.3%,3.26,65.3%,65.3%
1876 2,1.54,30.8%,96.0%,1.54,30.8%,96.0%
1877 3,.17,3.4%,99.4%,.17,3.4%,99.4%
1878 4,.03,.6%,100.0%,.03,.6%,100.0%
1881 Table: Component Matrix
1884 TRAIT1,.97,.23,-.08,.00
1885 TRAIT2,.52,-.81,.28,.00
1886 TRAIT3,.78,.59,.17,.00
1887 TRAIT4,.97,.21,-.04,.00
1888 TRAIT5,.70,-.67,-.23,.00
1894 dnl Fixes a bug in the way that the /CRITERIA = ITERATE option was interpreted.
1895 dnl http://lists.gnu.org/archive/html/bug-gnu-pspp/2013-09/msg00036.html
1896 AT_SETUP([FACTOR /CRITERIA=ITERATE])
1897 AT_DATA([factor-iterate.sps], [dnl
1899 data list notable list /x y z *.
1914 /CRITERIA = MINEIGEN (1) ITERATE (25)
1916 /METHOD = CORRELATION
1917 /PRINT = INITIAL EXTRACTION
1918 /CRITERIA = ITERATE (0)
1919 /ROTATION = NOROTATE.
1922 AT_CHECK([pspp -O format=csv factor-iterate.sps], [0], [dnl
1923 Table: Communalities
1929 Table: Total Variance Explained
1930 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
1931 ,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1932 1,2.404,80.1%,80.1%,2.155,71.8%,71.8%
1933 2,.425,14.2%,94.3%,,,
1934 3,.171,5.7%,100.0%,,,
1936 Table: Factor Matrix
1946 AT_SETUP([FACTOR promax])
1947 AT_DATA([factor-promax.sps], [dnl
1951 get file='llz.zsav'.
1954 /variables pz pn ps nz nn ns tz tn ts oz on os sz sn ss zz zn zs
1956 /print initial extraction rotation
1957 /criteria mineigen(1) iterate(25)
1960 /rotation promax (5).
1963 AT_CHECK([ln -s $top_srcdir/tests/language/stats/llz.zsav .], [0], [ignore])
1965 AT_CHECK([pspp -O format=csv factor-promax.sps], [0], [dnl
1966 Table: Communalities
1987 Table: Total Variance Explained
1988 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,,
1989 ,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1990 1,2.968,16.5%,16.5%,2.411,13.4%,13.4%,. ,. ,. @&t@
1991 2,2.026,11.3%,27.7%,1.271,7.1%,20.5%,. ,. ,-Infinity
1992 3,1.622,9.0%,36.8%,.948,5.3%,25.7%,. ,. ,-Infinity
1993 4,1.086,6.0%,42.8%,.283,1.6%,27.3%,. ,. ,-Infinity
1994 5,.996,5.5%,48.3%,,,,,,
1995 6,.923,5.1%,53.5%,,,,,,
1996 7,.873,4.9%,58.3%,,,,,,
1997 8,.856,4.8%,63.1%,,,,,,
1998 9,.836,4.6%,67.7%,,,,,,
1999 10,.816,4.5%,72.2%,,,,,,
2000 11,.785,4.4%,76.6%,,,,,,
2001 12,.740,4.1%,80.7%,,,,,,
2002 13,.713,4.0%,84.7%,,,,,,
2003 14,.653,3.6%,88.3%,,,,,,
2004 15,.633,3.5%,91.8%,,,,,,
2005 16,.604,3.4%,95.2%,,,,,,
2006 17,.484,2.7%,97.9%,,,,,,
2007 18,.386,2.1%,100.0%,,,,,,
2009 Table: Factor Matrix
2012 PZ,-.276,.154,.510,.124
2013 PN,.096,.129,-.091,.261
2014 PS,.746,-.085,.234,.063
2015 NZ,-.111,.323,.206,-.058
2016 NN,.007,.260,-.083,-.069
2017 NS,.366,.096,.046,.051
2018 TZ,-.228,.172,.509,.059
2019 TN,.131,.345,-.074,.029
2020 TS,.601,-.005,.098,.030
2021 OZ,-.145,.166,.322,-.081
2022 ON,.607,.082,.073,-.173
2023 OS,.757,-.059,.171,-.104
2024 SZ,-.142,.307,.226,-.066
2025 SN,.175,.436,-.183,.115
2026 SS,.199,.206,-.083,.302
2027 ZZ,-.074,.411,-.080,-.104
2028 ZN,.015,.580,-.252,-.114
2029 ZS,.365,.156,-.004,.015
2031 Table: Pattern Matrix
2034 PZ,-.063,-.126,.599,.085
2035 PN,-.035,.000,-.033,.325
2036 PS,.762,-.175,.058,.081
2037 NZ,.027,.230,.327,-.044
2038 NN,.008,.289,.008,-.026
2039 NS,.344,.044,.015,.091
2040 TZ,.004,-.074,.589,.020
2041 TN,.097,.307,.033,.103
2042 TS,.585,-.043,-.017,.062
2043 OZ,.046,.067,.382,-.109
2044 ON,.654,.151,-.029,-.145
2045 OS,.803,-.037,-.009,-.092
2046 SZ,.009,.213,.345,-.060
2047 SN,.065,.376,-.036,.227
2048 SS,.054,.042,-.013,.388
2049 ZZ,-.044,.434,.078,-.046
2050 ZN,-.025,.646,-.041,-.006
2051 ZS,.337,.133,-.013,.067
2053 Table: Structure Matrix
2056 PZ,-.177,-.058,.598,-.022
2057 PN,.068,.110,-.049,.317
2058 PS,.771,-.138,-.136,.240
2059 NZ,-.060,.236,.339,.019
2060 NN,.000,.281,.027,.076
2061 NS,.368,.080,-.068,.207
2062 TZ,-.127,-.028,.582,-.049
2063 TN,.122,.345,.023,.235
2064 TS,.607,-.018,-.160,.221
2065 OZ,-.074,.055,.384,-.101
2066 ON,.619,.104,-.160,.102
2067 OS,.778,-.064,-.190,.132
2068 SZ,-.086,.215,.361,-.009
2069 SN,.143,.453,-.044,.380
2070 SS,.171,.176,-.052,.420
2071 ZZ,-.073,.422,.120,.085
2072 ZN,-.013,.641,.008,.214
2073 ZS,.361,.158,-.088,.213
2075 Table: Factor Correlation Matrix
2077 1,1.000,.008,-.232,.294
2078 2,.008,1.000,.065,.347
2079 3,-.232,.065,1.000,-.076
2080 4,.294,.347,-.076,1.000
2091 AT_SETUP([FACTOR covariance matrix])
2093 AT_DATA([covariance-matrix.sps], [dnl
2096 variables = rowtype_ var01 var02 var03 var04 var05 var06 var07 var08
2097 / format = lower diagonal .
2099 mean 24.3 5.4 69.7 20.1 13.4 2.7 27.9 3.7
2100 sd 5.7 1.5 23.5 5.8 2.8 4.5 5.4 1.5
2101 n 92 92 92 92 92 92 92 92
2103 cov 1.539000 2.250000
2104 cov -29.469000 -5.992500 552.250000
2105 cov 11.901600 2.697000 -19.082000 33.640000
2106 cov 4.309200 0.672000 -7.896000 3.572800 7.840000
2107 cov 8.464500 1.012500 -17.977500 6.264000 2.646000 20.250000
2108 cov 15.390000 2.349000 -25.380000 10.022400 1.814400 9.234000 29.160000
2109 cov 1.453500 0.652500 -1.762500 1.740000 1.134000 1.350000 0.324000 2.250000
2112 factor matrix in (cov = *)
2113 / method = covariance
2114 / print = initial covariance
2116 / rotation = norotate.
2119 AT_CHECK([pspp -O format=csv covariance-matrix.sps], [0], [dnl
2120 Table: Covariance Matrix
2121 ,var01,var02,var03,var04,var05,var06,var07,var08
2122 var01,32.490,1.539,-29.469,11.902,4.309,8.464,15.390,1.454
2123 var02,1.539,2.250,-5.992,2.697,.672,1.013,2.349,.653
2124 var03,-29.469,-5.992,552.250,-19.082,-7.896,-17.977,-25.380,-1.763
2125 var04,11.902,2.697,-19.082,33.640,3.573,6.264,10.022,1.740
2126 var05,4.309,.672,-7.896,3.573,7.840,2.646,1.814,1.134
2127 var06,8.464,1.013,-17.977,6.264,2.646,20.250,9.234,1.350
2128 var07,15.390,2.349,-25.380,10.022,1.814,9.234,29.160,.324
2129 var08,1.454,.653,-1.763,1.740,1.134,1.350,.324,2.250
2131 Table: Communalities
2142 Table: Total Variance Explained
2143 ,Initial Eigenvalues,,
2144 ,Total,% of Variance,Cumulative %
2145 1,556.895,81.9%,81.9%
2154 Table: Component Matrix
2157 var01,1.394,4.388,1.513,-2.851,.849,.396,.033
2158 var02,.269,.460,-.173,.147,-.146,-.213,.872
2159 var03,-23.489,.725,.058,.003,.022,-.012,.006
2160 var04,.926,4.007,-4.068,.241,-.253,.218,-.026
2161 var05,.363,.829,-.172,-.255,.805,-2.492,.058
2162 var06,.843,2.354,.971,2.425,2.649,.392,.046
2163 var07,1.205,3.948,1.926,1.515,-2.450,-.317,-.087
2164 var08,.085,.319,-.157,-.011,.353,-.341,-.816
2171 dnl A more realistic example of factor analysis usage.
2172 AT_SETUP([FACTOR correlation matrix])
2174 AT_DATA([correlation-matrix.sps], [dnl
2178 variables = rowtype_
2179 cdi_actws_16 cdi_maxzin_16 rdls_passws_16 rdls_actws_16 cdi_actws_20 cdi_maxzin_20 cdi_actws_26 cdi_maxzin_26 rdls_passws_26 rdls_actws_26
2180 nepsy_passws_36 morf_verv_36 bnt_actws_36 klankgr_id_36 snelnoe_36 letters_36 ppvt_passws_50 morf_verv_50
2181 nepsy_passws_56 bnt_actws_56 klank_gr_weg_56 snelnoe_56 letters_56
2182 leesacc_wo_owo_811 leesacc_tekst_811 leesacc_otekst_811 leessne_wo_owo_811 leesvl_tekst_811 leesvl_otekst_811 leessne_wo_811 spel_wo_owo_811
2183 / format = upper diagonal .
2185 mean 64.44 1.74 15.30 11.50 269.03 5.37 441.90 8.57 36.59 33.99 11.68 14.74 18.67 6.70 71.57 2.28 70.45 51.82 18.82 34.57 11.68 45.63 12.94 35.08 92.60 79.28 2.78 61.71 29.44 9.46 13.17
2186 sd 74.93 1.36 5.51 4.17 159.26 2.76 128.77 3.50 6.20 6.50 3.55 8.37 5.90 3.01 24.81 4.09 24.44 18.55 2.90 6.46 3.01 14.06 7.69 4.36 7.10 17.57 1.27 25.68 11.75 3.36 4.13
2187 n 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150
2188 corr 1.00 .784 .397 .862 .692 .625 .490 .374 .406 .371 .260 .257 .306 .118 -.148 .072 .202 .234 .198 .241 .205 -.054 .246 .166 .143 .155 -.122 .144 -.010 .135 .241
2189 corr 1.00 .333 .751 .549 .553 .447 .313 .304 .377 .204 .249 .258 .193 -.158 .119 .150 .216 .127 .209 .242 .046 .233 .120 .155 .107 -.126 .147 -.009 .134 .208
2190 corr 1.00 .469 .433 .381 .442 .307 .462 .391 .378 .293 .369 .191 -.306 .238 .204 .215 .295 .285 .157 .069 .241 .029 .060 .054 -.043 .124 -.069 .054 .136
2191 corr 1.00 .708 .663 .509 .419 .434 .432 .267 .255 .342 .132 -.192 .142 .228 .203 .248 .260 .200 -.051 .254 .136 .156 .109 -.126 .172 -.004 .157 .268
2192 corr 1.00 .787 .710 .567 .402 .511 .274 .285 .332 .154 -.096 .247 .253 .235 .245 .257 .261 -.048 .243 .119 .194 .164 -.108 .184 .011 .157 .235
2193 corr 1.00 .590 .646 .449 .505 .313 .322 .405 .148 -.117 .152 .294 .322 .252 .321 .267 -.055 .255 .118 .178 .137 -.110 .182 .004 .146 .216
2194 corr 1.00 .548 .343 .619 .296 .260 .456 .149 -.098 .252 .279 .267 .342 .361 .186 -.066 .215 .107 .148 .059 -.114 .156 -.035 .095 .220
2195 corr 1.00 .406 .509 .397 .236 .416 .037 -.179 .192 .334 .293 .277 .367 .162 -.150 .306 .171 .307 .173 -.128 .255 .075 .224 .315
2196 corr 1.00 .410 .497 .560 .574 .240 -.301 .204 .508 .351 .457 .428 .242 -.117 .367 .136 .191 .191 -.102 .215 .053 .185 .273
2197 corr 1.00 .328 .258 .534 .236 -.202 .200 .333 .209 .352 .375 .302 -.119 .272 .062 .203 .042 -.092 .220 .020 .158 .227
2198 corr 1.00 .439 .488 .323 -.213 .287 .507 .427 .493 .522 .298 -.142 .371 .109 .215 .213 -.048 .228 .009 .133 .267
2199 corr 1.00 .437 .381 -.158 .153 .403 .430 .383 .379 .150 -.141 .303 .115 .131 .155 -.170 .206 .039 .193 .254
2200 corr 1.00 .247 -.143 .182 .521 .364 .415 .688 .304 -.185 .327 .188 .211 .202 -.111 .272 .122 .226 .301
2201 corr 1.00 -.150 .229 .296 .249 .329 .255 .210 -.036 .252 .141 .230 .112 -.195 .309 .135 .250 .195
2202 corr 1.00 -.132 -.204 -.162 -.284 -.166 -.189 .294 -.339 -.094 -.218 -.144 .153 -.246 -.128 -.192 -.239
2203 corr 1.00 .151 .132 .166 .195 .387 -.214 .476 .154 .187 .167 -.236 .410 .316 .370 .245
2204 corr 1.00 .388 .479 .591 .294 -.171 .351 .102 .245 .180 .003 .274 .059 .178 .236
2205 corr 1.00 .408 .437 .276 -.153 .353 .251 .318 .229 -.111 .263 .042 .203 .349
2206 corr 1.00 .467 .234 -.249 .382 .199 .313 .197 -.117 .263 .047 .215 .318
2207 corr 1.00 .368 -.199 .441 .198 .224 .197 -.099 .329 .105 .256 .322
2208 corr 1.00 -.211 .473 .233 .253 .268 -.198 .397 .229 .309 .277
2209 corr 1.00 -.310 -.217 -.312 -.203 .227 -.296 -.260 -.276 -.321
2210 corr 1.00 .368 .350 .311 -.313 .578 .338 .521 .458
2211 corr 1.00 .415 .580 -.588 .545 .497 .635 .683
2212 corr 1.00 .570 -.386 .494 .340 .538 .524
2213 corr 1.00 -.366 .427 .299 .498 .506
2214 corr 1.00 -.684 -.620 -.746 -.568
2215 corr 1.00 .759 .900 .555
2221 factor matrix in (cor = *)
2222 / analysis = cdi_actws_16 rdls_actws_16 cdi_actws_20 cdi_actws_26 rdls_actws_26 bnt_actws_36 bnt_actws_56
2224 / criteria = factors (1)
2226 / rotation = norotate
2227 / print = initial extraction .
2231 AT_CHECK([pspp -O format=csv correlation-matrix.sps], [0], [dnl
2232 Table: Communalities
2234 cdi_actws_16,1.000,.614
2235 rdls_actws_16,1.000,.660
2236 cdi_actws_20,1.000,.695
2237 cdi_actws_26,1.000,.650
2238 rdls_actws_26,1.000,.536
2239 bnt_actws_36,1.000,.443
2240 bnt_actws_56,1.000,.316
2242 Table: Total Variance Explained
2243 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
2244 ,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
2245 1,3.914,55.9%,55.9%,3.914,55.9%,55.9%
2246 2,1.320,18.9%,74.8%,,,
2247 3,.716,10.2%,85.0%,,,
2248 4,.422,6.0%,91.0%,,,
2249 5,.278,4.0%,95.0%,,,
2250 6,.216,3.1%,98.1%,,,
2251 7,.135,1.9%,100.0%,,,
2253 Table: Component Matrix
2268 AT_SETUP([FACTOR bad input])
2270 dnl Test for a crash
2271 AT_DATA([bad-input.sps], [dnl
2273 MATRIX DATA VARIABLES S1 ROWTYPE_ V1 TO V3 /SPLIT=S1.
2291 FACTOR MATRIX IN (CORR =!*)
2292 /PRINT = CORRELATION
2296 AT_CHECK([pspp -O format=csv bad-input.sps], [1], [ignore])
2301 AT_SETUP([FACTOR anti-image matrix])
2303 AT_DATA([anti-image-matrix.sps], [dnl
2306 variables = rowtype_ viq piq pa ran piatwr piatc
2308 / format = lower diagonal .
2310 mean 96.88 100.51 -1.73 -0.94 -2.52 -1.85
2311 sd 10.97 11.19 1.19 0.88 0.85 0.97
2315 corr 0.16 0.17 0.34 1.00
2316 corr 0.25 0.07 0.46 0.38 1.00
2317 corr 0.37 0.22 0.39 0.30 0.59 1.00
2320 factor matrix = in (cor = *)
2321 / analysis = viq piq pa ran piatwr piatc
2324 / rotation = norotate
2328 AT_CHECK([pspp -O format=csv anti-image-matrix.sps], [0], [dnl
2329 Table: Anti-Image Matrices
2330 ,,viq,piq,pa,ran,piatwr,piatc
2331 Anti-image Covariance,viq,.762,-.248,-.048,.008,-.031,-.143
2332 ,piq,-.248,.807,-.117,-.081,.108,-.071
2333 ,pa,-.048,-.117,.711,-.125,-.173,-.060
2334 ,ran,.008,-.081,-.125,.808,-.143,-.035
2335 ,piatwr,-.031,.108,-.173,-.143,.551,-.265
2336 ,piatc,-.143,-.071,-.060,-.035,-.265,.581
2337 Anti-image Correlation,viq,.741,-.316,-.066,.011,-.048,-.215
2338 ,piq,-.316,.624,-.154,-.100,.163,-.103
2339 ,pa,-.066,-.154,.811,-.165,-.277,-.093
2340 ,ran,.011,-.100,-.165,.825,-.214,-.051
2341 ,piatwr,-.048,.163,-.277,-.214,.675,-.469
2342 ,piatc,-.215,-.103,-.093,-.051,-.469,.729
2344 Table: Component Matrix
2347 piatc,.774,.122,-.368,.365,-.322
2348 piatwr,.754,.418,.442,.219,-.115
2349 pa,.707,.124,-.117,-.161,.256
2350 piq,.456,-.733,.122,-.289,-.377
2351 viq,.589,-.539,.033,.298,.457
2352 ran,.592,.262,-.069,-.638,.096
2358 AT_SETUP([FACTOR Kaiser-Meyer-Olkin])
2360 AT_DATA([kmo.sps], [dnl
2363 variables = rowtype_ viq piq pa ran piatwr piatc
2365 / format = lower diagonal .
2367 mean 96.88 100.51 -1.73 -0.94 -2.52 -1.85
2368 sd 10.97 11.19 1.19 0.88 0.85 0.97
2372 corr 0.16 0.17 0.34 1.00
2373 corr 0.25 0.07 0.46 0.38 1.00
2374 corr 0.37 0.22 0.39 0.30 0.59 1.00
2377 factor matrix = in (cor = *)
2378 / analysis = viq piq pa ran piatwr piatc
2380 / rotation = norotate
2384 AT_CHECK([pspp -O format=csv kmo.sps], [0], [dnl
2385 Table: KMO and Bartlett's Test
2386 Kaiser-Meyer-Olkin Measure of Sampling Adequacy,,.730
2387 Bartlett's Test of Sphericity,Approx. Chi-Square,602.673
2391 Table: Component Matrix
2394 viq,.589,-.539,.033,.298,.457
2395 piq,.456,-.733,.122,-.289,-.377
2396 pa,.707,.124,-.117,-.161,.256
2397 ran,.592,.262,-.069,-.638,.096
2398 piatwr,.754,.418,.442,.219,-.115
2399 piatc,.774,.122,-.368,.365,-.322