Uncertainty measurement for complex event prediction in safety-critical systems