Add survival statistics function