The principles of vital statistics