Statistics for Finite-temperature quantum field theory and the structure functions of the nucleon