Skip Menu |

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

Report information
The Basics
Id: 46813
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Statistics-Test-WilcoxonRankSum

People
Owner: Nobody in particular
Requestors: HXie [...] childrensmemorial.org
Cc:
AdminCc:

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



Subject: help with Statistics-Test-WilcoxonRankSum-0.0.4
Date: Tue, 9 Jun 2009 16:12:38 -0500
To: "bug-statistics-test-wilcoxonranksum [...] rt.cpan.org" <bug-statistics-test-wilcoxonranksum [...] rt.cpan.org>
From: "Xie, Hehuang" <HXie [...] childrensmemorial.org>
Dear Dr. Ingrid Falk, I am trying to use your package for Statistics::Test::WilcoxonRankSum. I tested with your code provided on the website: http://search.cpan.org/~ingrif/Statistics-Test-WilcoxonRankSum-0.0.3/lib/Statistics/Test/WilcoxonRankSum.pm use Statistics::Test::WilcoxonRankSum; my @dataset_1 = (4.6, 4.7, 4.9, 5.1, 5.2, 5.5, 5.8, 6.1, 6.5, 6.5, 7.2); my @dataset_2 = (5.2, 5.3, 5.4, 5.6, 6.2, 6.3, 6.8, 7.7, 8.0, 8.1); $wilcox_test->load_data(\@dataset_1, \@dataset_2); ...... Unfortunately, I got an error message "Can't call method "load_data" on an undefined value". Do you know what is going on? I felt so sorry to bother you and wish you would not mind to help me out. Many thanks! Hehuang Hehuang Xie, Ph.D. Research Assistant Professor Cancer Biology and Epigenomics Program, Children's Memorial Research Center, Department of Pediatrics, Northwestern University's Feinberg School of Medicine C. 421N, 2300 Children's Plaza, Box 220 Chicago, Ilinois 60614-3394 Email: hxie@childrensmemorial.org<mailto:hhxie@childrensmemorial.org> Phone: 773-880-4000 ext: 56747 Web: www.childrensmrc.org
Sorry, this was a documentation issue. Before calling the load_data method on $wilcox_test, you have to create a $wilcox_test object like this: my $wilcox_test = Statistics::Test::WilcoxonRankSum->new(); I now added this to the documentation and uploaded a new distribution to CPAN (it may take some days though until it is available for download). You could also check out the tests directory (`t') for various usage examples. Eg. the file 01.load_data.t contains sample code to test the load_data method. Best, Ingrid Falk On Tue Jun 09 17:15:23 2009, HXie@childrensmemorial.org wrote: Show quoted text
> Dear Dr. Ingrid Falk, > > I am trying to use your package for Statistics::Test::WilcoxonRankSum. > I tested with your code provided on the website: > http://search.cpan.org/~ingrif/Statistics-Test-WilcoxonRankSum- > 0.0.3/lib/Statistics/Test/WilcoxonRankSum.pm > > > use Statistics::Test::WilcoxonRankSum; > > > > my @dataset_1 = (4.6, 4.7, 4.9, 5.1, 5.2, 5.5, 5.8, 6.1, 6.5, 6.5, > 7.2); > > my @dataset_2 = (5.2, 5.3, 5.4, 5.6, 6.2, 6.3, 6.8, 7.7, 8.0, > 8.1); > > > > $wilcox_test->load_data(\@dataset_1, \@dataset_2); > ...... > > > Unfortunately, I got an error message "Can't call method "load_data" > on an undefined value". Do you know what is going on? > > I felt so sorry to bother you and wish you would not mind to help me > out. > > Many thanks! > > Hehuang > > Hehuang Xie, Ph.D. > > Research Assistant Professor > > Cancer Biology and Epigenomics Program, > > Children's Memorial Research Center, > > Department of Pediatrics, > > Northwestern University's Feinberg School of Medicine > > > > C. 421N, 2300 Children's Plaza, Box 220 > > Chicago, Ilinois 60614-3394 > > Email: hxie@childrensmemorial.org<mailto:hhxie@childrensmemorial.org> > > Phone: 773-880-4000 ext: 56747 > > Web: www.childrensmrc.org >
Subject: RE: [rt.cpan.org #46813] help with Statistics-Test-WilcoxonRankSum-0.0.4
Date: Wed, 10 Jun 2009 06:37:05 -0500
To: "bug-Statistics-Test-WilcoxonRankSum [...] rt.cpan.org" <bug-Statistics-Test-WilcoxonRankSum [...] rt.cpan.org>
From: "Xie, Hehuang" <HXie [...] childrensmemorial.org>
Dear Ingrid, I see. Thank you so much for quick response! Have a great day! Hehuang Show quoted text
-----Original Message----- From: Ingrid Falk via RT [mailto:bug-Statistics-Test-WilcoxonRankSum@rt.cpan.org] Sent: Wednesday, June 10, 2009 2:11 AM To: Xie, Hehuang Subject: [rt.cpan.org #46813] help with Statistics-Test-WilcoxonRankSum-0.0.4 <URL: https://rt.cpan.org/Ticket/Display.html?id=46813 > Sorry, this was a documentation issue. Before calling the load_data method on $wilcox_test, you have to create a $wilcox_test object like this: my $wilcox_test = Statistics::Test::WilcoxonRankSum->new(); I now added this to the documentation and uploaded a new distribution to CPAN (it may take some days though until it is available for download). You could also check out the tests directory (`t') for various usage examples. Eg. the file 01.load_data.t contains sample code to test the load_data method. Best, Ingrid Falk On Tue Jun 09 17:15:23 2009, HXie@childrensmemorial.org wrote:
> Dear Dr. Ingrid Falk, > > I am trying to use your package for Statistics::Test::WilcoxonRankSum. > I tested with your code provided on the website: > http://search.cpan.org/~ingrif/Statistics-Test-WilcoxonRankSum- > 0.0.3/lib/Statistics/Test/WilcoxonRankSum.pm > > > use Statistics::Test::WilcoxonRankSum; > > > > my @dataset_1 = (4.6, 4.7, 4.9, 5.1, 5.2, 5.5, 5.8, 6.1, 6.5, 6.5, > 7.2); > > my @dataset_2 = (5.2, 5.3, 5.4, 5.6, 6.2, 6.3, 6.8, 7.7, 8.0, > 8.1); > > > > $wilcox_test->load_data(\@dataset_1, \@dataset_2); > ...... > > > Unfortunately, I got an error message "Can't call method "load_data" > on an undefined value". Do you know what is going on? > > I felt so sorry to bother you and wish you would not mind to help me > out. > > Many thanks! > > Hehuang > > Hehuang Xie, Ph.D. > > Research Assistant Professor > > Cancer Biology and Epigenomics Program, > > Children's Memorial Research Center, > > Department of Pediatrics, > > Northwestern University's Feinberg School of Medicine > > > > C. 421N, 2300 Children's Plaza, Box 220 > > Chicago, Ilinois 60614-3394 > > Email: hxie@childrensmemorial.org<mailto:hhxie@childrensmemorial.org> > > Phone: 773-880-4000 ext: 56747 > > Web: www.childrensmrc.org >