The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::StatisticsUtils - CLI utilities related to statistics

VERSION

This document describes version 0.002 of App::StatisticsUtils (from Perl distribution App-StatisticsUtils), released on 2021-02-21.

DESCRIPTION

This distribution contains the following CLI utilities:

FUNCTIONS

pct2z

Usage:

 pct2z($pct) -> any

Convert percentile to z-score (for standard normal distribution).

Examples:

  • Example #1:

     pct2z(50); # -> 0
  • Example #2:

     pct2z(5); # -> -1.644854
  • Example #3:

     pct2z(90); # -> 1.281552

This function is not exported.

Arguments ('*' denotes required arguments):

  • $pct* => float

Return value: (any)

z2pct

Usage:

 z2pct($z) -> any

Convert z-score to percentile (for standard normal distribution).

Examples:

  • Example #1:

     z2pct(0); # -> 50
  • Example #2:

     z2pct(-2); # -> 2.28655435304153
  • Example #3:

     z2pct(1); # -> 84.1334538939805

This function is not exported.

Arguments ('*' denotes required arguments):

  • $z* => float

Return value: (any)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-StatisticsUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-StatisticsUtils.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-App-StatisticsUtils/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.