Computer interpretation of ventilatory studies