They would have looked at the failure rate of the AoA sensor and the failure rate of the recovery procedure and the fact that there had been one fatal crash. That gave them a reasonable estimate of the risk. Based on that analysis they should have grounded the plane, but Boeing apparently convinced them that with pilot awareness of the problem that the recovery procedure would be more effective. Unfortunately that was overly optimistic.