Harper J F
Comput Methods Programs Biomed. 1985 Nov;21(2):127-9. doi: 10.1016/0169-2607(85)90073-2.
A computer program to calculate precise solutions (exact to the limit of computer accuracy) for the cumulative distribution function of the statistical t and F distributions is detailed. A routine that makes iterative calls of this algorithm to calculate precisely the inverse function of these distributions by successive approximation is also provided. The program provided yields precise levels of probability confidence for both Fisher's F and Student's t tests, and the inverse calculation of critical values given p. It is written in a subset of BASIC which should run on any small computer, requiring only 1538 bytes on the Commodore 64.
详细介绍了一个用于计算统计t分布和F分布累积分布函数精确解(精确到计算机精度极限)的计算机程序。还提供了一个例程,该例程通过逐次逼近对该算法进行迭代调用,以精确计算这些分布的反函数。所提供的程序为费舍尔F检验和学生t检验产生精确的概率置信水平,并根据p值对临界值进行反算。它是用BASIC语言的一个子集编写的,应该可以在任何小型计算机上运行,在Commodore 64上只需要1538字节。