QualStat is a simple program to calculate errors of quality measurements, such as MAD, MADtr, r2 and PI. It does so by a parametric bootstrap-procedure, assuming that all the input data are normal distributed. For data that is not normal distributed, alternative exists, but cannot be handled by this program.

The code is located in /away/bio/Qualstat and the executable is located in /away/bio/Bin/Qualstat

The program is compiled with gfortran using command make all

Samuel Genheden, 2011-2012


The program requires, and will ask for, three inputs:


The program has the possibility to calculate the following quality measurements: Each of these measurements can be selected by the program by giving the abbreviation in parenthesis.
For each of these quality measurements, the program will calculate the following output:

Verbose input and output

If the program is started with the flag -v (QualStat -v) the program will ask for:

And the program will write out the following additional statistics.

The qualstat_series.py utility

qualstat_series.py is a Python script that is useful to calculate the quality measurements for a series of predictions.

The program is run by typing:

The script creates appropriate input to QualStat for each prediction and it assumes that the standard deviation of the mean was the specified uncertainity. It will print out the biased estimate and standard deviation of each quality measurement.

Note: the program contains some more advanced options as well, but these are of experimental character and not well tested. Type qualstat_series.py without any arguments to get a short help text.


The program is written in Fortran90 and its compilation has been tested only with gfortran. The code does not depend on any external functions that is not part of standard Fortran90.

It is possible, and quite easy, to extend the program, so that it can calculate other quality measurements. Look in the quality.f90 file for further instructions.

The program can be compiled by
make clean
make all