An Introduction to
Statistics with Klong


This is an introduction to the statistics module of Klong. It assumes that the reader already is familiar with basic concepts of statistics, such as the mean, variance, probability distributions, probability functions, regression, and hypothesis testing. Some keywords in the text link to entries of NMH's Incomplete Dictionary of Statistics, so they can be looked up when needed.

Klong is an array language, like APL, J, and K. If you are not familiar with it, have a look at the documentation.

The statistics module is called nstat, but since visualization is an important part of statistics, we also load the function plotter (nplot) and the interactive plotter interface (vplot).


In the following code samples, user input is indented and interpreter output is not indented, e.g.:


In the sample programs presented in this text, a common configuration file for setting up plotter parameters is used.