calculateCoxSnellResiduals: Calculate Cox-Snell Residuals

View source: R/RcppExports.R

calculateCoxSnellResidualsR Documentation

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")

Arguments

y

NumericVector of observations.

params

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

family

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

Value

NumericVector of Cox-Snell residuals.


gkwreg documentation built on April 16, 2025, 1:10 a.m.