Learn R Programming

depCensoring (version 0.1.8)

Statistical Methods for Survival Data with Dependent Censoring

Description

Several statistical methods for analyzing survival data under various forms of dependent censoring are implemented in the package. In addition to accounting for dependent censoring, it offers tools to adjust for unmeasured confounding factors. The implemented approaches allow users to estimate the dependency between survival time and dependent censoring time, based solely on observed survival data. For more details on the methods, refer to Deresa and Van Keilegom (2021) , Czado and Van Keilegom (2023) , Crommen et al. (2024) , Deresa and Van Keilegom (2024) , Willems et al. (2025) , Ding and Van Keilegom (2025) and D'Haen et al. (2025) .

Copy Link

Version

Install

install.packages('depCensoring')

Monthly Downloads

348

Version

0.1.8

License

GPL-3

Maintainer

Negera Wakgari Deresa

Last Published

November 6th, 2025

Functions in depCensoring (0.1.8)

Likelihood.Profile.Kernel

Calculate the profiled likelihood function with kernel smoothing
SolveH

Estimate a nonparametric transformation function
ParamCop

Estimation of a parametric dependent censoring model without covariates.
SearchIndicate

Search function
QRdepCens

Estimate the model of D'Haen et al. (2025).
SolveScore

Estimate finite parameters based on score equations
SolveL

Cumulative hazard function of survival time under dependent censoring
SolveLI

Cumulative hazard function of survival time under independent censoring
ScoreEqn

Score equations of finite parameters
Parameters.Constraints

Generate constraints of parameters
SolveHt1

Estimating equation for Ht1
copdist.Archimedean

The distribution function of the Archimedean copula
TCsim

Function to simulate (Y,Delta) from the copula based model for (T,C).
control.arguments

Prepare initial values within the control arguments
SurvDC.GoF

Calculate the goodness-of-fit test statistic
SurvFunc.KM

Estimated survival function based on Kaplan-Meier estimator
SurvMLE

Maximum likelihood estimator for a given parametric distribution
SurvFunc.CG

Estimated survival function based on copula-graphic estimator (Archimedean copula only)
boot.nonparTrans

Nonparametric bootstrap approach for a Semiparametric transformation model under dependent censpring
SurvMLE.Likelihood

Likelihood for a given parametric distribution
SurvDC

Semiparametric Estimation of the Survival Function under Dependent Censoring
estimate.cmprsk

Estimate the competing risks model of Willems et al. (2025).
ktau.to.coppar

Convert the Kendall's tau into the copula parameter
generator.Archimedean

The generator function of the Archimedean copula
fitIndepCens

Fit Independent Censoring Models
coppar.to.ktau

Convert the copula parameter the Kendall's tau
cophfunc

The h-function of the copula
fitDepCens

Fit Dependent Censoring Models
loglike.clayton.unconstrained

Log-likelihood function for the Clayton copula.
loglike.frank.unconstrained

Log-likelihood function for the Frank copula.
loglike.indep.unconstrained

Log-likelihood function for the independence copula.
optimlikelihood

Fit the dependent censoring models.
pi.surv

Estimate the model of Willems et al. (2025).
summary.indepFit

Summary of indepCensoringFit object
liver

Liver cirrhosis data set.
summary.depFit

Summary of depCensoringFit object
parafam.trunc

Obtain the adjustment value of truncation
parafam.d

Obtain the value of the density function
parafam.p

Obtain the value of the distribution function
loglike.gaussian.unconstrained

Log-likelihood function for the Gaussian copula.
loglike.gumbel.unconstrained

Log-likelihood function for the Gumbel copula.
Likelihood.Semiparametric

Calculate the semiparametric version of profiled likelihood function
Bvprob

Compute bivariate survival probability
Chronometer

Chronometer object
Likelihood.Profile.Solve

Solve the profiled likelihood function
Likelihood.Parametric

Calculate the likelihood function for the fully parametric joint distribution
LongNPT

Change H to long format
Distance

Distance between vectors
NonParTrans

Fit a semiparametric transformation model for dependent censoring
Kernel

Calculate the kernel function