Statistical Analysis of Discrete‐Event Systems