The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

 Statistics::DependantTTest - Perl module to perform Student's dependant or paired T-test on 2 paired samples.

SYNOPSIS

use Statistics::DependantTTest; use Statistics::Distributions;

my @before_values=('5','5','6','7','7'); my @after_values=('5','6','6.5','6.5','7.5');

my $t_test = new DependantTTest; $t_test->load_data('before',@before_values); $t_test->load_data('after',@after_values); my ($t_value,$deg_freedom) = $t_test->perform_t_test('before','after'); my ($p_value) = Statistics::Distributions::tprob ($deg_freedom,$t_value);

DESCRIPTION

This is the statistical T-Test module to compare 2 paired data sets. It takes 2 arrays of values and will return the t value and degrees of freedom in order to test the null hypothesis. The t values and degrees of freedom may be correlated to a p value using the Statistics::Distributions module.

AUTHOR

Martin Lee, Star Technology Group (mlee@startechgroup.co.uk)

SEE ALSO

Statistics::Distributions Statistics::TTest