Estimates the mean and standard deviation for right-censored survival data.
Uses the afthd
package if available (placeholder), else survival
, and
otherwise falls back to the naive mean among observed events.
censored_info(y, status)
A list with elements:
Estimated mean of survival times.
Estimated standard deviation of survival times.
Numeric vector of (log-transformed) survival times.
Numeric vector; event indicator (1 = event, 0 = censored).