HQM2.0 package

Superefficient Estimation of Future Conditional Hazards Based on Marker Information

auc.hqm

AUC for the High Quality Marker estimator

b_selection_index_optim

Cross validation index parameter selection

b_selection_prep_g

Preparations for bandwidth selection

b_selection

Cross validation bandwidth selection

Boot.hqm

Indexed HQM hazard estimator for one bootstrap sample

Boot.HRandIndex.param

Bootstrap Estimation of Hazard Function and Index Parameters

bs.hqm

Brier score for the High Quality Marker estimator

BwB.HRandIndex.param

Bootstrap Estimation of Hazard Function and Index Parameters

Conf_bands

Confidence bands

dataset_split

Split dataset for K-fold cross validation

dij

D matrix entries, used for the implementation of the local linear kern...

Epan

Epanechnikov kernel

Exposure_Occurence

Occurance and Exposure on grids

g_xt

Computation of a key component for wild bootstrap

get_alpha

Marker-only hazard rate

get_h_x

Local constant future conditional hazard rate estimator

get_h_xll

Local linear future conditional hazard rate estimator

h_xt_vec

Hqm estimator on the marker grid

h_xt

Local constant future conditional hazard rate estimation at a single t...

h_xtll

Local linear future conditional hazard rate estimation at a single tim...

index_optim

Indexing parameter objective function

Kernels

Classical (unmodified) kernel and related functionals

lin_interpolate

Linear interpolation

llK_b

Local linear kernel

llweights

Local linear weight functions

make_sf

Survival function from a hazard

Pivot.Index.CIs

Compute Pivot Pointwise Confidence Intervals for the Indexed Hazard Ra...

prep_boot

Precomputation for wild bootstrap

prep_cv

Prepare for Cross validation bandwidth selection

prep_cv2

Prepare for Cross validation index parameter selection

Q1

Bandwidth selection score Q1

Quantile.Index.CIs

Compute Quantile Pointwise Confidence Intervals for for the Indexed Ha...

R_K

Bandwidth selection score R

Sim.True.Hazard

Simulated true hazard (bootstrap average)

SingleIndCondFutHaz

Local linear future conditional hazard estimator (wrapper)

StudentizedBwB.Index.CIs

Compute Studentized Double Bootstrap Pointwise Confidence Intervals fo...

to_id

Event data frame

Provides univariate and indexed (multivariate) nonparametric smoothed kernel estimators for the future conditional hazard rate function when time-dependent covariates are present, a bandwidth selector for the estimator's implementation and pointwise and uniform confidence bands. Methods used in the package refer to Bagkavos, Isakson, Mammen, Nielsen and Proust-Lima (2025) <doi:10.1093/biomet/asaf008>.

  • Maintainer: Dimitrios Bagkavos
  • License: GPL (>= 2)
  • Last published: 2026-01-08