Statistics for Electromagnetic simulations