calculateCoxSnellResiduals | R Documentation |
Computes Cox-Snell residuals defined as -log(1 - F(y)), where F is the cumulative distribution function.
calculateCoxSnellResiduals(y, params, family = "gkw")
y |
NumericVector of observations. |
params |
NumericMatrix with parameters (columns: alpha, beta, gamma, delta, lambda). |
family |
String specifying the distribution family (default: "gkw"). |
NumericVector of Cox-Snell residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.