Tree [b98f34] master v0.6.2 /
History



File Date Author Commit
Basic 2012-04-22 Maggie J Xiong Maggie J Xiong [bf1cea] Updated group_by documentation.
Distr 2012-01-09 Maggie J Xiong Maggie J Xiong [c68ff7] Merge branch 'mx_0.5.5'
GLM 2012-04-06 Maggie J Xiong Maggie J Xiong [dd0ae3] Moved _array_to_pdl from Kmeans to Basic.
GSL 2012-04-13 Maggie J Xiong Maggie J Xiong [912984] Remove quotes for gsl config. rt.cpan.org bug #...
Kmeans 2012-04-06 Maggie J Xiong Maggie J Xiong [dd0ae3] Moved _array_to_pdl from Kmeans to Basic.
TS 2012-01-09 Maggie J Xiong Maggie J Xiong [c68ff7] Merge branch 'mx_0.5.5'
t 2012-04-14 Maggie J Xiong Maggie J Xiong [fc64bd] Minor warning fix.
Changes 2012-04-29 Maggie J Xiong Maggie J Xiong [b98f34] doc database windows install fix. v0.6.2.
MANIFEST 2012-04-22 Maggie J Xiong Maggie J Xiong [6774a8] make install runs add_doc.pl.
META.yml 2010-07-06 Maggie J Xiong Maggie J Xiong [dd52ae] Initial commit at pre 0.4.4
Makefile.PL 2012-04-25 Maggie J Xiong Maggie J Xiong [78fa9c] Allows --force to attempt a build if running un...
README 2012-04-25 Maggie J Xiong Maggie J Xiong [17c959] Doc update.
Stats.pm 2012-04-29 Maggie J Xiong Maggie J Xiong [b98f34] doc database windows install fix. v0.6.2.
add_doc.pl 2012-04-29 Maggie J Xiong Maggie J Xiong [b98f34] doc database windows install fix. v0.6.2.

Read Me

PDL-Stats

This is a collection of statistics modules in Perl Data Language, with a quick-start guide for non-PDL people.

They make perldl--the simple shell for PDL--work like a teenie weenie R, but with PDL threading--"the fast (and automagic) vectorised iteration of 'elementary operations' over arbitrary slices of multidimensional data"--on procedures including t-test, ordinary least squares regression, and kmeans.

Of course, they also work in perl scripts.

DEPENDENCIES

PDL
    Perl Data Language. Preferably installed with a Fortran compiler. A few methods (logistic regression and all plotting methods) will only work with a Fortran compiler and some methods (ordinary least squares regression and pca) work much faster with a Fortran compiler.

    The recommended PDL version is 2.4.8. PDL-2.4.7 introduced a bug in lu_decomp() which caused a few functions in PDL::Stats::GLM to fail. Otherwise the minimum compatible PDL version is 2.4.4.

GSL (Optional)
    GNU Scientific Library. This is required by PDL::Stats::Distr and PDL::GSL::CDF, the latter of which provides p-values for PDL::Stats::GLM. GSL is otherwise NOT required for the core PDL::Stats modules to work, ie Basic, Kmeans, and GLM.

PGPLOT (Optional)

    PDL-Stats currently uses PGPLOT for plotting. There are three pgplot/PGPLOT modules, which cause much confusion upon installation. First there is the pgplot Fortran library. Then there is the perl PGPLOT module, which is the perl interface to pgplot. Finally there is PDL::Graphics::PGPLOT, which depends on pgplot and PGPLOT, that PDL-Stats uses for plotting.

INSTALLATION

*nix
----
For standard perl module installation in *nix environment form source, to install all included modules, extract the files from the archive by entering this at a shell,

    tar xvf PDL-Stats-xxx.tar.gz

then change to the PDL-Stats directory,

    cd PDL-Stats-xxx

and run the following commands:

    perl Makefile.PL
    make
    make test
    sudo make install

If you don't have permission to run sudo, you can specify an alternative path,

    perl Makefile.PL PREFIX=/home/user/my_perl_lib
    make
    make test
    make install

then add /home/user/my_perl_lib to your PERL5LIB environment variable.

If you have trouble installing PDL, you can look for help at the PDL wiki or PDL mailing list.

Wiondows
--------
Thanks to Sisyphus, Windows users can download and install the ppm version of PDL-Stats and all dependencies using the PPM utility included in ActiveState perl or Strawberry perl. You can also get the PPM utility from CPAN.

    ppm install http://www.sisyphusion.tk/ppm/PGPLOT.ppd
    ppm install http://www.sisyphusion.tk/ppm/PDL.ppd
    ppm install http://www.sisyphusion.tk/ppm/PDL-Stats.ppd


SUPPORT AND DOCUMENTATION

After installing, you can find documentation for the modules with the
perldoc command.

    perldoc PDL::Stats
    perldoc PDL::Stats::Basic

etc.

You can also look for information at:

    Home
      http://pdl-stats.sourceforge.net

    Search CPAN
      http://search.cpan.org/dist/PDL-Stats/

    Mailing list
      https://lists.sourceforge.net/lists/listinfo/pdl-stats-help

If you notice a bug or have a request, please submit a report at

      http://sourceforge.net/projects/pdl-stats/support

If you would like to help develop or maintain the package, please email me at the address below.


COPYRIGHT AND LICENCE
~~~~~~~~~~~~ ~~~~~ ~~~~~~~~ ~~~~~ ~~~ `` ><(((">

Copyright (C) 2009-2012 Maggie J. Xiong  <maggiexyz users.sourceforge.net>

All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation as described in the file COPYING in the PDL distribution.