Skip Menu |

This queue is for tickets about the Statistics-DependantTTest CPAN distribution.

Report information
The Basics
Id: 94256
Status: new
Priority: 0/
Queue: Statistics-DependantTTest

People
Owner: Nobody in particular
Requestors: yueming.ding [...] regeneron.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Re: error in using Statistics::DependantTTest
Date: Thu, 27 Mar 2014 14:26:17 -0400
To: "mlee [...] startechgroup.co.uk" <mlee [...] startechgroup.co.uk>, "bug-Statistics-DependantTTest [...] rt.cpan.org" <bug-Statistics-DependantTTest [...] rt.cpan.org>
From: Yueming Ding <yueming.ding [...] regeneron.com>
Hi,

I have installed your Statistics::DependantTTest on my computer. But when I ran the following test.pl:

#!/usr/bin/perl -w
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);

I always got the following error message:
"Can't locate object method "new" via package "DependantTTest" (perhaps you forgot to load "DependantTTest"?) at ./test_module.pl line 6."

My  Statistics::DependantTTest was installed at /Library/Perl/5.12/Statistics/ on my Mac. If I ran the following command line, I will get "ok":
perl -e 'use Statistics::DependantTTest; print "ok\n"'

I tried to installed this module to different system, I still got the same error message. It would be greatly appreciated if you could help me out. Thanks!

Yueming
This e-mail and any attachment hereto, is intended only for use by the addressee(s) named above and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, any dissemination, distribution or copying of this email, or any attachment hereto, is strictly prohibited. If you receive this email in error please immediately notify me by return electronic mail and permanently delete this email and any attachment hereto, any copy of this e-mail and of any such attachment, and any printout thereof. Finally, please note that only authorized representatives of Regeneron Pharmaceuticals, Inc. have the power and authority to enter into business dealings with any third party.