Two-stage analysis