|
|
|
|
||
|
DEFINITION MODULE StatAuxFuncs; (******************************************************************* Module StatAuxFuncs (Version 1.0) Copyright (c) 2002-2006 by Dimitrios Gyalistras and ETH Zurich. Purpose Functions needed for statistical hypothesis testing. Remarks Based on Modula-2 implementation of various "Numerical Recipees" routines by Klara Vancso. Programming o Design Dimitrios Gyalistras 10/02/2002 o Implementation Dimitrios Gyalistras 10/02/2002 ETH Zurich Systems Ecology CHN E 35.1 Universitaetstrasse 16 8092 Zurich SWITZERLAND URLs: <mailto:RAMSES@env.ethz.ch> <http://www.sysecol.ethz.ch> <http://www.sysecol.ethz.ch/SimSoftware/RAMSES> Last revision of definition: 10/02/2002 DG *******************************************************************) PROCEDURE GammLn(xx: LONGREAL): LONGREAL; (* Returns the value ln["Gamma"(xx)] for xx>0. Full accuracy is obtained for xx > 1. For 0 < xx <1, the reflection formula (6.1.4) can be used first. *) PROCEDURE BetaI(a, b, x: LONGREAL): LONGREAL; (* Returns the incomplete beta function Ix(a, b). *) PROCEDURE BetaCF(a, b, x: LONGREAL): LONGREAL; (* Continued fraction for incomplete beta function, used by BetaI. *) PROCEDURE FInv( f: LONGREAL; df1, df2: INTEGER ): LONGREAL; (* Returns the value x for which the F-distribution function with df1 and df2 degrees of freedom, i.e. F(x, df1, df2), assumes the value f. *) END StatAuxFuncs.
|
||
|
|
|