Department of Ecology & Evolution, Biology Building, UNIL, CH-1015 LAUSANNE, Switzerland
Tel :+41(0)21 692 4160 (sec) ; Fax:+41(0)21 692 4265



A package for the statistical software R developed by Jérôme Goudet.


HIERFSTAT is a package for R allowing to estimate F-statistics and variance components with the methods of moments for any number of levels in a hierarchy. The package also allows to test the significance of population differentiation using the likelihood ratio G-statistic or the variance components. The current version (0.04-10) was made available on the web 2013-04-10. A short note describing the package is available here.

The correct citation for this package is:

Goudet, J. (2005) Hierfstat, a package for R to compute and test hierarchical F-statistics. Molecular Ecology Notes. 5: 184-186 [pdf]. Latest version available at .

To install it, you first need to have R installed on your computer, then to download the zip file below (please register to be kept informed of updates). Once this is done, from R, packages menu, click on install package from local zip file and pick the file you've just downloaded. Then you just have to load the package, and read the documentation. The distribution is also available from CRAN.

Happy computing.

Download the HIERFSTAT package

version 0.04-10 For Windows

zipped file for use with windows only

version 0.04-10 for all systems

gzipped file for use with all systems [install.packages("hierfstat_0.04-10.tar.gz",type="source")]

Register as a user


Email address:



last modified on 2013-07-07 ; contact webmaster