Statistics for Quantum Fields and Strings