X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Ffactor.at;h=59acba9d4871ad4809ec1c25f020e4c8455e62b0;hb=3a21788dd4f7a4f10d12a12e83c8890f857b5e98;hp=e90e862f9a19c97d0c24b5f41f6b7085734de3c9;hpb=5ce6b1f0994ebe14da237b2b76d6ba27d92bbe7c;p=pspp diff --git a/tests/language/stats/factor.at b/tests/language/stats/factor.at index e90e862f9a..59acba9d48 100644 --- a/tests/language/stats/factor.at +++ b/tests/language/stats/factor.at @@ -1921,4 +1921,145 @@ x,.990 y,.808 z,.723 ]) -AT_CLEANUP \ No newline at end of file +AT_CLEANUP + + +AT_SETUP([FACTOR promax]) +AT_DATA([factor-promax.sps], [dnl +set decimal=dot. +set format=F22.3. + +get file='llz.zsav'. + +factor + /variables pz pn ps nz nn ns tz tn ts oz on os sz sn ss zz zn zs + /missing listwise + /print initial extraction rotation + /criteria mineigen(1) iterate(25) + /extraction paf + /method correlation + /rotation promax (5). +]) + +AT_CHECK([ln -s $top_srcdir/tests/language/stats/llz.zsav .], [0], [ignore]) + +AT_CHECK([pspp -O format=csv factor-promax.sps], [0], [dnl +Table: Communalities +,Initial,Extraction +PZ,.191,.375 +PN,.042,.102 +PS,.458,.623 +NZ,.100,.163 +NN,.065,.079 +NS,.129,.148 +TZ,.181,.344 +TN,.102,.142 +TS,.310,.372 +OZ,.097,.158 +ON,.323,.410 +OS,.469,.617 +SZ,.104,.170 +SN,.154,.267 +SS,.081,.180 +ZZ,.123,.192 +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,,,, + +Table: Factor Matrix +,Factor,,, +,1,2,3,4 +PZ,-.276,.154,.510,.124 +PN,.096,.129,-.091,.261 +PS,.746,-.085,.234,.063 +NZ,-.111,.323,.206,-.058 +NN,.007,.260,-.083,-.069 +NS,.366,.096,.046,.051 +TZ,-.228,.172,.509,.059 +TN,.131,.345,-.074,.029 +TS,.601,-.005,.098,.030 +OZ,-.145,.166,.322,-.081 +ON,.607,.082,.073,-.173 +OS,.757,-.059,.171,-.104 +SZ,-.142,.307,.226,-.066 +SN,.175,.436,-.183,.115 +SS,.199,.206,-.083,.302 +ZZ,-.074,.411,-.080,-.104 +ZN,.015,.580,-.252,-.114 +ZS,.365,.156,-.004,.015 + +Table: Pattern Matrix +,Factor,,, +,1,2,3,4 +PZ,-.063,-.126,.599,.085 +PN,-.035,.000,-.033,.325 +PS,.762,-.175,.058,.081 +NZ,.027,.230,.327,-.044 +NN,.008,.289,.008,-.026 +NS,.344,.044,.015,.091 +TZ,.004,-.074,.589,.020 +TN,.097,.307,.033,.103 +TS,.585,-.043,-.017,.062 +OZ,.046,.067,.382,-.109 +ON,.654,.151,-.029,-.145 +OS,.803,-.037,-.009,-.092 +SZ,.009,.213,.345,-.060 +SN,.065,.376,-.036,.227 +SS,.054,.042,-.013,.388 +ZZ,-.044,.434,.078,-.046 +ZN,-.025,.646,-.041,-.006 +ZS,.337,.133,-.013,.067 + +Table: Structure Matrix +,Factor,,, +,1,2,3,4 +PZ,-.177,-.058,.598,-.022 +PN,.068,.110,-.049,.317 +PS,.771,-.138,-.136,.240 +NZ,-.060,.236,.339,.019 +NN,.000,.281,.027,.076 +NS,.368,.080,-.068,.207 +TZ,-.127,-.028,.582,-.049 +TN,.122,.345,.023,.235 +TS,.607,-.018,-.160,.221 +OZ,-.074,.055,.384,-.101 +ON,.619,.104,-.160,.102 +OS,.778,-.064,-.190,.132 +SZ,-.086,.215,.361,-.009 +SN,.143,.453,-.044,.380 +SS,.171,.176,-.052,.420 +ZZ,-.073,.422,.120,.085 +ZN,-.013,.641,.008,.214 +ZS,.361,.158,-.088,.213 + +Table: Factor Correlation Matrix +Factor,1,2,3,4 +1,1.000,.008,-.232,.294 +2,.008,1.000,.065,.347 +3,-.232,.065,1.000,-.076 +4,.294,.347,-.076,1.000 +]) + + +AT_CLEANUP