App-StatisticsUtils

 view release on metacpan or  search on metacpan

script/pct2z  view on Meta::CPAN

#!perl

# Note: This script is a CLI for Riap function /App/StatisticsUtils/pct2z
# and generated automatically using Perinci::CmdLine::Gen version 0.498

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2021-02-21'; # DATE
our $DIST = 'App-StatisticsUtils'; # DIST
our $VERSION = '0.002'; # VERSION

use 5.010001;
use strict;
use warnings;

use Perinci::CmdLine::Any;

my $cmdline = Perinci::CmdLine::Any->new(
    url => "/App/StatisticsUtils/pct2z",
    program_name => "pct2z",
    read_config => 0,
    read_env => 0,
);

$cmdline->run;

# ABSTRACT: Convert percentile to z-score (for standard normal distribution)
# PODNAME: pct2z

__END__

=pod

=encoding UTF-8

=head1 NAME

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

=head1 VERSION

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

=head1 SYNOPSIS

Usage:

 % pct2z [--format=name] [--json] [--(no)naked-res]
     [--page-result[=program]] [--view-result[=program]] <pct>

Examples:

 % pct2z 50
 0

 % pct2z 5
 -1.644854

 % pct2z 90
 1.281552

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--pct>=I<s>*

=back

=head2 Output options

=over

=item B<--format>=I<s>

Choose output format, e.g. json, text.

Default value:

 undef

=item B<--json>

Set output format to json.

=item B<--naked-res>

When outputing as JSON, strip result envelope.

Default value:

 0

By default, when outputing as JSON, the full enveloped result is returned, e.g.:



( run in 0.885 second using v1.01-cache-2.11-cpan-39bf76dae61 )