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 32.284.108 Times

Statistics::Forecast 0.3

  Date Added: March 03, 2010  |  Visits: 859

Statistics::Forecast

Report Broken Link
Printer Friendly Version


Product Homepage
Download (79 downloads)

Statistics::Forecast is a Perl module that calculates a future value. This is a dummy Oriented Object module that calculates a future value by using existing values. The new value is calculated by using linear regression. SYNOPSIS use Statistics::Forecast; Create forecast object my $FCAST = Statistics::Forecast->new("My Forecast Name"); Add data $FCAST->{DataX} = @Array_X; $FCAST->{DataY} = @Array_Y; $FCAST->{NextX} = $NextX; Calculate the result $FCAST->calc; Get the result my $Result_Forecast = $FCAST->{ForecastY); INTERNALS The equation for Forecast is: a+bx, where x is the predicted value and _ _ a = y + bx b = sum((x+x)(y-y))/sum(x-x)**2 METHODS new Receives a forecast name, only to remember and returns the blessed data structure as a Statistics::Forecast object. my $FCAST = Statistics::Forecast->new("My Forecast"); calc Calculate and return the forecast value. $FCAST->calc; dump Prints data for debuging propose. $FCAST->dump; SumX Returns the sum of X values. my $SumOfX = $FCAST->{SumX}; SumY Returns the sum of Y values. my $SumOfY = $FCAST->{SumY}; SumXX Returns the sum of X**2 values. my $SumOfXX = $FCAST->{SumXX}; SumXY Returns the sum of X * Y values. my $SumOfXY = $FCAST->{SumXY}; AvgX Returns the average of X values. my $AvgX = $FCAST->{AvgX}; AvgY Returns the average of Y values. my $AvgY = $FCAST->{AvgY}; N Return the number of X values. my $N = $FCAST->{N}; EXAMPLE use Statistics::Forecast; my @Y = (1,3,7,12); my @X = (1,2,3,4); my $FCAST = Statistics::Forecast->new("My Forecast"); $FCAST->{DataX} = @X; $FCAST->{DataY} = @Y; $FCAST->{NextX} = 8; $FCAST->calc; print "The Forecast ", $FCAST->{ForecastName}; print " has the forecast value: ", $FCAST->{ForecastY}, "n";.

Requirements: No special requirements
Platforms: Linux
Keyword: Avgx Avgy Fcast Forecast Libraries Nextx Perl Module Returns Statisticsforecast Sum Sum Of Values
Users rating: 0/10

License: Freeware Size: 3.07 KB
STATISTICS::FORECAST RELATED
Libraries  -  Bio::NEXUS::SetsBlock 0.67
Bio::NEXUS::SetsBlock is a Perl module that represents SETS block of a NEXUS file. SYNOPSIS $block_object = new Bio::NEXUS::SetsBlock($block_type, $block, $verbose); Parses Sets block of NEXUS file and stores Sets data. METHODS new...
153.6 KB  
Libraries  -  Audio::MPEG 0.04
Audio::MPEG is a Perl module for encoding and decoding of MPEG Audio (MP3). SYNOPSIS use Audio::MPEG; Audio::MPEG is a Perl interface to the LAME and MAD MPEG audio Layers I, II, and III encoding and decoding libraries. Rationale I have...
57 MB  
Libraries  -  Hub::Perl::Language 04.00.012
Hub::Perl::Language is a Perl module that contains a lot of methods. PUBLIC METHODS sizeof Integer size of hashes, arrays, and scalars Usage: sizeof %hash Usage: sizeof @array Usage: sizeof $scalar_ref Usage: sizeof $scalar Usage:...
143.36 KB  
Libraries  -  XAO::DO::Web::MenuBuilder 1.07
XAO::DO::Web::MenuBuilder is a Perl module for building all sorts of menus. SYNOPSIS <...
11.26 KB  
Libraries  -  Image::ExifTool::Location 0.0.1
Image::ExifTool::Location is a Perl module with easy setting, getting of an images location information. SYNOPSIS use Image::ExifTool; use Image::ExifTool::Location; my $exif = Image::ExifTool->new(); # Extract info from existing image...
12.29 KB  
Libraries  -  HTTPD::Log::Filter 1.08
HTTPD::Log::Filter is a Perl module to filter entries out of an httpd log. SYNOPSIS my $hlf = HTTPD::Log::Filter->new( exclusions_file => $exclusions_file, agent_re => .*Mozilla.*, format => ELF, ); while( ) { my $ret =...
10.24 KB  
Libraries  -  Bio::NEXUS::TaxaBlock 0.67
Bio::NEXUS::TaxaBlock is a Perl module that represents TAXA block of a NEXUS file. SYNOPSIS if ( $type =~ /taxa/i ) { $block_object = new Bio::NEXUS::TaxaBlock($type, $block, $verbose); } If a NEXUS block is a taxa block, this module...
153.6 KB  
Libraries  -  Bio::NEXUS::TreesBlock 0.67
Bio::NEXUS::TreesBlock is a Perl module that represents TREES block of a NEXUS file. SYNOPSIS if ( $type =~ /trees/i ) { $block_object = new Bio::NEXUS::TreesBlock( $block_type, $block, $verbose ); } If a NEXUS block is a Trees Block, this...
153.6 KB  
Libraries  -  Contextual::Return 0.1.0
Contextual::Return is a Perl module to create context-senstive return values. SYNOPSIS use Contextual::Return; use Carp; sub foo { return SCALAR { thirty-twelve } BOOL { 1 } NUM { 7*6 } STR { forty-two } LIST { 1,2,3 } HASHREF {...
22.53 KB  
Libraries  -  GD::Dashboard 0.04
GD::Dashboard is a Perl module to create JPEG graphics of meters and dials. SYNOPSIS my $dash = new GD::Dashboard(); my $g1 = new GD::Dashboard::Gauge( MIN=>0, MAX=>$empcnt, VAL=>$nopwp_cnt, NA1=>3.14/2+0.85, NA2=>3.14/2-0.85,...
23.55 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
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...
3.88 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