Statistical analysis in electromagnetic compatibility