Statistical Methods in Computational Electromagnetism