Hi all,
I just downloaded and installed the Statistics::Burst package without any problem.
When I run a test script that is just like the code in the example I get an error, saying:
Can't take log of 0 at blib\lib\Statistics\Burst.pm (autosplit into blib\lib\auto\Statistics\Burst\transistion.al) line 228.
So my question is: does anybody have experience with this module?
Or does anybody have any clue as to why I would get this error..?!?
Just for completeness sake, here is the listing of test script . It runs fine, until the process() call...
Thanks!
I just downloaded and installed the Statistics::Burst package without any problem.
When I run a test script that is just like the code in the example I get an error, saying:
Can't take log of 0 at blib\lib\Statistics\Burst.pm (autosplit into blib\lib\auto\Statistics\Burst\transistion.al) line 228.
So my question is: does anybody have experience with this module?
Or does anybody have any clue as to why I would get this error..?!?
Just for completeness sake, here is the listing of test script . It runs fine, until the process() call...
Thanks!
Code:
use strict;
use Statistics::Burst;
my $burstObj=Statistics::Burst::new();
$burstObj->generateStates(3,.111,2);
$burstObj->gamma(.5);
my @gap_space = (4,5,10);
$burstObj->setData(\@gap_space);
$burstObj->process();
my $statesUsed=$burstObj->getStatesUsed();