Statist calculates a statistical summary for a given field of the attribute table, which include minimum, maximum, mean, standard deviation, etc… It also shows and allows to explore a frequency distribution histogram of values from the field.


Plugin published in my repository.


Once installed and enabled, Statist creates a submenu in the QGIS "Vector" menu and also adds its button to the "Vector" toolbar. If you don't see the button, please make sure that the "Vector" toolbar is enabled.

Clicking on the plugin’s button or menu item will open the Statist dialog. You can also use Shift + S shortcut to open it.

Statist dialog

Select layer from "Layer to analyse" combobox. If there are any selected features in the layer, the "Use only selected features" checkbox will be checked automatically; uncheck it if you want to analyse all features.

Select the field you interested in from the "Target field" combobox.

Finally press OK to start calculation.

Note that time needed to calculate the statistical summary depends on the number of features to process and the speed of your computer.

Calculation results will be shown in a table. The statistical summary can be copied to the clipboard pressing Ctrl + C in the plugin dialog.

In addition to the statistical summary, a frequency distribution histogram will be created. The number of histogram bins is determined automatically using Sturges and Freedman Diaconis estimators. Use the toolbar above the frequency distribution histogram to explore it. You can pan, zoom in/out, toggle grid, etc… Also, the histogram can be exported into one of the following formats: PNG, PS, EPS, SVG, and PDF.

Statistics calculated

Please refer to the matplotlib documentation for more details about using toolbar.

Reporting bugs

Please report bugs via bugtracker.