Planning the size and duration of a clinical trial studying the time to some critical event.