From 4d39ddd64d2752bd6fa8f279c0f1fb3397fb439c Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Wed, 3 Jan 2001 09:35:25 +0000 Subject: Add p5-Statistics-ChiSquare, answering how random your data is. PR: 23995 Submitted by: Anton Berezin --- math/Makefile | 1 + math/p5-Statistics-ChiSquare/Makefile | 25 +++++++++++++++++++++++++ math/p5-Statistics-ChiSquare/distinfo | 1 + math/p5-Statistics-ChiSquare/pkg-comment | 1 + math/p5-Statistics-ChiSquare/pkg-descr | 20 ++++++++++++++++++++ math/p5-Statistics-ChiSquare/pkg-plist | 8 ++++++++ 6 files changed, 56 insertions(+) create mode 100644 math/p5-Statistics-ChiSquare/Makefile create mode 100644 math/p5-Statistics-ChiSquare/distinfo create mode 100644 math/p5-Statistics-ChiSquare/pkg-comment create mode 100644 math/p5-Statistics-ChiSquare/pkg-descr create mode 100644 math/p5-Statistics-ChiSquare/pkg-plist (limited to 'math') 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 +# +# $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 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 + 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 -- cgit v1.2.3