Numerical study of the energy loss function in the Anderson lattice model