PATH=/usr/bin:/bin:/Users/fly2000/cpanfly-5.20/var/megalib/bin Start 2016-05-31T10:31:45 ActivePerl-2000 CPAN-2.10 Reading '/Users/fly2000/cpanfly-5.20/var/cpan/Metadata' Database was generated on Tue, 31 May 2016 05:41:02 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/E/ET/ETJ/PDL-Stats-0.75.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/E/ET/ETJ/CHECKSUMS Checksum for /Users/fly2000/cpanfly-5.20/var/cpan/sources/authors/id/E/ET/ETJ/PDL-Stats-0.75.tar.gz ok PDL-Stats-0.75/ PDL-Stats-0.75/META.json PDL-Stats-0.75/MANIFEST PDL-Stats-0.75/Basic/ PDL-Stats-0.75/Basic/stats_basic.pd PDL-Stats-0.75/Basic/Makefile.PL PDL-Stats-0.75/README.md PDL-Stats-0.75/META.yml PDL-Stats-0.75/TS/ PDL-Stats-0.75/TS/Makefile.PL PDL-Stats-0.75/TS/ts.pd PDL-Stats-0.75/add_doc.pl PDL-Stats-0.75/xt/ PDL-Stats-0.75/xt/00-check-changelog.t PDL-Stats-0.75/GLM/ PDL-Stats-0.75/GLM/glm.pd PDL-Stats-0.75/GLM/Makefile.PL PDL-Stats-0.75/Distr/ PDL-Stats-0.75/Distr/distr.pd PDL-Stats-0.75/Distr/Makefile.PL PDL-Stats-0.75/Distr/t/ PDL-Stats-0.75/Distr/t/stats_distr.t PDL-Stats-0.75/GENERATED/ PDL-Stats-0.75/GENERATED/PDL/ PDL-Stats-0.75/GENERATED/PDL/Stats/ PDL-Stats-0.75/GENERATED/PDL/Stats/TS.pm PDL-Stats-0.75/GENERATED/PDL/Stats/Basic.pm PDL-Stats-0.75/GENERATED/PDL/Stats/GLM.pm PDL-Stats-0.75/GENERATED/PDL/Stats/Kmeans.pm PDL-Stats-0.75/GENERATED/PDL/Stats/Distr.pm PDL-Stats-0.75/GENERATED/PDL/GSL/ PDL-Stats-0.75/GENERATED/PDL/GSL/CDF.pm PDL-Stats-0.75/Changes PDL-Stats-0.75/GSL/ PDL-Stats-0.75/GSL/gsl_cdf.pd PDL-Stats-0.75/GSL/Makefile.PL PDL-Stats-0.75/GSL/t/ PDL-Stats-0.75/GSL/t/cdf.t PDL-Stats-0.75/Makefile.PL PDL-Stats-0.75/Stats.pm PDL-Stats-0.75/t/ PDL-Stats-0.75/t/stats_glm.t PDL-Stats-0.75/t/01-checkmanifest.t PDL-Stats-0.75/t/stats_ts.t PDL-Stats-0.75/t/stats_basic.t PDL-Stats-0.75/t/stats_kmeans.t PDL-Stats-0.75/t/stats_ols_rptd.t PDL-Stats-0.75/Kmeans/ PDL-Stats-0.75/Kmeans/Makefile.PL PDL-Stats-0.75/Kmeans/kmeans.pd Configuring E/ET/ETJ/PDL-Stats-0.75.tar.gz with Makefile.PL >>> /Users/fly2000/ap2000-298465/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for PDL::Stats::Basic no GSL lib, skip PDL::Stats::Distr no GSL lib, skip PDL::Stats::Distr Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for PDL::Stats::GLM no GSL lib, skip PDL::GSL::CDF no GSL lib, skip PDL::GSL::CDF Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for PDL::Stats::Kmeans Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for PDL::Stats::TS Generating a Unix-style Makefile Writing Makefile for PDL::Stats Writing MYMETA.yml and MYMETA.json ETJ/PDL-Stats-0.75.tar.gz /Users/fly2000/ap2000-298465/bin/perl-dynamic Makefile.PL -- OK Running make for E/ET/ETJ/PDL-Stats-0.75.tar.gz >>> make cp add_doc.pl blib/lib/PDL/add_doc.pl cp Stats.pm blib/lib/PDL/Stats.pm "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "-I/Users/fly2000/cpanfly-5.20/var/megalib" "-MPDL::PP qw/PDL::Stats::Basic PDL::Stats::Basic Basic/" stats_basic.pd cp Basic.pm ../blib/lib/PDL/Stats/Basic.pm Running Mkbootstrap for PDL::Stats::Basic () chmod 644 "Basic.bs" "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "/Users/fly2000/cpanfly-5.20/var/megalib/ExtUtils/xsubpp" -typemap "/Users/fly2000/ap2000-298465/lib/ExtUtils/typemap" -typemap "/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core/typemap.pdl" Basic.xs > Basic.xsc && mv Basic.xsc Basic.c gcc -c "-I/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core" -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/fly2000/ap2000-298465/lib/CORE" Basic.c rm -f ../blib/arch/auto/PDL/Stats/Basic/Basic.bundle cc -mmacosx-version-min=10.5 -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch x86_64 -fstack-protector Basic.o -o ../blib/arch/auto/PDL/Stats/Basic/Basic.bundle \ \ chmod 755 ../blib/arch/auto/PDL/Stats/Basic/Basic.bundle "/Users/fly2000/ap2000-298465/bin/perl-dynamic" -MExtUtils::Command::MM -e 'cp_nonempty' -- Basic.bs ../blib/arch/auto/PDL/Stats/Basic/Basic.bs 644 Manifying 1 pod document make[1]: Nothing to be done for `all'. "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "-I/Users/fly2000/cpanfly-5.20/var/megalib" "-MPDL::PP qw/PDL::Stats::GLM PDL::Stats::GLM GLM/" glm.pd cp GLM.pm ../blib/lib/PDL/Stats/GLM.pm Running Mkbootstrap for PDL::Stats::GLM () chmod 644 "GLM.bs" "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "/Users/fly2000/cpanfly-5.20/var/megalib/ExtUtils/xsubpp" -typemap "/Users/fly2000/ap2000-298465/lib/ExtUtils/typemap" -typemap "/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core/typemap.pdl" GLM.xs > GLM.xsc && mv GLM.xsc GLM.c gcc -c "-I/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core" -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/fly2000/ap2000-298465/lib/CORE" GLM.c rm -f ../blib/arch/auto/PDL/Stats/GLM/GLM.bundle cc -mmacosx-version-min=10.5 -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch x86_64 -fstack-protector GLM.o -o ../blib/arch/auto/PDL/Stats/GLM/GLM.bundle \ \ chmod 755 ../blib/arch/auto/PDL/Stats/GLM/GLM.bundle "/Users/fly2000/ap2000-298465/bin/perl-dynamic" -MExtUtils::Command::MM -e 'cp_nonempty' -- GLM.bs ../blib/arch/auto/PDL/Stats/GLM/GLM.bs 644 Manifying 1 pod document make[1]: Nothing to be done for `all'. "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "-I/Users/fly2000/cpanfly-5.20/var/megalib" "-MPDL::PP qw/PDL::Stats::Kmeans PDL::Stats::Kmeans Kmeans/" kmeans.pd cp Kmeans.pm ../blib/lib/PDL/Stats/Kmeans.pm Running Mkbootstrap for PDL::Stats::Kmeans () chmod 644 "Kmeans.bs" "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "/Users/fly2000/cpanfly-5.20/var/megalib/ExtUtils/xsubpp" -typemap "/Users/fly2000/ap2000-298465/lib/ExtUtils/typemap" -typemap "/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core/typemap.pdl" Kmeans.xs > Kmeans.xsc && mv Kmeans.xsc Kmeans.c gcc -c "-I/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core" -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/fly2000/ap2000-298465/lib/CORE" Kmeans.c rm -f ../blib/arch/auto/PDL/Stats/Kmeans/Kmeans.bundle cc -mmacosx-version-min=10.5 -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch x86_64 -fstack-protector Kmeans.o -o ../blib/arch/auto/PDL/Stats/Kmeans/Kmeans.bundle \ \ chmod 755 ../blib/arch/auto/PDL/Stats/Kmeans/Kmeans.bundle "/Users/fly2000/ap2000-298465/bin/perl-dynamic" -MExtUtils::Command::MM -e 'cp_nonempty' -- Kmeans.bs ../blib/arch/auto/PDL/Stats/Kmeans/Kmeans.bs 644 Manifying 1 pod document "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "-I/Users/fly2000/cpanfly-5.20/var/megalib" "-MPDL::PP qw/PDL::Stats::TS PDL::Stats::TS TS/" ts.pd cp TS.pm ../blib/lib/PDL/Stats/TS.pm Running Mkbootstrap for PDL::Stats::TS () chmod 644 "TS.bs" "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "/Users/fly2000/cpanfly-5.20/var/megalib/ExtUtils/xsubpp" -typemap "/Users/fly2000/ap2000-298465/lib/ExtUtils/typemap" -typemap "/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core/typemap.pdl" TS.xs > TS.xsc && mv TS.xsc TS.c gcc -c "-I/Users/fly2000/cpanfly-5.20/var/megalib/PDL/Core" -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/fly2000/ap2000-298465/lib/CORE" TS.c rm -f ../blib/arch/auto/PDL/Stats/TS/TS.bundle cc -mmacosx-version-min=10.5 -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch x86_64 -fstack-protector TS.o -o ../blib/arch/auto/PDL/Stats/TS/TS.bundle \ \ chmod 755 ../blib/arch/auto/PDL/Stats/TS/TS.bundle "/Users/fly2000/ap2000-298465/bin/perl-dynamic" -MExtUtils::Command::MM -e 'cp_nonempty' -- TS.bs ../blib/arch/auto/PDL/Stats/TS/TS.bs 644 Manifying 1 pod document Manifying 1 pod document ETJ/PDL-Stats-0.75.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 Running Mkbootstrap for PDL::Stats::Basic () chmod 644 "Basic.bs" Manifying 1 pod document make[1]: Nothing to be done for `all'. Running Mkbootstrap for PDL::Stats::GLM () chmod 644 "GLM.bs" Manifying 1 pod document make[1]: Nothing to be done for `all'. Running Mkbootstrap for PDL::Stats::Kmeans () chmod 644 "Kmeans.bs" Manifying 1 pod document Running Mkbootstrap for PDL::Stats::TS () chmod 644 "TS.bs" Manifying 1 pod document PERL_DL_NONLAZY=1 "/Users/fly2000/ap2000-298465/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/01-checkmanifest.t .. 1..1 ok 1 - missing files from MANIFEST ok t/stats_basic.t ....... ok 1 - standard deviation of [0 1 2 3 4] ok 2 - unbiased standard deviation of [0 1 2 3 4] ok 3 - variance of [0 1 2 3 4] ok 4 - unbiased variance of [0 1 2 3 4] ok 5 - standard error of [0 1 2 3 4] ok 6 - sum of squared deviations from the mean of [0 1 2 3 4] ok 7 - sample skewness of [0 1 2 3 4] ok 8 - unbiased sample skewness of [0 1 2 3 4] ok 9 - sample kurtosis of [0 1 2 3 4] ok 10 - unbiased sample kurtosis of [0 1 2 3 4] ok 11 - standard deviation of [0 1 2 3 4 BAD] ok 12 - unbiased standard deviation of [0 1 2 3 4 BAD] ok 13 - variance of [0 1 2 3 4 BAD] ok 14 - unbiased variance of [0 1 2 3 4 BAD] ok 15 - standard error of [0 1 2 3 4 BAD] ok 16 - sum of squared deviations from the mean of [0 1 2 3 4 BAD] ok 17 - sample skewness of [0 1 2 3 4 BAD] ok 18 - unbiased sample skewness of [0 1 2 3 4 BAD] ok 19 - sample kurtosis of [0 1 2 3 4 BAD] ok 20 - unbiased sample kurtosis of [0 1 2 3 4 BAD] ok 21 - sample covariance of [0 1 2 3 4] and [0 0 0 1 1] ok 22 - Pearson correlation coefficient of [0 1 2 3 4] and [0 0 0 1 1] ok 23 - Number of good pairs between [0 1 2 3 4] and [0 0 0 1 1] ok 24 - t significance test of Pearson correlation coefficient of [0 1 2 3 4] and [0 0 0 1 1] ok 25 - correlation calculated from dev_m values of [0 1 2 3 4] and [0 0 0 1 1] ok 26 - sample covariance with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] ok 27 - Pearson correlation coefficient with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] ok 28 - Number of good pairs between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] with bad values taken into account ok 29 - t signifiance test of Pearson correlation coefficient with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] ok 30 - correlation calculated from dev_m values with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] ok 31 - t-test between [0 1 2 3 4] and [0 0 0 1 1] - 't' output ok 32 - t-test between [0 1 2 3 4] and [0 0 0 1 1] - 'df' output ok 33 - t-test with non-equal variance between [0 1 2 3 4] and [0 0 0 1 1] - 't' output ok 34 - t-test with non-equal variance between [0 1 2 3 4] and [0 0 0 1 1] - 'df' output ok 35 - paired sample t-test between [0 1 2 3 4] and [0 0 0 1 1] - 't' output ok 36 - paired sample t-test between [0 1 2 3 4] and [0 0 0 1 1] - 'df' output ok 37 - t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output ok 38 - t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'd' output ok 39 - t-test with non-equal variance with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output ok 40 - t-test with non-equal variance with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'df' output ok 41 - paired sample t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output ok 42 - paired sample t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'df' output ok 43 - rtable data dim ok 44 - rtable bad elem ok 45 - cov_table ok 46 - cov_table bad val ok 47 - Square Pearson correlation table ok 48 - Square Pearson correlation table with bad data ok 49 - Bad value input to stdv makes the stdv itself bad ok 50 # skip no PDL::GSL::CDF ok 51 - group_by single factor equal n ok 52 - group_by single factor label ok 53 - group_by single factor unequal n ok 54 - group_by multiple factors ok 55 - group_by multiple factors label ok 56 - _array_to_pdl ok 57 - _array_to_pdl with missing value undef ok 58 - _array_to_pdl with missing value undef correctly coded ok 59 - _array_to_pdl with missing value BAD ok 60 - _array_to_pdl with missing value BAD correctly coded 1..60 ok No PDL::Slatec. Fall back on PDL::MatrixOps. 3 subjects with missing data removed t/stats_glm.t ......... ok 1 - use PDL::Stats::Basic; ok 2 - use PDL::Stats::GLM; ok 3 - fill_m replaces bad values with sample mean ok 4 - fill_rand replaces bad values with random sample of good values from same variable ok 5 - dev_m replaces values with deviations from the mean on [0 1 2 3 4] ok 6 - stddz standardizes data on [0 1 2 3 4] ok 7 - sse gives sum of squared errors between actual and predicted values between [0 1 2 3 4] and [0 0 0 1 1] ok 8 - mse gives mean of squared errors between actual and predicted values between [0 1 2 3 4] and [0 0 0 1 1] ok 9 - rmse gives root mean squared error, ie. stdv around predicted value between [0 1 2 3 4] and [0 0 0 1 1] ok 10 - pred_logistic calculates predicted probability value for logistic regression ok 11 - d0 ok 12 - dm ok 13 - dvrs ok 14 - ols_t R2 ok 15 - ols_t b ok 16 - ols_t, const=>0 ok 17 - ols ok 18 - ols with bad value didn't change caller value ok 19 - ols with bad value didn't remove caller bad flag ok 20 - ols with bad value ok 21 - r2_change ok 22 - pct_var ok 23 - eigenvalue ok 24 - eigenvector ok 25 - loadings ok 26 - corr=>0, loadings ok 27 - corr=>0, eigenvector ok 28 - corr=>0, eigenvalue ok 29 - corr=>0, pct_var ok 30 - pca_sorti - principal component analysis output sorted to find which vars a component is best represented ok 31 # skip no PDL::Fit::LM ok 32 - dev_m with bad values [0 1 2 3 4 BAD] ok 33 - stdz with bad values [0 1 2 3 4 BAD] ok 34 - sse with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1] ok 35 - mse with badvalues between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1] ok 36 - rmse with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1] ok 37 - pred_logistic with bad values ok 38 - null deviance with bad values on [BAD 0 0 0 1 1] ok 39 - model deviance with bad values on [BAD 0 0 0 1 1] ok 40 - deviance residual with bad values on [BAD 0 0 0 1 1] ok 41 - effect_code got bad value ok 42 - effect_code coded with bad value ok 43 - effect_code_w ok 44 - anova_3w ok 45 - anova_1w ok 46 - anova_3w bad dv ok 47 - anova_3w bad dv iv ok 48 - fill_m nan to bad ok 49 - stddz nan vs bad ok 50 - anova_rptd_1w ok 51 - anova_rptd_2w bad dv ok 52 - anova_rptd_2w bad iv ok 53 - anova_rptd_3w ok 54 - anova_rptd mixed ok 55 - anova_rptd mixed with 2 btwn-subj var levels, data grouped by subject ok 56 # skip yet to be fixed ok 57 # skip yet to be fixed ok 58 # skip yet to be fixed ok 59 - anova_rptd mixed bad ok 60 - anova_rptd_mixed_4w ok 61 - interaction_code 1..61 ok t/stats_kmeans.t ...... ok 1 - use PDL::Stats::Basic; ok 2 - use PDL::Stats::Kmeans; ok 3 - independent variable cluster ok 4 - iv_cluster has bad value ok 5 - independent variable cluster with bad data ok 6 - assign ok 7 - centroid ok 8 - assign with bad data ok 9 - centroid with bad data ok 10 - t_kmeans ok 11 - kmeans R2 result as expected ok 12 - kmeans ss result as expected ok 13 - kmeans R2 with manually seeded centroid ok 14 - kmeans ss with manually seeded centroid R2 0.786191536748329 centroid [ [ 1.5 5.5] [ 8.5 12] [15.5 19] ] cluster [ [1 1 1 1 0 0 0] [0 0 0 0 1 1 1] ] ms [ [ 1.25 0.25] [ 1.25 0.66666667] [ 1.25 0.66666667] ] n [4 3] ok 15 - t_kmeans_bad # TODO kmeans is undeterministic. retry to for optimal results ok 16 - 3d kmeans with bad data R2 is as expected ok 17 - 3d kmeans with bad data ss is as expected ok 18 - principal component analysis clustering ok 19 - _d_point2line ok 20 - which_cluster 1..20 ok t/stats_ols_rptd.t .... 1..7 (ss_residual) 58.3754646504336 (ss_subject) 51.8590337714296 (ss_total) 405.18824177143 F [ 7.208473 61.354153 1.0243311] coeff [0.33337285 0.45858933 0.15162986] df [1 1 1] df_err [9 9 9] ms [ 18.450705 73.813294 0.57026483] ms_err [ 2.5595857 1.2030692 0.55671923] ss [ 18.450705 73.813294 0.57026483] ss_err [ 23.036272 10.827623 5.0104731] ok 1 - ss_total ok 2 - ss_residual ok 3 - ss_subject ok 4 - ss ok 5 - ss_err ok 6 - coeff ok 7 - F ok t/stats_ts.t .......... 1..23 ok 1 - use PDL::Stats::TS; ok 2 - autocovariance on [0 1 2 3 4 5 6 7 8 9] ok 3 - autocorrelation on [0 1 2 3 4 5 6 7 8 9] ok 4 - filter moving average on [0 1 2 3 4 5 6 7 8 9] ok 5 - filter with exponential smoothing on [0 1 2 3 4 5 6 7 8 9] ok 6 - portmanteau significance test on [0 1 2 3 4 5 6 7 8 9] ok 7 - mean absolute percent error between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 4 5 6 7 9 9 10] ok 8 - mean absolute error between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 4 5 6 7 9 9 10] ok 9 - mean absolute percent error with bad data between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 BAD 5 6 7 9 9 10] ok 10 - mean absolute error with bad data between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 BAD 5 6 7 9 9 10] ok 11 - deseasonalize data on [0 1 2 3 4 0 1 2 3 4] with period 5 ok 12 - deseasonalize data on [0 1 2 3 4 0 1 2 3 4] with period 4 ok 13 - deseasonalize data with bad data on [0 1 2 3 BAD 0 1 2 3 4] with period 5 ok 14 - deseasonalized data with bad data on [0 1 2 3 BAD 0 1 2 3 4] with period 4 ok 15 - fill missing data with moving average ok 16 - difference data on [0 1 2 3 4] - DX(t) = X(t) - X(t-1) ok 17 - add data on [0 1 2 3 4] - IX(t) = X(t) + X(t-1) ok 18 - predict autoregressive series ok 19 - predict autoregressive series with no constant last value ok 20 - weighted mean absolute percent error between [0 1 2 3 4 5 6 7 8 9] and [0 1 1 1 3 6 7 7 9 10] ok 21 - weighted mean absolute percent error with bad data between [0 1 2 3 BAD 5 6 7 8 9] and [0 1 1 1 3 6 7 7 9 10] ok 22 - season_m m ok 23 - season_m ms ok All tests successful. Test Summary Report ------------------- t/stats_kmeans.t (Wstat: 0 Tests: 20 Failed: 0) TODO passed: 15 Files=6, Tests=172, 52 wallclock secs ( 0.07 usr 0.02 sys + 7.92 cusr 0.16 csys = 8.17 CPU) Result: PASS No tests defined for PDL::Stats::Basic extension. make[1]: Nothing to be done for `test'. No tests defined for PDL::Stats::GLM extension. make[1]: Nothing to be done for `test'. No tests defined for PDL::Stats::Kmeans extension. No tests defined for PDL::Stats::TS extension. ETJ/PDL-Stats-0.75.tar.gz make test TEST_VERBOSE=1 -- OK Ed J <etj@cpan.org> a collection of statistics modules in Perl Data Language, with a quick-start guide for non-PDL people. >>> (cd /Users/fly2000/cpanfly-5.20/var/cpan/build/PDL-Stats-0.75-UBG7Gy && tar cvf - PDL-Stats-0.75.ppd blib) | gzip -c >/Users/fly2000/cpanfly-5.20/var/REPO/E/ET/ETJ/PDL-Stats-0.75.tar.gz PDL-Stats-0.75.ppd blib/ blib/arch/ blib/arch/auto/ blib/arch/auto/PDL/ blib/arch/auto/PDL/Stats/ blib/arch/auto/PDL/Stats/Basic/ blib/arch/auto/PDL/Stats/Basic/Basic.bundle blib/arch/auto/PDL/Stats/GLM/ blib/arch/auto/PDL/Stats/GLM/GLM.bundle blib/arch/auto/PDL/Stats/Kmeans/ blib/arch/auto/PDL/Stats/Kmeans/Kmeans.bundle blib/arch/auto/PDL/Stats/TS/ blib/arch/auto/PDL/Stats/TS/TS.bundle blib/lib/ blib/lib/PDL/ blib/lib/PDL/add_doc.pl blib/lib/PDL/Stats/ blib/lib/PDL/Stats/Basic.pm blib/lib/PDL/Stats/GLM.pm blib/lib/PDL/Stats/Kmeans.pm blib/lib/PDL/Stats/TS.pm blib/lib/PDL/Stats.pm blib/man3/ blib/man3/PDL::Stats.3 blib/man3/PDL::Stats::Basic.3 blib/man3/PDL::Stats::GLM.3 blib/man3/PDL::Stats::Kmeans.3 blib/man3/PDL::Stats::TS.3 >>> mv /Users/fly2000/cpanfly-5.20/var/cpan/build/PDL-Stats-0.75-UBG7Gy/PDL-Stats-0.75.ppd /Users/fly2000/cpanfly-5.20/var/REPO/E/ET/ETJ Finished 2016-05-31T10:35:46