aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-01-03 09:35:25 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-01-03 09:35:25 +0000
commit4d39ddd64d2752bd6fa8f279c0f1fb3397fb439c (patch)
tree2ca6809f9576abf1f55ec8a639e6df066cf9e021 /math
parentb3ff865b0dd7dd84e39ad287c47dee3b72f3aa72 (diff)
downloadports-4d39ddd64d2752bd6fa8f279c0f1fb3397fb439c.tar.gz
ports-4d39ddd64d2752bd6fa8f279c0f1fb3397fb439c.zip
Add p5-Statistics-ChiSquare, answering how random your data is.
PR: 23995 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=36628
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Statistics-ChiSquare/Makefile25
-rw-r--r--math/p5-Statistics-ChiSquare/distinfo1
-rw-r--r--math/p5-Statistics-ChiSquare/pkg-comment1
-rw-r--r--math/p5-Statistics-ChiSquare/pkg-descr20
-rw-r--r--math/p5-Statistics-ChiSquare/pkg-plist8
6 files changed, 56 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 554b44619c75..5511f7c59989 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -50,6 +50,7 @@
SUBDIR += p5-Math-Logic
SUBDIR += p5-MatrixReal
SUBDIR += p5-Set-IntSpan
+ SUBDIR += p5-Statistics-ChiSquare
SUBDIR += pari
SUBDIR += parmetis
SUBDIR += physcalc
diff --git a/math/p5-Statistics-ChiSquare/Makefile b/math/p5-Statistics-ChiSquare/Makefile
new file mode 100644
index 000000000000..f2672ab59280
--- /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 000000000000..1ab9c55289c1
--- /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 000000000000..14daca9891a6
--- /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 000000000000..6c2f7ce06edc
--- /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 000000000000..d6b305a88a58
--- /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