Learn R Programming

gkwreg (version 1.0.7)

calculateCoxSnellResiduals: Calculate Cox-Snell Residuals

Description

Computes Cox-Snell residuals defined as -log(1 - F(y)), where F is the cumulative distribution function.

Usage

calculateCoxSnellResiduals(y, params, family = "gkw")

Value

NumericVector of Cox-Snell residuals.

Arguments

y

NumericVector of observations.

params

NumericMatrix with parameters (columns: alpha, beta, gamma, delta, lambda).

family

String specifying the distribution family (default: "gkw").