Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.656.711 Times

Statistics::LineFit 0.07

  Date Added: February 17, 2010  |  Visits: 883


Report Broken Link
Printer Friendly Version

Product Homepage
Download (100 downloads)

Statistics::LineFit module least squares line fit, weighted or unweighted. SYNOPSIS use Statistics::LineFit; $lineFit = Statistics::LineFit->new(); $lineFit->setData (@xValues, @yValues) or die "Invalid data"; ($intercept, $slope) = $lineFit->coefficients(); defined $intercept or die "Cant fit line if x values are all equal"; $rSquared = $lineFit->rSquared(); $meanSquaredError = $lineFit->meanSqError(); $durbinWatson = $lineFit->durbinWatson(); $sigma = $lineFit->sigma(); ($tStatIntercept, $tStatSlope) = $lineFit->tStatistics(); @predictedYs = $lineFit->predictedYs(); @residuals = $lineFit->residuals(); (varianceIntercept, $varianceSlope) = $lineFit->varianceOfEstimates(); The Statistics::LineFit module does weighted or unweighted least-squares line fitting to two-dimensional data (y = a + b * x). (This is also called linear regression.) In addition to the slope and y-intercept, the module can return the square of the correlation coefficient (R squared), the Durbin-Watson statistic, the mean squared error, sigma, the t statistics, the variance of the estimates of the slope and y-intercept, the predicted y values and the residuals of the y values. (See the METHODS section for a description of these statistics.) The module accepts input data in separate x and y arrays or a single 2-D array (an array of arrayrefs). The optional weights are input in a separate array. The module can optionally verify that the input data and weights are valid numbers. If weights are input, the line fit minimizes the weighted sum of the squared errors and the following statistics are weighted: the correlation coefficient, the Durbin-Watson statistic, the mean squared error, sigma and the t statistics. The module is state-oriented and caches its results. Once you call the setData() method, you can call the other methods in any order or call a method several times without invoking redundant calculations. After calling setData(), you can modify the input data or weights without affecting the modules results. The decision to use or not use weighting could be made using your a priori knowledge of the data or using supplemental data. If the data is sparse or contains non-random noise, weighting can degrade the solution. Weighting is a good option if some points are suspect or less relevant (e.g., older terms in a time series, points that are known to have more noise)..

Requirements: No special requirements
Platforms: Linux
Keyword: Data Input Least Squares Least Squares Line Libraries Line Linefit Module Programming Statisticslinefit Weighted Weights
Users rating: 0/10

License: Freeware Size: 24.58 KB
More Reviews or Write Review

Text Management  -  Echo input with a time delay after each line 1.0
This script echos the input with a time delay after each line. The input can be from standard input or a list of files on the command line, like the Unix 'cat' command. The delay between lines is adjustable, and defaults to 1 second.
Libraries  -  Audio::TagLib 1.42
Audio::TagLib is a library for reading and editing audio meta data, commonly known as tags. SYNOPSIS use Audio::TagLib; use warnings; use strict; my $f = Audio::TagLib::FileRef->new("Latex Solar Beef.mp3"); my $artist =...
1.4 MB  
Libraries  -  Convert::Wiki::Node::Line 0.05
Convert::Wiki::Node::Line is a Perl module that represents a horizontal line (aka ruler). SYNOPSIS use Convert::Wiki::Node::Line; my $hr = Convert::Wiki::Node::Line->new( ); print $hr->as_wiki(); A Convert::Wiki::Node::Line represents a...
19.46 KB  
Communication  -  signalwidth.m 1.0
Estimates the signal width of data input, using definition: rho = cumtrapz(t,x.^2)/trapz(t,x.^2)The integration limits go from mean(t)-w/2 and mean(t)+w/2; w is defined as the signal width, and gives the time at which rho % of the signal...
10 KB  
Network & Internet  -  HUM 0.7
HUM is a CGI module that processes multipart/form-data input, extracts a file being uploaded and saves it under compiled-in dir preserving original filename. If the file already exists, HUM calls tmpnam() function to generate unique file...
34.82 KB  
Libraries  -  Catalyst::Plugin::Session::CGISession 0.04
Catalyst::Plugin::Session::CGISession is a Perl module to use CGI::Session for persistent session data. SYNOPSIS use Catalyst qw{ ... Session::CGISession ... }; MyApp->config->{session} = { expires => 3600, rewrite => 1, };...
16.38 KB  
Clipboard Utilities  -  Multi Clipboard Recorder 1.2
Multi Clipboard Recorder is a free Windows Clipboard Manager software with multilingual support.It records the clipboard data that generated by other programs.You can restore them by clicking history entries. Key Features 1. Records...
860.91 KB  
Finance  -  Digital Inputs Filter 3.7.4 B1130
The filter module "Digital inputs filter" for our data loggers (for example, Accurate Printer Monitor ) is an additional module that provides a method to exclude less significant data records from the final data export. The module works with...
Finance  -  Digital Inputs Filter 3.7.6 Build 214
The filter module "Digital inputs filter" for our data loggers (for example, Accurate Printer Monitor ) is an additional module that provides a method to exclude less significant data records from the final data export. The module works with...
Clipboard Utilities  -  MetaClip 2 Pre-Alpha
MetaClip is a handy and reliable clipboard content archiving tool designed to store, organize and restore Windows clipboard contents, including complex formatted textual content, images and other data formats, in portable file-system based...
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB