1 AT_BANNER([FACTOR procedure])
3 AT_SETUP([FACTOR extraction=paf method=correlation])
4 dnl This example is based on data from http://www.ats.ucla.edu/stat/Spss/output/factor1.htm
9 data list notable fixed /question13 to question24 1-12.
1443 question13 question14 question15 question16 question17 question18 question19 question20 question21 question22 question23 question24 (0).
1446 /variables question13 question14 question15 question16 question17 question18 question19 question20 question21 question22 question23 question24
1448 /print univariate det correlation
1451 /criteria factors(3)
1453 /method = correlation.
1456 AT_CHECK([pspp -O format=csv factor.sps], [0],
1457 [Table: Descriptive Statistics
1458 ,Mean,Std. Deviation,Analysis N
1459 question13,4.462,.729,1365
1460 question14,4.525,.700,1365
1461 question15,4.445,.732,1365
1462 question16,4.281,.829,1365
1463 question17,4.166,.895,1365
1464 question18,3.930,1.034,1365
1465 question19,4.077,.963,1365
1466 question20,3.777,.909,1365
1467 question21,3.774,.984,1365
1468 question22,3.607,1.116,1365
1469 question23,3.813,.957,1365
1470 question24,3.666,.926,1365
1472 Table: Correlation Matrix
1473 ,,question13,question14,question15,question16,question17,question18,question19,question20,question21,question22,question23,question24
1474 Correlations,question13,1.000,.661,.600,.566,.577,.409,.286,.304,.476,.333,.564,.454
1475 ,question14,.661,1.000,.635,.500,.552,.433,.320,.315,.449,.333,.565,.443
1476 ,question15,.600,.635,1.000,.505,.587,.457,.359,.356,.509,.369,.582,.435
1477 ,question16,.566,.500,.505,1.000,.586,.405,.335,.317,.452,.363,.459,.430
1478 ,question17,.577,.552,.587,.586,1.000,.555,.449,.417,.595,.450,.613,.521
1479 ,question18,.409,.433,.457,.405,.555,1.000,.627,.521,.554,.536,.569,.474
1480 ,question19,.286,.320,.359,.335,.449,.627,1.000,.446,.499,.484,.444,.374
1481 ,question20,.304,.315,.356,.317,.417,.521,.446,1.000,.425,.383,.410,.357
1482 ,question21,.476,.449,.509,.452,.595,.554,.499,.425,1.000,.507,.598,.500
1483 ,question22,.333,.333,.369,.363,.450,.536,.484,.383,.507,1.000,.493,.444
1484 ,question23,.564,.565,.582,.459,.613,.569,.444,.410,.598,.493,1.000,.705
1485 ,question24,.454,.443,.435,.430,.521,.474,.374,.357,.500,.444,.705,1.000
1486 Determinant,.002,,,,,,,,,,,,
1488 Table: Factor Matrix
1491 question13,.713,.398,
1492 question14,.703,.339,
1496 question18,.740,-.345,
1497 question19,.616,-.415,
1501 question23,.819,,.345
1502 question24,.695,,.386
1504 Table: Rotated Factor Matrix
1511 question17,.587,.446,
1515 question21,.402,.533,.321
1517 question23,.449,.377,.668
1518 question24,.324,.321,.652
1523 AT_SETUP([FACTOR extraction=pc method=correlation])
1524 dnl This example is from http://www.ats.ucla.edu/stat/spss/whatstat/whatstat.htm
1526 AT_DATA([factor2.sps],
1527 [set format = F11.3.
1530 data list notable list /id female race ses schtyp prog read write math science socst.
1532 70.00 .00 4.00 1.00 1.00 1.00 57.00 52.00 41.00 47.00 57.00
1533 121.00 1.00 4.00 2.00 1.00 3.00 68.00 59.00 53.00 63.00 61.00
1534 86.00 .00 4.00 3.00 1.00 1.00 44.00 33.00 54.00 58.00 31.00
1535 141.00 .00 4.00 3.00 1.00 3.00 63.00 44.00 47.00 53.00 56.00
1536 172.00 .00 4.00 2.00 1.00 2.00 47.00 52.00 57.00 53.00 61.00
1537 113.00 .00 4.00 2.00 1.00 2.00 44.00 52.00 51.00 63.00 61.00
1538 50.00 .00 3.00 2.00 1.00 1.00 50.00 59.00 42.00 53.00 61.00
1539 11.00 .00 1.00 2.00 1.00 2.00 34.00 46.00 45.00 39.00 36.00
1540 84.00 .00 4.00 2.00 1.00 1.00 63.00 57.00 54.00 58.00 51.00
1541 48.00 .00 3.00 2.00 1.00 2.00 57.00 55.00 52.00 50.00 51.00
1542 75.00 .00 4.00 2.00 1.00 3.00 60.00 46.00 51.00 53.00 61.00
1543 60.00 .00 4.00 2.00 1.00 2.00 57.00 65.00 51.00 63.00 61.00
1544 95.00 .00 4.00 3.00 1.00 2.00 73.00 60.00 71.00 61.00 71.00
1545 104.00 .00 4.00 3.00 1.00 2.00 54.00 63.00 57.00 55.00 46.00
1546 38.00 .00 3.00 1.00 1.00 2.00 45.00 57.00 50.00 31.00 56.00
1547 115.00 .00 4.00 1.00 1.00 1.00 42.00 49.00 43.00 50.00 56.00
1548 76.00 .00 4.00 3.00 1.00 2.00 47.00 52.00 51.00 50.00 56.00
1549 195.00 .00 4.00 2.00 2.00 1.00 57.00 57.00 60.00 58.00 56.00
1550 114.00 .00 4.00 3.00 1.00 2.00 68.00 65.00 62.00 55.00 61.00
1551 85.00 .00 4.00 2.00 1.00 1.00 55.00 39.00 57.00 53.00 46.00
1552 167.00 .00 4.00 2.00 1.00 1.00 63.00 49.00 35.00 66.00 41.00
1553 143.00 .00 4.00 2.00 1.00 3.00 63.00 63.00 75.00 72.00 66.00
1554 41.00 .00 3.00 2.00 1.00 2.00 50.00 40.00 45.00 55.00 56.00
1555 20.00 .00 1.00 3.00 1.00 2.00 60.00 52.00 57.00 61.00 61.00
1556 12.00 .00 1.00 2.00 1.00 3.00 37.00 44.00 45.00 39.00 46.00
1557 53.00 .00 3.00 2.00 1.00 3.00 34.00 37.00 46.00 39.00 31.00
1558 154.00 .00 4.00 3.00 1.00 2.00 65.00 65.00 66.00 61.00 66.00
1559 178.00 .00 4.00 2.00 2.00 3.00 47.00 57.00 57.00 58.00 46.00
1560 196.00 .00 4.00 3.00 2.00 2.00 44.00 38.00 49.00 39.00 46.00
1561 29.00 .00 2.00 1.00 1.00 1.00 52.00 44.00 49.00 55.00 41.00
1562 126.00 .00 4.00 2.00 1.00 1.00 42.00 31.00 57.00 47.00 51.00
1563 103.00 .00 4.00 3.00 1.00 2.00 76.00 52.00 64.00 64.00 61.00
1564 192.00 .00 4.00 3.00 2.00 2.00 65.00 67.00 63.00 66.00 71.00
1565 150.00 .00 4.00 2.00 1.00 3.00 42.00 41.00 57.00 72.00 31.00
1566 199.00 .00 4.00 3.00 2.00 2.00 52.00 59.00 50.00 61.00 61.00
1567 144.00 .00 4.00 3.00 1.00 1.00 60.00 65.00 58.00 61.00 66.00
1568 200.00 .00 4.00 2.00 2.00 2.00 68.00 54.00 75.00 66.00 66.00
1569 80.00 .00 4.00 3.00 1.00 2.00 65.00 62.00 68.00 66.00 66.00
1570 16.00 .00 1.00 1.00 1.00 3.00 47.00 31.00 44.00 36.00 36.00
1571 153.00 .00 4.00 2.00 1.00 3.00 39.00 31.00 40.00 39.00 51.00
1572 176.00 .00 4.00 2.00 2.00 2.00 47.00 47.00 41.00 42.00 51.00
1573 177.00 .00 4.00 2.00 2.00 2.00 55.00 59.00 62.00 58.00 51.00
1574 168.00 .00 4.00 2.00 1.00 2.00 52.00 54.00 57.00 55.00 51.00
1575 40.00 .00 3.00 1.00 1.00 1.00 42.00 41.00 43.00 50.00 41.00
1576 62.00 .00 4.00 3.00 1.00 1.00 65.00 65.00 48.00 63.00 66.00
1577 169.00 .00 4.00 1.00 1.00 1.00 55.00 59.00 63.00 69.00 46.00
1578 49.00 .00 3.00 3.00 1.00 3.00 50.00 40.00 39.00 49.00 47.00
1579 136.00 .00 4.00 2.00 1.00 2.00 65.00 59.00 70.00 63.00 51.00
1580 189.00 .00 4.00 2.00 2.00 2.00 47.00 59.00 63.00 53.00 46.00
1581 7.00 .00 1.00 2.00 1.00 2.00 57.00 54.00 59.00 47.00 51.00
1582 27.00 .00 2.00 2.00 1.00 2.00 53.00 61.00 61.00 57.00 56.00
1583 128.00 .00 4.00 3.00 1.00 2.00 39.00 33.00 38.00 47.00 41.00
1584 21.00 .00 1.00 2.00 1.00 1.00 44.00 44.00 61.00 50.00 46.00
1585 183.00 .00 4.00 2.00 2.00 2.00 63.00 59.00 49.00 55.00 71.00
1586 132.00 .00 4.00 2.00 1.00 2.00 73.00 62.00 73.00 69.00 66.00
1587 15.00 .00 1.00 3.00 1.00 3.00 39.00 39.00 44.00 26.00 42.00
1588 67.00 .00 4.00 1.00 1.00 3.00 37.00 37.00 42.00 33.00 32.00
1589 22.00 .00 1.00 2.00 1.00 3.00 42.00 39.00 39.00 56.00 46.00
1590 185.00 .00 4.00 2.00 2.00 2.00 63.00 57.00 55.00 58.00 41.00
1591 9.00 .00 1.00 2.00 1.00 3.00 48.00 49.00 52.00 44.00 51.00
1592 181.00 .00 4.00 2.00 2.00 2.00 50.00 46.00 45.00 58.00 61.00
1593 170.00 .00 4.00 3.00 1.00 2.00 47.00 62.00 61.00 69.00 66.00
1594 134.00 .00 4.00 1.00 1.00 1.00 44.00 44.00 39.00 34.00 46.00
1595 108.00 .00 4.00 2.00 1.00 1.00 34.00 33.00 41.00 36.00 36.00
1596 197.00 .00 4.00 3.00 2.00 2.00 50.00 42.00 50.00 36.00 61.00
1597 140.00 .00 4.00 2.00 1.00 3.00 44.00 41.00 40.00 50.00 26.00
1598 171.00 .00 4.00 2.00 1.00 2.00 60.00 54.00 60.00 55.00 66.00
1599 107.00 .00 4.00 1.00 1.00 3.00 47.00 39.00 47.00 42.00 26.00
1600 81.00 .00 4.00 1.00 1.00 2.00 63.00 43.00 59.00 65.00 44.00
1601 18.00 .00 1.00 2.00 1.00 3.00 50.00 33.00 49.00 44.00 36.00
1602 155.00 .00 4.00 2.00 1.00 1.00 44.00 44.00 46.00 39.00 51.00
1603 97.00 .00 4.00 3.00 1.00 2.00 60.00 54.00 58.00 58.00 61.00
1604 68.00 .00 4.00 2.00 1.00 2.00 73.00 67.00 71.00 63.00 66.00
1605 157.00 .00 4.00 2.00 1.00 1.00 68.00 59.00 58.00 74.00 66.00
1606 56.00 .00 4.00 2.00 1.00 3.00 55.00 45.00 46.00 58.00 51.00
1607 5.00 .00 1.00 1.00 1.00 2.00 47.00 40.00 43.00 45.00 31.00
1608 159.00 .00 4.00 3.00 1.00 2.00 55.00 61.00 54.00 49.00 61.00
1609 123.00 .00 4.00 3.00 1.00 1.00 68.00 59.00 56.00 63.00 66.00
1610 164.00 .00 4.00 2.00 1.00 3.00 31.00 36.00 46.00 39.00 46.00
1611 14.00 .00 1.00 3.00 1.00 2.00 47.00 41.00 54.00 42.00 56.00
1612 127.00 .00 4.00 3.00 1.00 2.00 63.00 59.00 57.00 55.00 56.00
1613 165.00 .00 4.00 1.00 1.00 3.00 36.00 49.00 54.00 61.00 36.00
1614 174.00 .00 4.00 2.00 2.00 2.00 68.00 59.00 71.00 66.00 56.00
1615 3.00 .00 1.00 1.00 1.00 2.00 63.00 65.00 48.00 63.00 56.00
1616 58.00 .00 4.00 2.00 1.00 3.00 55.00 41.00 40.00 44.00 41.00
1617 146.00 .00 4.00 3.00 1.00 2.00 55.00 62.00 64.00 63.00 66.00
1618 102.00 .00 4.00 3.00 1.00 2.00 52.00 41.00 51.00 53.00 56.00
1619 117.00 .00 4.00 3.00 1.00 3.00 34.00 49.00 39.00 42.00 56.00
1620 133.00 .00 4.00 2.00 1.00 3.00 50.00 31.00 40.00 34.00 31.00
1621 94.00 .00 4.00 3.00 1.00 2.00 55.00 49.00 61.00 61.00 56.00
1622 24.00 .00 2.00 2.00 1.00 2.00 52.00 62.00 66.00 47.00 46.00
1623 149.00 .00 4.00 1.00 1.00 1.00 63.00 49.00 49.00 66.00 46.00
1624 82.00 1.00 4.00 3.00 1.00 2.00 68.00 62.00 65.00 69.00 61.00
1625 8.00 1.00 1.00 1.00 1.00 2.00 39.00 44.00 52.00 44.00 48.00
1626 129.00 1.00 4.00 1.00 1.00 1.00 44.00 44.00 46.00 47.00 51.00
1627 173.00 1.00 4.00 1.00 1.00 1.00 50.00 62.00 61.00 63.00 51.00
1628 57.00 1.00 4.00 2.00 1.00 2.00 71.00 65.00 72.00 66.00 56.00
1629 100.00 1.00 4.00 3.00 1.00 2.00 63.00 65.00 71.00 69.00 71.00
1630 1.00 1.00 1.00 1.00 1.00 3.00 34.00 44.00 40.00 39.00 41.00
1631 194.00 1.00 4.00 3.00 2.00 2.00 63.00 63.00 69.00 61.00 61.00
1632 88.00 1.00 4.00 3.00 1.00 2.00 68.00 60.00 64.00 69.00 66.00
1633 99.00 1.00 4.00 3.00 1.00 1.00 47.00 59.00 56.00 66.00 61.00
1634 47.00 1.00 3.00 1.00 1.00 2.00 47.00 46.00 49.00 33.00 41.00
1635 120.00 1.00 4.00 3.00 1.00 2.00 63.00 52.00 54.00 50.00 51.00
1636 166.00 1.00 4.00 2.00 1.00 2.00 52.00 59.00 53.00 61.00 51.00
1637 65.00 1.00 4.00 2.00 1.00 2.00 55.00 54.00 66.00 42.00 56.00
1638 101.00 1.00 4.00 3.00 1.00 2.00 60.00 62.00 67.00 50.00 56.00
1639 89.00 1.00 4.00 1.00 1.00 3.00 35.00 35.00 40.00 51.00 33.00
1640 54.00 1.00 3.00 1.00 2.00 1.00 47.00 54.00 46.00 50.00 56.00
1641 180.00 1.00 4.00 3.00 2.00 2.00 71.00 65.00 69.00 58.00 71.00
1642 162.00 1.00 4.00 2.00 1.00 3.00 57.00 52.00 40.00 61.00 56.00
1643 4.00 1.00 1.00 1.00 1.00 2.00 44.00 50.00 41.00 39.00 51.00
1644 131.00 1.00 4.00 3.00 1.00 2.00 65.00 59.00 57.00 46.00 66.00
1645 125.00 1.00 4.00 1.00 1.00 2.00 68.00 65.00 58.00 59.00 56.00
1646 34.00 1.00 1.00 3.00 2.00 2.00 73.00 61.00 57.00 55.00 66.00
1647 106.00 1.00 4.00 2.00 1.00 3.00 36.00 44.00 37.00 42.00 41.00
1648 130.00 1.00 4.00 3.00 1.00 1.00 43.00 54.00 55.00 55.00 46.00
1649 93.00 1.00 4.00 3.00 1.00 2.00 73.00 67.00 62.00 58.00 66.00
1650 163.00 1.00 4.00 1.00 1.00 2.00 52.00 57.00 64.00 58.00 56.00
1651 37.00 1.00 3.00 1.00 1.00 3.00 41.00 47.00 40.00 39.00 51.00
1652 35.00 1.00 1.00 1.00 2.00 1.00 60.00 54.00 50.00 50.00 51.00
1653 87.00 1.00 4.00 2.00 1.00 1.00 50.00 52.00 46.00 50.00 56.00
1654 73.00 1.00 4.00 2.00 1.00 2.00 50.00 52.00 53.00 39.00 56.00
1655 151.00 1.00 4.00 2.00 1.00 3.00 47.00 46.00 52.00 48.00 46.00
1656 44.00 1.00 3.00 1.00 1.00 3.00 47.00 62.00 45.00 34.00 46.00
1657 152.00 1.00 4.00 3.00 1.00 2.00 55.00 57.00 56.00 58.00 61.00
1658 105.00 1.00 4.00 2.00 1.00 2.00 50.00 41.00 45.00 44.00 56.00
1659 28.00 1.00 2.00 2.00 1.00 1.00 39.00 53.00 54.00 50.00 41.00
1660 91.00 1.00 4.00 3.00 1.00 3.00 50.00 49.00 56.00 47.00 46.00
1661 45.00 1.00 3.00 1.00 1.00 3.00 34.00 35.00 41.00 29.00 26.00
1662 116.00 1.00 4.00 2.00 1.00 2.00 57.00 59.00 54.00 50.00 56.00
1663 33.00 1.00 2.00 1.00 1.00 2.00 57.00 65.00 72.00 54.00 56.00
1664 66.00 1.00 4.00 2.00 1.00 3.00 68.00 62.00 56.00 50.00 51.00
1665 72.00 1.00 4.00 2.00 1.00 3.00 42.00 54.00 47.00 47.00 46.00
1666 77.00 1.00 4.00 1.00 1.00 2.00 61.00 59.00 49.00 44.00 66.00
1667 61.00 1.00 4.00 3.00 1.00 2.00 76.00 63.00 60.00 67.00 66.00
1668 190.00 1.00 4.00 2.00 2.00 2.00 47.00 59.00 54.00 58.00 46.00
1669 42.00 1.00 3.00 2.00 1.00 3.00 46.00 52.00 55.00 44.00 56.00
1670 2.00 1.00 1.00 2.00 1.00 3.00 39.00 41.00 33.00 42.00 41.00
1671 55.00 1.00 3.00 2.00 2.00 2.00 52.00 49.00 49.00 44.00 61.00
1672 19.00 1.00 1.00 1.00 1.00 1.00 28.00 46.00 43.00 44.00 51.00
1673 90.00 1.00 4.00 3.00 1.00 2.00 42.00 54.00 50.00 50.00 52.00
1674 142.00 1.00 4.00 2.00 1.00 3.00 47.00 42.00 52.00 39.00 51.00
1675 17.00 1.00 1.00 2.00 1.00 2.00 47.00 57.00 48.00 44.00 41.00
1676 122.00 1.00 4.00 2.00 1.00 2.00 52.00 59.00 58.00 53.00 66.00
1677 191.00 1.00 4.00 3.00 2.00 2.00 47.00 52.00 43.00 48.00 61.00
1678 83.00 1.00 4.00 2.00 1.00 3.00 50.00 62.00 41.00 55.00 31.00
1679 182.00 1.00 4.00 2.00 2.00 2.00 44.00 52.00 43.00 44.00 51.00
1680 6.00 1.00 1.00 1.00 1.00 2.00 47.00 41.00 46.00 40.00 41.00
1681 46.00 1.00 3.00 1.00 1.00 2.00 45.00 55.00 44.00 34.00 41.00
1682 43.00 1.00 3.00 1.00 1.00 2.00 47.00 37.00 43.00 42.00 46.00
1683 96.00 1.00 4.00 3.00 1.00 2.00 65.00 54.00 61.00 58.00 56.00
1684 138.00 1.00 4.00 2.00 1.00 3.00 43.00 57.00 40.00 50.00 51.00
1685 10.00 1.00 1.00 2.00 1.00 1.00 47.00 54.00 49.00 53.00 61.00
1686 71.00 1.00 4.00 2.00 1.00 1.00 57.00 62.00 56.00 58.00 66.00
1687 139.00 1.00 4.00 2.00 1.00 2.00 68.00 59.00 61.00 55.00 71.00
1688 110.00 1.00 4.00 2.00 1.00 3.00 52.00 55.00 50.00 54.00 61.00
1689 148.00 1.00 4.00 2.00 1.00 3.00 42.00 57.00 51.00 47.00 61.00
1690 109.00 1.00 4.00 2.00 1.00 1.00 42.00 39.00 42.00 42.00 41.00
1691 39.00 1.00 3.00 3.00 1.00 2.00 66.00 67.00 67.00 61.00 66.00
1692 147.00 1.00 4.00 1.00 1.00 2.00 47.00 62.00 53.00 53.00 61.00
1693 74.00 1.00 4.00 2.00 1.00 2.00 57.00 50.00 50.00 51.00 58.00
1694 198.00 1.00 4.00 3.00 2.00 2.00 47.00 61.00 51.00 63.00 31.00
1695 161.00 1.00 4.00 1.00 1.00 2.00 57.00 62.00 72.00 61.00 61.00
1696 112.00 1.00 4.00 2.00 1.00 2.00 52.00 59.00 48.00 55.00 61.00
1697 69.00 1.00 4.00 1.00 1.00 3.00 44.00 44.00 40.00 40.00 31.00
1698 156.00 1.00 4.00 2.00 1.00 2.00 50.00 59.00 53.00 61.00 61.00
1699 111.00 1.00 4.00 1.00 1.00 1.00 39.00 54.00 39.00 47.00 36.00
1700 186.00 1.00 4.00 2.00 2.00 2.00 57.00 62.00 63.00 55.00 41.00
1701 98.00 1.00 4.00 1.00 1.00 3.00 57.00 60.00 51.00 53.00 37.00
1702 119.00 1.00 4.00 1.00 1.00 1.00 42.00 57.00 45.00 50.00 43.00
1703 13.00 1.00 1.00 2.00 1.00 3.00 47.00 46.00 39.00 47.00 61.00
1704 51.00 1.00 3.00 3.00 1.00 1.00 42.00 36.00 42.00 31.00 39.00
1705 26.00 1.00 2.00 3.00 1.00 2.00 60.00 59.00 62.00 61.00 51.00
1706 36.00 1.00 3.00 1.00 1.00 1.00 44.00 49.00 44.00 35.00 51.00
1707 135.00 1.00 4.00 1.00 1.00 2.00 63.00 60.00 65.00 54.00 66.00
1708 59.00 1.00 4.00 2.00 1.00 2.00 65.00 67.00 63.00 55.00 71.00
1709 78.00 1.00 4.00 2.00 1.00 2.00 39.00 54.00 54.00 53.00 41.00
1710 64.00 1.00 4.00 3.00 1.00 3.00 50.00 52.00 45.00 58.00 36.00
1711 63.00 1.00 4.00 1.00 1.00 1.00 52.00 65.00 60.00 56.00 51.00
1712 79.00 1.00 4.00 2.00 1.00 2.00 60.00 62.00 49.00 50.00 51.00
1713 193.00 1.00 4.00 2.00 2.00 2.00 44.00 49.00 48.00 39.00 51.00
1714 92.00 1.00 4.00 3.00 1.00 1.00 52.00 67.00 57.00 63.00 61.00
1715 160.00 1.00 4.00 2.00 1.00 2.00 55.00 65.00 55.00 50.00 61.00
1716 32.00 1.00 2.00 3.00 1.00 3.00 50.00 67.00 66.00 66.00 56.00
1717 23.00 1.00 2.00 1.00 1.00 2.00 65.00 65.00 64.00 58.00 71.00
1718 158.00 1.00 4.00 2.00 1.00 1.00 52.00 54.00 55.00 53.00 51.00
1719 25.00 1.00 2.00 2.00 1.00 1.00 47.00 44.00 42.00 42.00 36.00
1720 188.00 1.00 4.00 3.00 2.00 2.00 63.00 62.00 56.00 55.00 61.00
1721 52.00 1.00 3.00 1.00 1.00 2.00 50.00 46.00 53.00 53.00 66.00
1722 124.00 1.00 4.00 1.00 1.00 3.00 42.00 54.00 41.00 42.00 41.00
1723 175.00 1.00 4.00 3.00 2.00 1.00 36.00 57.00 42.00 50.00 41.00
1724 184.00 1.00 4.00 2.00 2.00 3.00 50.00 52.00 53.00 55.00 56.00
1725 30.00 1.00 2.00 3.00 1.00 2.00 41.00 59.00 42.00 34.00 51.00
1726 179.00 1.00 4.00 2.00 2.00 2.00 47.00 65.00 60.00 50.00 56.00
1727 31.00 1.00 2.00 2.00 2.00 1.00 55.00 59.00 52.00 42.00 56.00
1728 145.00 1.00 4.00 2.00 1.00 3.00 42.00 46.00 38.00 36.00 46.00
1729 187.00 1.00 4.00 2.00 2.00 1.00 57.00 41.00 57.00 55.00 52.00
1730 118.00 1.00 4.00 2.00 1.00 1.00 55.00 62.00 58.00 58.00 61.00
1731 137.00 1.00 4.00 3.00 1.00 2.00 63.00 65.00 65.00 53.00 61.00
1735 /variables read write math science socst
1736 /analysis read write math science socst
1739 /criteria mineigen (.557)
1743 AT_CHECK([pspp -O format=csv factor2.sps], [0],
1744 [Table: Communalities
1752 Table: Total Variance Explained
1753 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,,
1754 Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1755 1,3.381,67.616,67.616,3.381,67.616,67.616,2.113,42.267,42.267
1756 2,.557,11.148,78.764,.557,11.148,78.764,1.825,36.497,78.764
1757 3,.407,8.136,86.900,,,,,,
1758 4,.356,7.123,94.023,,,,,,
1759 5,.299,5.977,100.000,,,,,,
1761 Table: Component Matrix
1770 Table: Rotated Component Matrix
1784 AT_SETUP([FACTOR empty dataset])
1785 dnl Test that something sane happens when the dataset contains no complete observations
1787 AT_DATA([factor-empty.sps],
1788 [data list notable list /x * y * z *.
1796 factor /variables = ALL.
1799 AT_CHECK([pspp -O format=csv factor-empty.sps], [0], [ignore])
1803 dnl Fixes a crash reported at
1804 dnl http://lists.gnu.org/archive/html/bug-gnu-pspp/2012-04/msg00001.html
1805 AT_SETUP([FACTOR /ROTATION=NOROTATE])
1806 AT_DATA([factor-norotate.sps], [dnl
1807 DATA LIST FREE / TRAIT1 TO TRAIT5 (F8.2).
1818 FACTOR /VARIABLES=TRAIT1 TO TRAIT5
1819 /ROTATION=NOROTATE /* NOROTATE may have caused the problem. */
1821 /PRINT=DEFAULT DET UNIVARIATE ROTATION SIG CORRELATION.
1824 AT_CHECK([pspp -O format=csv factor-norotate.sps], [0], [dnl
1825 Table: Descriptive Statistics
1826 ,Mean,Std. Deviation,Analysis N
1833 Table: Correlation Matrix
1834 ,,TRAIT1,TRAIT2,TRAIT3,TRAIT4,TRAIT5
1835 Correlations,TRAIT1,1.00,.30,.88,1.00,.54
1836 ,TRAIT2,.30,1.00,-.02,.33,.84
1837 ,TRAIT3,.88,-.02,1.00,.87,.13
1838 ,TRAIT4,1.00,.33,.87,1.00,.54
1839 ,TRAIT5,.54,.84,.13,.54,1.00
1840 Sig. (1-tailed),TRAIT1,,.260,.004,.000,.103
1841 ,TRAIT2,.260,,.482,.238,.009
1842 ,TRAIT3,.004,.482,,.006,.390
1843 ,TRAIT4,.000,.238,.006,,.103
1844 ,TRAIT5,.103,.009,.390,.103,
1845 Determinant,.00,,,,,
1847 Table: Communalities
1855 Table: Total Variance Explained
1856 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
1857 Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1858 1,3.26,65.26,65.26,3.26,65.26,65.26
1859 2,1.54,30.77,96.03,1.54,30.77,96.03
1860 3,.17,3.36,99.39,.17,3.36,99.39
1861 4,.03,.61,100.00,.03,.61,100.00
1864 Table: Component Matrix
1867 TRAIT1,.97,.23,-.08,.00
1868 TRAIT2,.52,-.81,.28,.00
1869 TRAIT3,.78,.59,.17,.00
1870 TRAIT4,.97,.21,-.04,.00
1871 TRAIT5,.70,-.67,-.23,.00
1877 dnl Fixes a bug in the way that the /CRITERIA = ITERATE option was interpreted.
1878 dnl http://lists.gnu.org/archive/html/bug-gnu-pspp/2013-09/msg00036.html
1879 AT_SETUP([FACTOR /CRITERIA=ITERATE])
1880 AT_DATA([factor-iterate.sps], [dnl
1882 data list notable list /x y z *.
1897 /CRITERIA = MINEIGEN (1) ITERATE (25)
1899 /METHOD = CORRELATION
1900 /PRINT = INITIAL EXTRACTION
1901 /CRITERIA = ITERATE (0)
1902 /ROTATION = NOROTATE.
1905 AT_CHECK([pspp -O format=csv factor-iterate.sps], [0], [dnl
1906 Table: Communalities
1912 Table: Total Variance Explained
1913 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
1914 Factor,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1915 1,2.404,80.124,80.124,2.155,71.847,71.847
1916 2,.425,14.166,94.290,,,
1917 3,.171,5.710,100.000,,,
1919 Table: Factor Matrix
1929 AT_SETUP([FACTOR promax])
1930 AT_DATA([factor-promax.sps], [dnl
1934 get file='llz.zsav'.
1937 /variables pz pn ps nz nn ns tz tn ts oz on os sz sn ss zz zn zs
1939 /print initial extraction rotation
1940 /criteria mineigen(1) iterate(25)
1943 /rotation promax (5).
1946 AT_CHECK([ln -s $top_srcdir/tests/language/stats/llz.zsav .], [0], [ignore])
1948 AT_CHECK([pspp -O format=csv factor-promax.sps], [0], [dnl
1949 Table: Communalities
1970 Table: Total Variance Explained
1971 ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings
1972 Factor,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total
1973 1,2.968,16.491,16.491,2.411,13.393,13.393,2.355
1974 2,2.026,11.253,27.744,1.271,7.059,20.452,1.209
1975 3,1.622,9.011,36.756,.948,5.264,25.716,1.231
1976 4,1.086,6.032,42.788,.283,1.574,27.290,.770
1977 5,.996,5.533,48.321,,,,
1978 6,.923,5.130,53.451,,,,
1979 7,.873,4.852,58.303,,,,
1980 8,.856,4.756,63.060,,,,
1981 9,.836,4.644,67.703,,,,
1982 10,.816,4.534,72.237,,,,
1983 11,.785,4.359,76.596,,,,
1984 12,.740,4.110,80.706,,,,
1985 13,.713,3.964,84.670,,,,
1986 14,.653,3.626,88.296,,,,
1987 15,.633,3.519,91.815,,,,
1988 16,.604,3.356,95.171,,,,
1989 17,.484,2.687,97.858,,,,
1990 18,.386,2.142,100.000,,,,
1992 Table: Factor Matrix
1995 PZ,-.276,.154,.510,.124
1996 PN,.096,.129,-.091,.261
1997 PS,.746,-.085,.234,.063
1998 NZ,-.111,.323,.206,-.058
1999 NN,.007,.260,-.083,-.069
2000 NS,.366,.096,.046,.051
2001 TZ,-.228,.172,.509,.059
2002 TN,.131,.345,-.074,.029
2003 TS,.601,-.005,.098,.030
2004 OZ,-.145,.166,.322,-.081
2005 ON,.607,.082,.073,-.173
2006 OS,.757,-.059,.171,-.104
2007 SZ,-.142,.307,.226,-.066
2008 SN,.175,.436,-.183,.115
2009 SS,.199,.206,-.083,.302
2010 ZZ,-.074,.411,-.080,-.104
2011 ZN,.015,.580,-.252,-.114
2012 ZS,.365,.156,-.004,.015
2014 Table: Pattern Matrix
2017 PZ,-.063,-.126,.599,.085
2018 PN,-.035,.000,-.033,.325
2019 PS,.762,-.175,.058,.081
2020 NZ,.027,.230,.327,-.044
2021 NN,.008,.289,.008,-.026
2022 NS,.344,.044,.015,.091
2023 TZ,.004,-.074,.589,.020
2024 TN,.097,.307,.033,.103
2025 TS,.585,-.043,-.017,.062
2026 OZ,.046,.067,.382,-.109
2027 ON,.654,.151,-.029,-.145
2028 OS,.803,-.037,-.009,-.092
2029 SZ,.009,.213,.345,-.060
2030 SN,.065,.376,-.036,.227
2031 SS,.054,.042,-.013,.388
2032 ZZ,-.044,.434,.078,-.046
2033 ZN,-.025,.646,-.041,-.006
2034 ZS,.337,.133,-.013,.067
2036 Table: Structure Matrix
2039 PZ,-.177,-.058,.598,-.022
2040 PN,.068,.110,-.049,.317
2041 PS,.771,-.138,-.136,.240
2042 NZ,-.060,.236,.339,.019
2043 NN,.000,.281,.027,.076
2044 NS,.368,.080,-.068,.207
2045 TZ,-.127,-.028,.582,-.049
2046 TN,.122,.345,.023,.235
2047 TS,.607,-.018,-.160,.221
2048 OZ,-.074,.055,.384,-.101
2049 ON,.619,.104,-.160,.102
2050 OS,.778,-.064,-.190,.132
2051 SZ,-.086,.215,.361,-.009
2052 SN,.143,.453,-.044,.380
2053 SS,.171,.176,-.052,.420
2054 ZZ,-.073,.422,.120,.085
2055 ZN,-.013,.641,.008,.214
2056 ZS,.361,.158,-.088,.213
2058 Table: Factor Correlation Matrix
2060 1,1.000,.008,-.232,.294
2061 2,.008,1.000,.065,.347
2062 3,-.232,.065,1.000,-.076
2063 4,.294,.347,-.076,1.000