early warning analysis