diff options
author | nbm <nbm@FreeBSD.org> | 2001-01-03 09:35:25 +0000 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2001-01-03 09:35:25 +0000 |
commit | 4e6c93150e080dce4708dcf219920a4e15b9cbc5 (patch) | |
tree | 59e7d4fbd3820250373500b1546dd43020405c36 /math/p5-Statistics-ChiSquare | |
parent | c5712736d4a4ce5e2ccebfb1a251859a717c3fc4 (diff) | |
download | FreeBSD-ports-4e6c93150e080dce4708dcf219920a4e15b9cbc5.zip FreeBSD-ports-4e6c93150e080dce4708dcf219920a4e15b9cbc5.tar.gz |
Add p5-Statistics-ChiSquare, answering how random your data is.
PR: 23995
Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'math/p5-Statistics-ChiSquare')
-rw-r--r-- | math/p5-Statistics-ChiSquare/Makefile | 25 | ||||
-rw-r--r-- | math/p5-Statistics-ChiSquare/distinfo | 1 | ||||
-rw-r--r-- | math/p5-Statistics-ChiSquare/pkg-comment | 1 | ||||
-rw-r--r-- | math/p5-Statistics-ChiSquare/pkg-descr | 20 | ||||
-rw-r--r-- | math/p5-Statistics-ChiSquare/pkg-plist | 8 |
5 files changed, 55 insertions, 0 deletions
diff --git a/math/p5-Statistics-ChiSquare/Makefile b/math/p5-Statistics-ChiSquare/Makefile new file mode 100644 index 0000000..f2672ab --- /dev/null +++ b/math/p5-Statistics-ChiSquare/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: math/p5-Statistics-ChiSquare +# Date created: 01 January 2001 +# Whom: Anton Berezin <tobez@tobez.org> +# +# $FreeBSD$ +# + +PORTNAME= Statistics-ChiSquare +PORTVERSION= 0.2 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Statistics +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@tobez.org + +USE_PERL5= yes +PERL_CONFIGURE= yes + +WRKSRC= ${WRKDIR}/Statistics/ChiSquare + +MAN3= Statistics::ChiSquare.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/math/p5-Statistics-ChiSquare/distinfo b/math/p5-Statistics-ChiSquare/distinfo new file mode 100644 index 0000000..1ab9c55 --- /dev/null +++ b/math/p5-Statistics-ChiSquare/distinfo @@ -0,0 +1 @@ +MD5 (Statistics-ChiSquare-0.2.tar.gz) = 305b347334b342642f341e16d5324242 diff --git a/math/p5-Statistics-ChiSquare/pkg-comment b/math/p5-Statistics-ChiSquare/pkg-comment new file mode 100644 index 0000000..14daca9 --- /dev/null +++ b/math/p5-Statistics-ChiSquare/pkg-comment @@ -0,0 +1 @@ +How random is your data? diff --git a/math/p5-Statistics-ChiSquare/pkg-descr b/math/p5-Statistics-ChiSquare/pkg-descr new file mode 100644 index 0000000..6c2f7ce --- /dev/null +++ b/math/p5-Statistics-ChiSquare/pkg-descr @@ -0,0 +1,20 @@ +Suppose you flip a coin 100 times, and it turns up heads 70 times. Is +the coin fair? + +Suppose you roll a die 100 times, and it shows 30 sixes. Is the die +loaded? + +In statistics, the chi-square test calculates "how random" a series of +numbers is. But it doesn't simply say "yes" or "no". Instead, it gives +you a confidence interval, which sets upper and lower bounds on the +likelihood that the variation in your data is due to chance. See the +examples below. + +There's just one function in this module: chisquare(). Instead of +returning the bounds on the confidence interval in a tidy little +two-element array, it returns an English string. This was a deliberate +design choice---many people misinterpret chi-square results, and the +string helps clarify the meaning. + +-Anton +<tobez@tobez.org> diff --git a/math/p5-Statistics-ChiSquare/pkg-plist b/math/p5-Statistics-ChiSquare/pkg-plist new file mode 100644 index 0000000..d6b305a --- /dev/null +++ b/math/p5-Statistics-ChiSquare/pkg-plist @@ -0,0 +1,8 @@ +lib/perl5/site_perl/%%PERL_VER%%/auto/Statistics/ChiSquare/autosplit.ix +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Statistics/ChiSquare/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Statistics/ChiSquare.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Statistics/ChiSquare +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Statistics/ChiSquare +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Statistics 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Statistics 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Statistics 2>/dev/null || true |