Statistics for Theory and applications of entangled photons