The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
summary() has a new argument times to show
the cumulative baseline at chosen time points instead of tau/4, tau/2
and tau, e.g. summary(fit, times = c(365, 730)).plot() for the results of predict()
(class "wnpmle_pred", still a data frame): one curve per
row of newdata with pointwise confidence bands, grey shades
by default, legend in the emptiest corner; add = TRUE adds
a second model as dashed lines, xscale = 365.25 shows days
in years. Colours, line types, bands, labels and legend position can be
changed.wnpmle_fit() has a new argument r for the
logarithmic model (model = "log", r = 1 is the proportional
odds model); rho is now only the Box-Cox parameter. Old
code with model = "log", rho = ... still works. Giving
r with model = "boxcox" is an error.wnpmle_fit(..., type = "cmprsk").
Weighted NPMLE for the subdistribution of a competing risk (Bellach,
Kosorok, Rüschendorf and Fine, 2019) in the Box-Cox and logarithmic
transformation models (Box-Cox with rho = 1 is the
Fine-Gray model), with inverse-Fisher, sandwich and censoring-corrected
sandwich standard errors. predict() returns cumulative
incidences with confidence limits.TIC() computes Takeuchi’s information criterion,
which replaces the AIC penalty by the trace of the inverse information
times the censoring-corrected meat of the sandwich.
plot_tic() plots the TIC-corrected log-likelihood over the
transformation parameter, in the same layout as
plot_loglik(). Both work for recurrent events and competing
risks; the penalty is stored in the fit, so no second fit is
needed.plot_loglik() and plot_tic() draw AIC and
TIC relative to their optimum in the layout of Figure 2 of Bellach and
Kosorok (2026): logarithmic models to the left and Box-Cox models to the
right of zero, AIC dashed with open circles, TIC solid with filled
circles, smooth curves (natural splines through the grid points) and a
dotted line at -1 (a difference of 2). layout = "panels"
shows the two families side by side. Both functions return an object of
class "wnpmle_profile"; plot() redraws it
without refitting. For competing risks the printed table says
“Fine-Gray” instead of “Ghosh-Lin”, and the plots no longer fail in a
small RStudio plot pane.readmission_prep() now takes all covariates at baseline
(the first record of each patient), as in Bellach and Kosorok (2026),
and no longer adds a censoring row when the follow-up of a surviving
patient ends with a readmission. Results for the readmission data
therefore differ slightly from version 0.1.3.logLik(), AIC() and BIC() now
count the baseline jumps as parameters (df = number of
coefficients + number of jumps). Differences between models fitted to
the same data are unchanged.wnpmle_fit(). The first
call is therefore as fast as later ones, and on Windows and macOS the
CRAN binary packages need no compiler (Rtools / Xcode). The option
wnpmle.cache_dir and the environment variable
WNPMLE_CACHE_DIR are no longer needed and are ignored.src/TMB/ (listed in src/TMB/README.md);
src/wnpmle.cpp connects the model names to these files.
Results are unchanged.se = "sandwich_adj", the default) now follows the formula
in Bellach and Kosorok (2026, Appendix B.3) exactly. Two coding issues
in the correction term were fixed: the correction is now subtracted from
the subject-wise scores (which are on the negative log-likelihood
scale), and two internal matrices are now filled in the right order. In
the settings checked, the effect on the standard errors was in the
fourth decimal place or smaller.inst/tmb/), which makes
se = "sandwich" and se = "sandwich_adj" much
faster for larger data sets.tools::R_user_dir("wnpmle", "cache")), so they are compiled
only once per installed version instead of once per session. A different
folder can be set with options(wnpmle.cache_dir = ...) or
the environment variable WNPMLE_CACHE_DIR, e.g. to share
one compiled copy between cluster jobs.crossprod(),
which uses much less memory.readmission_prep(): hospital
readmissions of 403 colorectal cancer patients with death as terminal
event (Gonzalez et al., 2005; copy of the readmission data
from frailtypack). The vignette now uses these data as its main example,
including model selection with plot_loglik(). The bladder
quick start now compares the Ghosh-Lin fit with the estimates reported
by Ghosh and Lin (2002).predict() now handles factor covariates (same coding as
in the fit), and uses the correct limit log(1 + x) for the
Box-Cox model at rho = 0.summary() now returns an object that is printed once
(before, printing the result of summary() showed the
coefficients twice).plot_loglik(): wider default PDF (width,
height arguments), titles no longer overlap, and the points
rho = 1 and r = 1 are labelled."sandwich_adj" is listed as the default
for se; references now cite the arXiv preprint of Bellach
and Kosorok (2026) with its DOI, and DOIs were added to all references
where available.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.