Héctor Valverde >
Statistics-RatioVariance-1.00 >
Statistics::RatioVariance

Module Version: 1.00
Statistics::RatioVariance - Ratio and associated variance calculation.

my %zdNResults = RatioVariance->calc(\@x,\@y,\@x_var,\@y_var); foreach my $key (keys %result){ print "$key = $result{$key}\n";

For two vectors of means (X and Y) and its associated sets of variances (V[X] and V[Y]), this function calculates the rate (R) as:

R = sum(X)/sum(Y)

being sum(X) and sum(Y) the sum of all elements in the set, respectively. Also, it estimates the associated variance for R using Taylor expansion and taking into account the correlation between X and Y.

Furthermore, the function run a Z-Test to evaluate if R shifts from the unit significatively.

Version 1.00

Launch the complete algorithm.

Hector Valverde, `<hvalverde at uma.es>`

Juan Carlos Aledo, `<caledo@uma.es>`

Please report any bugs or feature requests to `bug-statistics-ratiovariance at rt.cpan.org`

, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Statistics-RatioVariance. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

perldoc Statistics::RatioVariance

You can also look for information at:

- RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Statistics-RatioVariance

- AnnoCPAN: Annotated CPAN documentation
- CPAN Ratings
- Search CPAN

Copyright 2012 Hector Valverde.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: