macro resilience analysis