[2205.11366] Statistical inference as Green's functions