Statistical methods in research and production