X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Ffactor.at;h=ab0b066c2b88c16eec804755c0d198bbf737f777;hb=672c9b7e1c60763d279ecc781b7bf939b8bab4b4;hp=df94e8678b77adc98731790169086662ae32c753;hpb=691a034d7f2139076fa012739dffd40ef5db4a9b;p=pspp diff --git a/tests/language/stats/factor.at b/tests/language/stats/factor.at index df94e8678b..ab0b066c2b 100644 --- a/tests/language/stats/factor.at +++ b/tests/language/stats/factor.at @@ -13,7 +13,8 @@ dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . -dnl AT_BANNER([FACTOR procedure]) +dnl +AT_BANNER([FACTOR procedure]) AT_SETUP([FACTOR extraction=paf method=correlation]) dnl This example is based on data from http://www.ats.ucla.edu/stat/Spss/output/factor1.htm @@ -1486,7 +1487,7 @@ question24,3.666,.926,1365 Table: Correlation Matrix ,,question13,question14,question15,question16,question17,question18,question19,question20,question21,question22,question23,question24 -Correlations,question13,1.000,.661,.600,.566,.577,.409,.286,.304,.476,.333,.564,.454 +Correlation,question13,1.000,.661,.600,.566,.577,.409,.286,.304,.476,.333,.564,.454 ,question14,.661,1.000,.635,.500,.552,.433,.320,.315,.449,.333,.565,.443 ,question15,.600,.635,1.000,.505,.587,.457,.359,.356,.509,.369,.582,.435 ,question16,.566,.500,.505,1.000,.586,.405,.335,.317,.452,.363,.459,.430 @@ -1498,7 +1499,7 @@ Correlations,question13,1.000,.661,.600,.566,.577,.409,.286,.304,.476,.333,.564, ,question22,.333,.333,.369,.363,.450,.536,.484,.383,.507,1.000,.493,.444 ,question23,.564,.565,.582,.459,.613,.569,.444,.410,.598,.493,1.000,.705 ,question24,.454,.443,.435,.430,.521,.474,.374,.357,.500,.444,.705,1.000 -Determinant,.002,,,,,,,,,,,, +Caption: Determinant: 0.00 Table: Factor Matrix ,Factor,, @@ -1766,12 +1767,12 @@ 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 % -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,,,,,, +,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % +1,3.381,67.6%,67.6%,3.381,67.6%,67.6%,2.113,42.3%,42.3% +2,.557,11.1%,78.8%,.557,11.1%,78.8%,1.825,36.5%,78.8% +3,.407,8.1%,86.9%,,,,,, +4,.356,7.1%,94.0%,,,,,, +5,.299,6.0%,100.0%,,,,,, Table: Component Matrix ,Component, @@ -1847,17 +1848,17 @@ TRAIT5,7.29,2.66,7 Table: Correlation Matrix ,,TRAIT1,TRAIT2,TRAIT3,TRAIT4,TRAIT5 -Correlations,TRAIT1,1.00,.30,.88,1.00,.54 -,TRAIT2,.30,1.00,-.02,.33,.84 -,TRAIT3,.88,-.02,1.00,.87,.13 -,TRAIT4,1.00,.33,.87,1.00,.54 -,TRAIT5,.54,.84,.13,.54,1.00 +Correlation,TRAIT1,1.000,.296,.881,.995,.545 +,TRAIT2,.296,1.000,-.022,.326,.837 +,TRAIT3,.881,-.022,1.000,.867,.130 +,TRAIT4,.995,.326,.867,1.000,.544 +,TRAIT5,.545,.837,.130,.544,1.000 Sig. (1-tailed),TRAIT1,,.260,.004,.000,.103 ,TRAIT2,.260,,.482,.238,.009 ,TRAIT3,.004,.482,,.006,.390 ,TRAIT4,.000,.238,.006,,.103 ,TRAIT5,.103,.009,.390,.103, -Determinant,.00,,,,, +Caption: Determinant: 0.00 Table: Communalities ,Initial,Extraction @@ -1869,12 +1870,12 @@ TRAIT5,1.00,.99 Table: Total Variance Explained ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,, -Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % -1,3.26,65.26,65.26,3.26,65.26,65.26 -2,1.54,30.77,96.03,1.54,30.77,96.03 -3,.17,3.36,99.39,.17,3.36,99.39 -4,.03,.61,100.00,.03,.61,100.00 -5,.00,.00,100.00,,, +,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % +1,3.26,65.3%,65.3%,3.26,65.3%,65.3% +2,1.54,30.8%,96.0%,1.54,30.8%,96.0% +3,.17,3.4%,99.4%,.17,3.4%,99.4% +4,.03,.6%,100.0%,.03,.6%,100.0% +5,.00,.0%,100.0%,,, Table: Component Matrix ,Component,,, @@ -1926,10 +1927,10 @@ z,.514,.523 Table: Total Variance Explained ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,, -Factor,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % -1,2.404,80.124,80.124,2.155,71.847,71.847 -2,.425,14.166,94.290,,, -3,.171,5.710,100.000,,, +,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % +1,2.404,80.1%,80.1%,2.155,71.8%,71.8% +2,.425,14.2%,94.3%,,, +3,.171,5.7%,100.0%,,, Table: Factor Matrix ,Factor @@ -1983,26 +1984,26 @@ ZN,.208,.412 ZS,.130,.158 Table: Total Variance Explained -,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings -Factor,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total -1,2.968,16.491,16.491,2.411,13.393,13.393,2.355 -2,2.026,11.253,27.744,1.271,7.059,20.452,1.209 -3,1.622,9.011,36.756,.948,5.264,25.716,1.231 -4,1.086,6.032,42.788,.283,1.574,27.290,.770 -5,.996,5.533,48.321,,,, -6,.923,5.130,53.451,,,, -7,.873,4.852,58.303,,,, -8,.856,4.756,63.060,,,, -9,.836,4.644,67.703,,,, -10,.816,4.534,72.237,,,, -11,.785,4.359,76.596,,,, -12,.740,4.110,80.706,,,, -13,.713,3.964,84.670,,,, -14,.653,3.626,88.296,,,, -15,.633,3.519,91.815,,,, -16,.604,3.356,95.171,,,, -17,.484,2.687,97.858,,,, -18,.386,2.142,100.000,,,, +,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,, +,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % +1,2.968,16.5%,16.5%,2.411,13.4%,13.4%,. ,. ,. @&t@ +2,2.026,11.3%,27.7%,1.271,7.1%,20.5%,. ,. ,-Infinity +3,1.622,9.0%,36.8%,.948,5.3%,25.7%,. ,. ,-Infinity +4,1.086,6.0%,42.8%,.283,1.6%,27.3%,. ,. ,-Infinity +5,.996,5.5%,48.3%,,,,,, +6,.923,5.1%,53.5%,,,,,, +7,.873,4.9%,58.3%,,,,,, +8,.856,4.8%,63.1%,,,,,, +9,.836,4.6%,67.7%,,,,,, +10,.816,4.5%,72.2%,,,,,, +11,.785,4.4%,76.6%,,,,,, +12,.740,4.1%,80.7%,,,,,, +13,.713,4.0%,84.7%,,,,,, +14,.653,3.6%,88.3%,,,,,, +15,.633,3.5%,91.8%,,,,,, +16,.604,3.4%,95.2%,,,,,, +17,.484,2.7%,97.9%,,,,,, +18,.386,2.1%,100.0%,,,,,, Table: Factor Matrix ,Factor,,, @@ -2139,15 +2140,15 @@ var08,2.250 Table: Total Variance Explained ,Initial Eigenvalues,, -Component,Total,% of Variance,Cumulative % -1,556.895,81.881,81.881 -2,57.963,8.522,90.403 -3,23.576,3.466,93.869 -4,16.446,2.418,96.288 -5,14.603,2.147,98.435 -6,6.831,1.004,99.439 -7,2.375,.349,99.788 -8,1.440,.212,100.000 +,Total,% of Variance,Cumulative % +1,556.895,81.9%,81.9% +2,57.963,8.5%,90.4% +3,23.576,3.5%,93.9% +4,16.446,2.4%,96.3% +5,14.603,2.1%,98.4% +6,6.831,1.0%,99.4% +7,2.375,.3%,99.8% +8,1.440,.2%,100.0% Table: Component Matrix ,Component,,,,,, @@ -2239,14 +2240,14 @@ bnt_actws_56,1.000,.316 Table: Total Variance Explained ,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,, -Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % -1,3.914,55.908,55.908,3.914,55.908,55.908 -2,1.320,18.852,74.760,,, -3,.716,10.223,84.983,,, -4,.422,6.030,91.012,,, -5,.278,3.977,94.989,,, -6,.216,3.088,98.077,,, -7,.135,1.923,100.000,,, +,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative % +1,3.914,55.9%,55.9%,3.914,55.9%,55.9% +2,1.320,18.9%,74.8%,,, +3,.716,10.2%,85.0%,,, +4,.422,6.0%,91.0%,,, +5,.278,4.0%,95.0%,,, +6,.216,3.1%,98.1%,,, +7,.135,1.9%,100.0%,,, Table: Component Matrix ,Component