Skip to content

cdnbcr

Correlated Destructive Negative Binomial Cure Rate Model

v1.1.1 · Mar 9, 2026 · GPL (>= 3)

Description

Provides tools for modeling time-to-event data with a cure fraction under correlated destructive negative binomial cure rate models. The models assume multiple latent competing causes with possible dependence and allow for elimination (inactivation) of some initial causes. Estimation is performed via an Expectation-Maximization algorithm, and diagnostic tools based on Cox-Snell residuals are provided.

Downloads

568

Last 30 days

7111th

568

Last 90 days

568

Last year

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 2, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 31, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cdnbcr)
  > 
  > test_check("cdnbcr")
  Saving _problems/test-cdnbcr_functions-94.R
  Saving _problems/test-cdnbcr_functions-
...[truncated]...
s ────────────────────
  Expected `sum(is.nan(pcdnbcr(x, theta, phi, p, alpha, mu, sigma)))` to equal 4.
  Differences:
    `actual`: 6.0
  `expected`: 4.0
  
  
  [ FAIL 4 | WARN 22 | SKIP 0 | PASS 68 ]
  Error:
  ! Test failures.
  Execution halted
OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies Formula pracma cdnbcr

Version History

new 1.1.1 Mar 10, 2026