Related Experiment Video
Updated: Feb 1, 2026

Topographical Estimation of Visual Population Receptive Fields by fMRI
Published on: February 3, 2015
Implementation of a Stirling number estimator enables direct calculation of population genetics tests for large
1Division of Infectious Diseases, Department of Medicine, Yong Loo Lin School of Medicine, National University of Singapore, Singapore, Singapore.
Motivation:
Stirling numbers enter into the calculation of several population genetics statistics, including Fu's Fs. However, as alignments become large (≥50 sequences), the Stirling numbers required rapidly exceed the standard floating point range. Another recursive method for calculating Fu's Fs suffers from floating point underflow issues.
Results:
I implemented an estimator for Stirling numbers that has the advantage of being uniformly applicable to the full parameter range for Stirling numbers. I used this to create a hybrid Fu's Fs calculator that accounts for floating point underflow. My new algorithm is hundreds of times faster than the recursive method. This algorithm now enables accurate calculation of statistics such as Fu's Fs for very large alignments.
Availability And Implementation:
An R implementation is available at http://github.com/swainechen/hfufs.
Supplementary Information:
Supplementary data are available at Bioinformatics online.
Related Concept Videos
What is Population Genetics?
Estimating Population Standard Deviation
Estimating Population Mean with Known Standard Deviation
The confidence interval estimate will have the form as follows:
(point estimate - error bound, point estimate +...
Confidence Interval for Estimating Population Mean
A confidence interval for the mean is a range of values that provides an estimate of the population mean. As the...
Distributions to Estimate Population Parameter
Testing a Claim about Mean: Known Population SD
Estimating a population mean requires the samples to be distributed normally. The data should be collected from the randomly selected samples having no sampling bias. The sample size needed to be higher than 30, and most importantly, the population standard deviation should be already known.
In most realistic situations, the population standard deviation is often unknown, but in rare circumstances, when it...

