Statistics::Multtest

Control false discovery rate in multiple test problem
Download

Statistics::Multtest Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Zuguang Gu
  • Publisher web site:
  • http://search.cpan.org/~jokergoo/

Statistics::Multtest Tags


Statistics::Multtest Description

Statistics::Multtest is a Perl module to control false discovery rate in multiple test problem.For statistical test, p-value is the probability of false positives. While there are many hypothesis for testing simultaneously, the probability of getting at least one false positive would be large. Therefore the origin p-values should be adjusted to decrease the false discovery rate.Six procedures to controlling false positive rates is provided. The names of the methods are derived from p.adjust in stat package in R. Code is translated directly from R to Perl using List::Vectorize module.All six subroutines receive one argument which can either be an array reference or a hash reference, and return the adjusted p-values in corresponding data structure. The order of items in the array does not change after the adjustment.SYNOPSIS use Statistics::Multtest qw(bonferroni holm hommel hochberg BH BY); use Statistics::Multtest qw(:all); use strict; my $p; # p-values can be stored in an array by reference $p = ; # @$res has the same order as @$p my $res = BH($p); print join "\n", @$res; # p-values can also be stored in a hash by reference $p = {"a" => 0.01, "b" => 0.02, "c" => 0.05, "d" => 0.41, "e" => 0.16, "f" => 0.51 }; # $res is also a hash reference which is the same as $p $res = holm($p); foreach (sort {$res->{a} $res->{$b}} keys %$res) { print "$_ => $res->{$_}\n"; }Product's homepage


Statistics::Multtest Related Software