Computes Cox-Snell residuals defined as -log(1 - F(y)), where F is the cumulative distribution function.
calculateCoxSnellResiduals(y, params, family = "gkw")
NumericVector of Cox-Snell residuals.
NumericVector of observations.
NumericMatrix with parameters (columns: alpha, beta, gamma, delta, lambda).
String specifying the distribution family (default: "gkw").