I see the Statistics::Basic lib available but how to implement the same using arrays and not list.
You can think of an array as a named list. What did you try?
my $std_dev = Statistics::Basic::stddev (@act_ret);
looks like it should work, according to the documentation. Does it not?
In reply to Re: PERL Standard Deviation lib
by hippo
in thread PERL Standard Deviation lib
by PiyaPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |