SurvDC.GoF: Calculate the goodness-of-fit test statistic

View source: R/SemiParametricCopulawithoutCovariates.R

SurvDC.GoFR Documentation

Calculate the goodness-of-fit test statistic

Description

Calculate the goodness-of-fit test statistic

Usage

SurvDC.GoF(
  yobs,
  delta,
  copfam,
  margins,
  ktau,
  parapar,
  cure = FALSE,
  curerate = NULL
)

Arguments

yobs

a numeric vector that indicated the observed survival times.

delta

a numeric vector that stores the right-censoring indicators.

copfam

a character string that specifies the copula family.

margins

a list used to define the distribution structures of both the survival and censoring margins.

ktau

Kendall's tau.

parapar

parametric parameters.

cure

a logical value that indicates whether the existence of a cured fraction should be considered.

curerate

value of cure rate.


depCensoring documentation built on April 4, 2025, 1:52 a.m.