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

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

Serving Software Downloads in 956 Categories, Downloaded 50.209.415 Times

Statistics::TTest 1.1.0

  Date Added: April 23, 2010  |  Visits: 832

Statistics::TTest

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 downloads)



Statistics::TTest is a Perl module to perform T-test on 2 independent samples. Statistics::TTest::Sufficient - Perl module to perfrom T-Test on 2 indepdent samples using sufficient statistics SYNOPSIS #example for Statistics::TTest use Statistics::PointEstimation; use Statistics::TTest; my @r1=(); my @r2=(); my $rand; for($i=1;$i<=32;$i++) #generate a uniformly distributed sample with mean=5 { $rand=rand(10); push @r1,$rand; $rand=rand(10)-2; push @r2,$rand; } my $ttest = new Statistics::TTest; $ttest->set_significance(90); $ttest->load_data(@r1,@r2); $ttest->output_t_test(); $ttest->set_significance(99); $ttest->print_t_test(); #list out t-test related data #the following thes same as calling output_t_test() (you can check if $ttest->{valid}==1 to check if the data is valid.) my $s1=$ttest->{s1}; #sample 1 a Statistics::PointEstimation object my $s2=$ttest->{s2}; #sample 2 a Statistics::PointEstimation object print "*****************************************************nn"; $s1->output_confidence_interval(1); print "*****************************************************nn"; $s2->output_confidence_interval(2); print "*****************************************************nn"; print "Comparison of these 2 independent samples.n"; print "t F-statistic=",$ttest->f_statistic()," , cutoff F-statistic=",$ttest->f_cutoff(), " with alpha level=",$ttest->alpha*2," and df =(",$ttest->df1,",",$ttest->df2,")n"; if($ttest->{equal_variance}) { print "tequal variance assumption is accepted(not rejected) since F-statistic < cutoff F-statisticn";} else { print "tequal variance assumption is rejected since F-statistic > cutoff F-statisticn";} print "tdegree of freedom=",$ttest->df," , t-statistic=T=",$ttest->t_statistic," Prob >|T|=",$ttest->{t_prob},"n"; print "tthe null hypothesis (the 2 samples have the same mean) is ",$ttest->null_hypothesis(), " since the alpha level is ",$ttest->alpha()*2,"n"; print "tdifference of the mean=",$ttest->mean_difference(),", standard error=",$ttest->standard_error(),"n"; print "t the estimate of the difference of the mean is ", $ttest->mean_difference()," +/- ",$ttest->delta(),"nt", " or (",$ttest->lower_clm()," to ",$ttest->upper_clm," ) with ",$ttest->significance," % of confidencen"; #example for Statistics::TTest::Sufficient use Statistics::PointEstimation; use Statistics::TTest; my %sample1=( count =>30, mean =>3.98, variance =>2.63 ); my %sample2=( count=>30, mean=>3.67, variance=>1.12 ); my $ttest = new Statistics::TTest::Sufficient; $ttest->set_significance(90); $ttest->load_data(%sample1,%sample2); $ttest->output_t_test(); #$ttest->s1->print_confidence_interval(); $ttest->set_significance(99); $ttest->output_t_test(); #$ttest->s1->print_confidence_interval(); Statistics::TTest This is the Statistical T-Test module to compare 2 independent samples. It takes 2 array of point measures, compute the confidence intervals using the PointEstimation module (which is also included in this package) and use the T-statistic to test the null hypothesis. If the null hypothesis is rejected, the difference will be given as the lower_clm and upper_clm of the TTest object. Statistics::TTest::Sufficient This module is a subclass of Statistics::TTest. Instead of taking the real data points as the input, it will compute the confidence intervals based on the sufficient statistics and the sample size inputted. To use this module, you need to pass the sample size, the sample mean , and the sample variance into the load_data() function. The output will be exactly the same as the Statistics::TTest Module..

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Module Output Perl Module Pointestimation Print Programming Statisticsttest T-test Ttest
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


STATISTICS::TTEST RELATED
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  Test::Litmus 0.03
Test::Litmus is a Perl module to submit test results to the Litmus testcase management tool. SYNOPSIS use Test::Litmus; $t = Test::Litmus->new(-machinename => mycomputer, -username => user, -authtoken => token, # optional # -server =>...
4.1 KB  
Modules  -  Module Object Oriented Programming API 6.x- 1.0
The oop syntax module must implement hook_boot().InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 6.x
 
Modules  -  Module Object Oriented Programming API 6.x- 1.0
The oop syntax module must implement hook_boot().InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 6.x
 
Libraries  -  Perl6::Currying 0.05
Perl6::Currying is a Perl 6 subroutine currying for Perl 5. SYNOPSIS use Perl6::Currying; sub add ($a,$b) { $a + $b } # Define a sub with named params print add(1,2); # Call it my $incr = &add.prebind(a=>1); # Bind the $a argument to 1...
5.12 KB  
Libraries  -  Test::C2FIT 0.07
Test::C2FIT is a direct Perl port of Ward Cunninghams FIT acceptance test framework for Java. SYNOPSIS FileRunner.pl input_containing_fit_tests.html test_results.html perl -MTest::C2FIT -e file_runner input_containing_fit_tests.html...
266.24 KB  
Libraries  -  WWW::Selenium 1.13
WWW::Selenium is a Perl Client for the Selenium Remote Control test tool. SYNOPSIS use WWW::Selenium; my $sel = WWW::Selenium->new( host => "localhost", port => 4444, browser => "*iexplore", browser_url => "http://www.google.com", );...
41.98 KB  
Libraries  -  Chilkat Class Libraries for Java 9.2.1
The full suite of Chilkat components & libraries are now available for the Java programming language. Commercially licensed components include: Email (POP3 / SMTP) IMAP Zip, GZip, and Unix Compress Encryption MIME and S/MIME FTP HTTP MHT...
 
Libraries  -  lua_alt_getopt 0.7.0
lua_alt_getopt is a module for Lua programming language for parsing command line arguments. Goals: compatibility to POSIX 'Utility Syntax Guidelines' (guidelines 3-13), GNU getopt_long(3) extentions.
4.61 KB  
Modules  -  XBS ModGen 1.0
Ever wanted to write a module for Xoops but don't know where to get started? Are you writing for Xoops and find the initial module setup tasks boring or tedious? This module writes a complete module skeleton for you and enables you to setup the...
 
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 4.0.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...
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