.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Distributions 3pm" .TH Distributions 3pm "2021-01-05" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Statistics::Distributions \- Perl module for calculating critical values and upper probabilities of common statistical distributions .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use Statistics::Distributions; \& \& $chis=Statistics::Distributions::chisqrdistr (2,.05); \& print "Chi\-squared\-crit (2 degrees of freedom, 95th percentile " \& ."= 0.05 level) = $chis\en"; \& \& $u=Statistics::Distributions::udistr (.05); \& print "u\-crit (95th percentile = 0.05 level) = $u\en"; \& \& $t=Statistics::Distributions::tdistr (1,.005); \& print "t\-crit (1 degree of freedom, 99.5th percentile = 0.005 level) " \& ."= $t\en"; \& \& $f=Statistics::Distributions::fdistr (1,3,.01); \& print "F\-crit (1 degree of freedom in numerator, 3 degrees of freedom " \& ."in denominator, 99th percentile = 0.01 level) = $f\en"; \& \& $uprob=Statistics::Distributions::uprob (\-0.85); \& print "upper probability of the u distribution (u = \-0.85): Q(u) " \& ."= 1\-G(u) = $uprob\en"; \& \& $chisprob=Statistics::Distributions::chisqrprob (3,6.25); \& print "upper probability of the chi\-square distribution (3 degrees " \& ."of freedom, chi\-squared = 6.25): Q = 1\-G = $chisprob\en"; \& \& $tprob=Statistics::Distributions::tprob (3,6.251); \& print "upper probability of the t distribution (3 degrees of " \& ."freedom, t = 6.251): Q = 1\-G = $tprob\en"; \& \& $fprob=Statistics::Distributions::fprob (3,5,.625); \& print "upper probability of the F distribution (3 degrees of freedom " \& ."in numerator, 5 degrees of freedom in denominator, F = 6.25): " \& ."Q = 1\-G = $fprob\en"; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This Perl module calculates percentage points (5 significant digits) of the u (standard normal) distribution, the student's t distribution, the chi-square distribution and the F distribution. It can also calculate the upper probability (5 significant digits) of the u (standard normal), the chi-square, the t and the F distribution. These critical values are needed to perform statistical tests, like the u test, the t test, the F test and the chi-squared test, and to calculate confidence intervals. .PP If you are interested in more precise algorithms you could look at: StatLib: http://lib.stat.cmu.edu/apstat/ ; Applied Statistics Algorithms by Griffiths, P. and Hill, I.D., Ellis Horwood: Chichester (1985) .SH "BUGS" .IX Header "BUGS" This final version 1.02 has been released after more than one year without a bug report on the previous version 0.07. Nevertheless, if you find any bugs or oddities, please do inform the author. .SH "INSTALLATION" .IX Header "INSTALLATION" See perlmodinstall for information and options on installing Perl modules. .SH "AVAILABILITY" .IX Header "AVAILABILITY" The latest version of this module is available from the Distribution Perl Archive Network (\s-1CPAN\s0). Please visit http://www.cpan.org/ to find a \s-1CPAN\s0 site near you or see http://www.cpan.org/authors/id/M/MI/MIKEK/ . .SH "AUTHOR" .IX Header "AUTHOR" Michael Kospach .PP Nice formating, simplification and bug repair by Matthias Trautner Kromann .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright 2003 Michael Kospach. All rights reserved. .PP This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. .SH "SEE ALSO" .IX Header "SEE ALSO" Statistics::ChiSquare, Statistics::Table::t, Statistics::Table::F, \fBperl\fR\|(1).