| Summary | Included libraries | Package variables | Synopsis | General documentation | Methods |
| Summary | Top |
| Clair::ChisqIndependent - compute the Chi square for the CLAIR Library head1 VERSION Version 0.01 |
| Package variables | Top |
| No package variables defined. |
| Included modules | Top |
| Carp |
| Exporter |
| Statistics::ChisqIndep |
| Statistics::Distributions qw ( chisqrprob ) |
| Inherit | Top |
| Exporter Statistics::ChisqIndep |
| Synopsis | Top |
| This module works for Gen to produce the Chi square for given data. It's subclassed from Statistics::ChisqIndep, and add one more method: recompute_chisq to compute the p-value of the data when degree of freedom changes |
| Description | Top |
| Methods | Top |
| recompute_chisq | Description | Code |
| recompute_chisq() | code | next | Top |
| return the p-value when the degree of freedom is changed. |
| recompute_chisq | description | prev | next | Top |
sub recompute_chisq
{ my $self = shift;
my $df = $self->{df};
my $chisq = $self->{chisq_statistic};
if ($df < 0 || $chisq < 0) {
croak "error: df = $df\tchisq = $chisq";
}
my $chiprob = chisqrprob($df, $chisq);
# print "Generated by ChisqIndependt\n";} |
| AUTHOR | Top |
| Chen, Huang << <clair at umich.edu> >> |
| BUGS | Top |
| Please report any bugs or feature requests to bug-clair-document at rt.cpan.org, or through the web interface at |
| SUPPORT | Top |
You can find documentation for this module with the perldoc command. perldoc Clair::ChisqIndependentYou can also look for information at: |
| COPYRIGHT & LICENSE | Top |
| Copyright 2008 The University of Michigan, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |