Statis...Zscore(3pm)
okay bestie, welcome to the manual page for Statis...Zscore(3pm) β it's giving statistics, it's giving Perl, it's giving z-scores. no cap. π
β¨ NAME β¨
Statistics::Zscoreβ Simple scoring module that uses statistics STANDARD SCORE.
π SYNOPSIS π
use Statistics::Zscore;
my $z = Statistics::Zscore->new;
# This module calculates statistics STANDARD SCORE that is called 'z-score'.
# It returns array reference of z-score.
my $zscore = $z->standardize( \@array );
# Furthermore, you can use combine method to get a score
# which is a linear combination value of some z-scores with arbitrary weight set.
# It returns hash reference.
my $result = $z->combine(
{
data => {
yamada => [ 95, 33, 65, 84 ],
suzuki => [ 75, 45, 80, 78 ],
tanaka => [ 44, 72, 84, 65 ],
},
weight => [ 0.25, 0.25, 0.4, 0.1 ],
data_num => 4
}
);
πΈ DESCRIPTION πΈ
so like, Statistics::Zscore is a scoring module that uses statistics STANDARD SCORE. periodt. π
in statistics, a standard score is a dimensionless quantity β you get it by subtracting the population mean from an individual raw score and then dividing that difference by the population standard deviation. this whole glow-up process is called standardizing or normalizing. β¨
and bestie, standard scores also go by: z-values, z-scores, normal scores, and standardized variables. iykyk.
--from wiki pedia ( http://en.wikipedia.org/wiki/Standard_score )
π METHOD π
π new()
constructor. literally just makes a new object, slay.
π standardize(\@array, {...opitons...})
Receives array reference, and returns z-score's array reference. the options are scale, plus and decimal. (defaults are scale => 1, plus => 0 and decimal => undef ) π«Ά
it work inside.. like this:
score = (value - mean) / stddev * scale + plus
score = sprintf( decimal, score);
π combine(\%hash)
Receives hash reference, and returns z-score's hash reference. %hash includes scale, plus and decimal options. (see above) π
π AUTHOR π
takeshi miki <miki@cpan.org>
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π SEE ALSO π
(no entries β that's the whole vibe)
this page is from perl v5.38.2, dated 2024-05-21, and it's the Statis...Zscore(3pm) manpage. bye bestie! π
π¦ where this page comes from
- debian trixie: libstatistics-zscore-perl 0.00002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libstatistics-zscore-perl 0.00002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libstatistics-zscore-perl 0.00002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms