Basic principles for compiling statistics