|File Search||Catalog||Content Search|
Statistics::OLS computes the estimated slope and intercept of the regression line, their T-statistics, R squared, standard error of the regression and the Durbin-Watson statistic. It can also return the residuals.
Statistics::OLS - perform ordinary least squares and other bivariate statistics, v 0.07. I wrote Statistics::OLS to perform Ordinary Least Squares (linear curve fitting) on two dimensional data: y = a + bx. The other simple statistical module I found on CPAN (Statistics::Descriptive) is designed for univariate analysis. It accomodates OLS, but somewhat inflexibly and without rich bivariate sta more»
OLS(3) User Contributed Perl Documentation OLS(3) NAME Statistics::OLS - perform ordinary least squares and associ‐ ated statistics, v 0.07. SYNOPSIS use Statistics::OLS; my $ls = Statistics::OLS->new(); $ls->setData (\@xydataset) or die( $ls->error() ); $ls->setData (\@xdataset, \@ydataset); $ls->regr more»
Revision history for Perl module Statistics::OLS. 0.01 - 22 March 1998 - original version 0.02 - 29 March 1998 - corrected array bounds check bug in setData - included check for divide by zero in standard error of coefficients and t-stats 0.03 - 31 May 1998 - placed module into standard format using h2xs 0.04 - 13 July 1998 - changed the name from Statistics::Ols to more»