Skip to content

coxmnar

0.1.0

Cox Regression with Missing not at Random Failure Indicators

0packages depend
55downloads / year
81.6%test coverage
13/13checks pass

Overview

About
Maintained by Shikhar TyagiFirst published 2026-07-311 releasesCRAN page ↗

Implements estimation for the Cox (1972, 1975) doi:10.1111/j.2517-6161.1972.tb00899.x doi:10.1093/biomet/62.2.269 proportional hazards model when the failure indicator (cause of failure) is missing not at random (MNAR), following the two adjusted imputation-based estimating equations of Liu and Liu (2026) doi:10.1007/s11222-026-10857-1. Also provided for comparison are the full-data partial-likelihood estimator of Andersen and Gill (1982) doi:10.1214/aos/1176345976, the complete-case estimator, and the missing-at-random imputation estimator of Liu and Wang (2010, Statistica Sinica, 20, 1125-1142). The probability models for the failure indicator and for the missingness mechanism are estimated jointly by maximum likelihood following Sun, Xie, and Liang (2013) doi:10.1007/s11425-012-4492-x, and a Nadaraya-Watson kernel-smoothed estimator of the missingness propensity is constructed following Qiu, Chen, and Zhou (2015) doi:10.1016/j.spl.2014.12.006. Both an asymptotic (sandwich-type) variance estimator and a nonparametric bootstrap variance estimator are provided. When failure indicators are fully observed the estimators reduce algebraically to the classical Cox partial-likelihood estimator.

Install

Health

CRAN checks
13OK
Slowest check: 6.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.14
81.6%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-02
    8 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-08-01
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 164 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
50%

Downloads

55
CRAN downloads in the past year
Rank #24,685 · ~0/day · ~5/mo
Daily download trend is not available in this view yet.
Also on1 r2u

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (3)
survivalstatsRdpack
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-07-31 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-31
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("coxmnar")
Tyagi, S., Pandey, A., Singh, B., & Tripathi, V. (2026). coxmnar: Cox Regression with Missing not at Random Failure Indicators (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.coxmnar

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for coxmnar version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-08. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-08, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy