From 1cfd4012b358242cc44320b4a4539cbf0b5265cf Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Sat, 7 Apr 2007 03:02:00 +0000 Subject: [PATCH] Regression.pm is a multivariate linear regression package. That is, it estimates the c coefficients for a line-fit of the type y= c(0)*x(0) + c(1)*x1 + c(2)*x2 + ... + c(k)*xk given a data set of N observations, each with k independent x variables and one y variable. Naturally, N must be greater than k---and preferably considerably greater. Any reasonable undergraduate statistics book will explain what a regression is. Most of the time, the user will provide a constant ('1') as x(0) for each observation in order to allow the regression package to fit an intercept. WWW: http://search.cpan.org/dist/Statistics-Regression/ --- math/Makefile | 1 + math/p5-Statistics-Regression/Makefile | 22 ++++++++++++++++++++++ math/p5-Statistics-Regression/distinfo | 3 +++ math/p5-Statistics-Regression/pkg-descr | 13 +++++++++++++ math/p5-Statistics-Regression/pkg-plist | 5 +++++ 5 files changed, 44 insertions(+) create mode 100644 math/p5-Statistics-Regression/Makefile create mode 100644 math/p5-Statistics-Regression/distinfo create mode 100644 math/p5-Statistics-Regression/pkg-descr create mode 100644 math/p5-Statistics-Regression/pkg-plist diff --git a/math/Makefile b/math/Makefile index 93723dff8255..e2ab6bf294e7 100644 --- a/math/Makefile +++ b/math/Makefile @@ -266,6 +266,7 @@ SUBDIR += p5-Statistics-LineFit SUBDIR += p5-Statistics-Lite SUBDIR += p5-Statistics-OLS + SUBDIR += p5-Statistics-Regression SUBDIR += p5-Task-Math-Symbolic SUBDIR += pari SUBDIR += parmetis diff --git a/math/p5-Statistics-Regression/Makefile b/math/p5-Statistics-Regression/Makefile new file mode 100644 index 000000000000..22cbcc77b4b9 --- /dev/null +++ b/math/p5-Statistics-Regression/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: math/p5-Statistics-Regression +# Date created: Apr 7, 2007 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= Statistics-Regression +PORTVERSION= 0.50 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Statistics +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Perl module to perform weighted linear regression + +PERL_CONFIGURE= yes + +MAN3= Statistics::Regression.3 + +.include diff --git a/math/p5-Statistics-Regression/distinfo b/math/p5-Statistics-Regression/distinfo new file mode 100644 index 000000000000..cd64e17d9b34 --- /dev/null +++ b/math/p5-Statistics-Regression/distinfo @@ -0,0 +1,3 @@ +MD5 (Statistics-Regression-0.50.tar.gz) = 4930f08a214ec91243b6846d9ddbe5fe +SHA256 (Statistics-Regression-0.50.tar.gz) = 2bbf3310ad95ac942a7b7f666c1e1dbc8a8286b542ce727ba35d69daad56a7e3 +SIZE (Statistics-Regression-0.50.tar.gz) = 22268 diff --git a/math/p5-Statistics-Regression/pkg-descr b/math/p5-Statistics-Regression/pkg-descr new file mode 100644 index 000000000000..e7b40725d355 --- /dev/null +++ b/math/p5-Statistics-Regression/pkg-descr @@ -0,0 +1,13 @@ +Regression.pm is a multivariate linear regression package. +That is, it estimates the c coefficients for a line-fit of the type + + y= c(0)*x(0) + c(1)*x1 + c(2)*x2 + ... + c(k)*xk + +given a data set of N observations, each with k independent x variables +and one y variable. Naturally, N must be greater than k---and preferably +considerably greater. Any reasonable undergraduate statistics book will +explain what a regression is. Most of the time, the user will provide a +constant ('1') as x(0) for each observation in order to allow the +regression package to fit an intercept. + +WWW: http://search.cpan.org/dist/Statistics-Regression/ diff --git a/math/p5-Statistics-Regression/pkg-plist b/math/p5-Statistics-Regression/pkg-plist new file mode 100644 index 000000000000..3998a1c4fc0e --- /dev/null +++ b/math/p5-Statistics-Regression/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Regression/.packlist +%%SITE_PERL%%/Statistics/Regression.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics/Regression +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics +@dirrmtry %%SITE_PERL%%/Statistics