{
  "_id": "6a13f4f4acfb0bcc41d32b23",
  "Package": "HQM",
  "Type": "Package",
  "Title": "Superefficient Estimation of Future Conditional Hazards Based on\nMarker Information",
  "Version": "2.1",
  "Authors@R": "c(person(given = \"Dimitrios\",\nfamily = \"Bagkavos\",\nrole = c(\"aut\", \"cre\"),\nemail = \"dimitrios.bagkavos@gmail.com\"),\nperson(given = \"Alex\",\nfamily = \"Isakson\",\nrole =  \"ctb\"),\nperson(given = \"Enno\",\nfamily = \"Mammen\",\nrole = \"ctb\"),\nperson(given = \"Jens\",\nfamily = \"Nielsen\",\nrole = \"ctb\"),\nperson(given = \"Cecile\",\nfamily = \"Proust-Lima\",\nrole = \"ctb\")\n)",
  "Maintainer": "Dimitrios Bagkavos <dimitrios.bagkavos@gmail.com>",
  "Description": "Provides univariate and indexed (multivariate)\nnonparametric smoothed kernel estimators for the future\nconditional hazard rate function when time-dependent covariates\nare present, a bandwidth selector for the estimator's\nimplementation and pointwise and uniform confidence bands.\nMethods used in the package refer to Bagkavos, Isakson, Mammen,\nNielsen and Proust-Lima (2025) <doi:10.1093/biomet/asaf008>.",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "no",
  "RoxygenNote": "6.1.0",
  "Packaged": {
    "Date": "2026-05-25 07:02:43 UTC",
    "User": "root"
  },
  "Author": "Dimitrios Bagkavos [aut, cre], Alex Isakson [ctb], Enno Mammen\n[ctb], Jens Nielsen [ctb], Cecile Proust-Lima [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-03-26 22:52:46 UTC",
  "RemoteUrl": "https://github.com/cran/HQM",
  "RemoteRef": "HEAD",
  "RemoteSha": "7d3e4eaaab866b58a9f9d0228dfca09d0d9d606f",
  "MD5sum": "b8c90612c41b963ddd6f27828c34a968",
  "_user": "cran",
  "_type": "src",
  "_file": "HQM_2.1.tar.gz",
  "_fileid": "9130752f0d21b8762a07f2e8c3f8a3f5c4ca42423bd444140491edf86fb8ceb6",
  "_filesize": 565264,
  "_sha256": "9130752f0d21b8762a07f2e8c3f8a3f5c4ca42423bd444140491edf86fb8ceb6",
  "_created": "2026-05-25T07:02:43.000Z",
  "_published": "2026-05-25T07:06:28.533Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77670758053,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193360930"
    },
    {
      "job": 77670758028,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193356575"
    },
    {
      "job": 77670379274,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193318577"
    },
    {
      "job": 77670758016,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193351621"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26387853784",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/HQM",
  "_commit": {
    "id": "7d3e4eaaab866b58a9f9d0228dfca09d0d9d606f",
    "author": "Dimitrios Bagkavos <dimitrios.bagkavos@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1\n",
    "time": 1774565566
  },
  "_maintainer": {
    "name": "Dimitrios Bagkavos",
    "email": "dimitrios.bagkavos@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "pec",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "JM",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1",
      "date": "2025-12-03"
    },
    {
      "name": "2.0",
      "date": "2026-01-08"
    },
    {
      "name": "2.1",
      "date": "2026-03-26"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 551,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HQM"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HQM.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-09-12"
    },
    {
      "version": "0.1.1",
      "date": "2024-09-24"
    },
    {
      "version": "0.1.2",
      "date": "2024-12-04"
    },
    {
      "version": "0.1.4",
      "date": "2024-12-12"
    },
    {
      "version": "1.0",
      "date": "2025-02-01"
    },
    {
      "version": "1.1",
      "date": "2025-12-11"
    },
    {
      "version": "2.0",
      "date": "2026-01-08"
    },
    {
      "version": "2.1",
      "date": "2026-03-26"
    }
  ],
  "_exports": [
    "auc.hqm",
    "b_selection",
    "b_selection_index_optim",
    "b_selection_prep_g",
    "Boot.hqm",
    "Boot.hrandindex.param",
    "bs.hqm",
    "BwB.HRandIndex.param",
    "compute_iid_decomposition",
    "compute_iid_decomposition_competing_risks",
    "compute_iid_decomposition_survival",
    "Compute.iid.KM",
    "Conf_bands",
    "dataset_split",
    "dij",
    "Epan",
    "g_xt",
    "get_alpha",
    "get_h_x",
    "get_h_xll",
    "h_xt",
    "h_xt_vec",
    "h_xtll",
    "index_optim",
    "K_b",
    "K_b_mat",
    "lin_interpolate",
    "llK_b",
    "make_N",
    "make_Ni",
    "make_sf",
    "make_Y",
    "make_Yi",
    "Pivot.Index.CIs",
    "prep_boot",
    "prep_cv",
    "prep_cv2",
    "Q1",
    "Quantile.Index.CIs",
    "R_K",
    "Sim.True.Hazard",
    "SingleIndCondFutHaz",
    "sn.0",
    "sn.1",
    "sn.2",
    "StudentizedBwB.Index.CIs",
    "timeROC",
    "to_id",
    "xK_b"
  ],
  "_datasets": [
    {
      "name": "pbc2",
      "title": "Mayo Clinic Primary Biliary Cirrhosis Data",
      "object": "pbc2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "years",
        "status",
        "drug",
        "age",
        "sex",
        "year",
        "ascites",
        "hepatomegaly",
        "spiders",
        "edema",
        "serBilir",
        "serChol",
        "albumin",
        "alkaline",
        "SGOT",
        "platelets",
        "prothrombin",
        "histologic",
        "status2"
      ],
      "rows": 1945,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "auc.hqm",
      "title": "AUC for the High Quality Marker estimator",
      "topics": [
        "auc.hqm"
      ]
    },
    {
      "page": "b_selection",
      "title": "Cross validation bandwidth selection",
      "topics": [
        "b_selection"
      ]
    },
    {
      "page": "b_selection_index_optim",
      "title": "Cross validation index parameter selection",
      "topics": [
        "b_selection_index_optim"
      ]
    },
    {
      "page": "b_selection_prep_g",
      "title": "Preparations for bandwidth selection",
      "topics": [
        "b_selection_prep_g"
      ]
    },
    {
      "page": "Boot.hqm",
      "title": "Indexed HQM hazard estimator for one bootstrap sample",
      "topics": [
        "Boot.hqm"
      ]
    },
    {
      "page": "Boot.HRandIndex.param",
      "title": "Bootstrap Estimation of Hazard Function and Index Parameters",
      "topics": [
        "Boot.hrandindex.param"
      ]
    },
    {
      "page": "bs.hqm",
      "title": "Brier score for the High Quality Marker estimator",
      "topics": [
        "bs.hqm"
      ]
    },
    {
      "page": "BwB.HRandIndex.param",
      "title": "Bootstrap Estimation of Hazard Function and Index Parameters",
      "topics": [
        "BwB.HRandIndex.param"
      ]
    },
    {
      "page": "compute_iid_decomposition",
      "title": "IID decomposition for time-dependent AUC with IPCW",
      "topics": [
        "compute_iid_decomposition",
        "compute_iid_decomposition_competing_risks",
        "compute_iid_decomposition_survival"
      ]
    },
    {
      "page": "Compute.iid.KM",
      "title": "Compute.iid.KM function implementation",
      "topics": [
        "Compute.iid.KM"
      ]
    },
    {
      "page": "Conf_bands",
      "title": "Confidence bands",
      "topics": [
        "Conf_bands"
      ]
    },
    {
      "page": "dataset_split",
      "title": "Split dataset for K-fold cross validation",
      "topics": [
        "dataset_split"
      ]
    },
    {
      "page": "dij",
      "title": "D matrix entries, used for the implementation of the local linear kernel",
      "topics": [
        "dij"
      ]
    },
    {
      "page": "Epan",
      "title": "Epanechnikov kernel",
      "topics": [
        "Epan"
      ]
    },
    {
      "page": "g_xt",
      "title": "Computation of a key component for wild bootstrap",
      "topics": [
        "g_xt"
      ]
    },
    {
      "page": "get_alpha",
      "title": "Marker-only hazard rate",
      "topics": [
        "get_alpha"
      ]
    },
    {
      "page": "get_h_x",
      "title": "Local constant future conditional hazard rate estimator",
      "topics": [
        "get_h_x"
      ]
    },
    {
      "page": "get_h_xll",
      "title": "Local linear future conditional hazard rate estimator",
      "topics": [
        "get_h_xll"
      ]
    },
    {
      "page": "h_xt",
      "title": "Local constant future conditional hazard rate estimation at a single time point",
      "topics": [
        "h_xt"
      ]
    },
    {
      "page": "h_xt_vec",
      "title": "Hqm estimator on the marker grid",
      "topics": [
        "h_xt_vec"
      ]
    },
    {
      "page": "h_xtll",
      "title": "Local linear future conditional hazard rate estimation at a single time point",
      "topics": [
        "h_xtll"
      ]
    },
    {
      "page": "index_optim",
      "title": "Indexing parameter objective function",
      "topics": [
        "index_optim"
      ]
    },
    {
      "page": "Kernels",
      "title": "Classical (unmodified) kernel and related functionals",
      "topics": [
        "K_b",
        "K_b_mat",
        "xK_b"
      ]
    },
    {
      "page": "lin_interpolate",
      "title": "Linear interpolation",
      "topics": [
        "lin_interpolate"
      ]
    },
    {
      "page": "llK_b",
      "title": "Local linear kernel",
      "topics": [
        "llK_b"
      ]
    },
    {
      "page": "llweights",
      "title": "Local linear weight functions",
      "topics": [
        "sn.0",
        "sn.1",
        "sn.2"
      ]
    },
    {
      "page": "Exposure_Occurence",
      "title": "Occurance and Exposure on grids",
      "topics": [
        "make_N",
        "make_Ni",
        "make_Y",
        "make_Yi"
      ]
    },
    {
      "page": "make_sf",
      "title": "Survival function from a hazard",
      "topics": [
        "make_sf"
      ]
    },
    {
      "page": "pbc2",
      "title": "Mayo Clinic Primary Biliary Cirrhosis Data",
      "topics": [
        "pbc2",
        "pbc2.id"
      ]
    },
    {
      "page": "Pivot.Index.CIs",
      "title": "Compute Pivot Pointwise Confidence Intervals for the Indexed Hazard Rate Estimate",
      "topics": [
        "Pivot.Index.CIs"
      ]
    },
    {
      "page": "prep_boot",
      "title": "Precomputation for wild bootstrap",
      "topics": [
        "prep_boot"
      ]
    },
    {
      "page": "prep_cv",
      "title": "Prepare for Cross validation bandwidth selection",
      "topics": [
        "prep_cv"
      ]
    },
    {
      "page": "prep_cv2",
      "title": "Prepare for Cross validation index parameter selection",
      "topics": [
        "prep_cv2"
      ]
    },
    {
      "page": "Q1",
      "title": "Bandwidth selection score Q1",
      "topics": [
        "Q1"
      ]
    },
    {
      "page": "Quantile.Index.CIs",
      "title": "Compute Quantile Pointwise Confidence Intervals for for the Indexed Hazard Rate Estimate",
      "topics": [
        "Quantile.Index.CIs"
      ]
    },
    {
      "page": "R_K",
      "title": "Bandwidth selection score R",
      "topics": [
        "R_K"
      ]
    },
    {
      "page": "Sim.True.Hazard",
      "title": "Simulated true hazard (bootstrap average)",
      "topics": [
        "Sim.True.Hazard"
      ]
    },
    {
      "page": "SingleIndCondFutHaz",
      "title": "Local linear future conditional hazard estimator (wrapper)",
      "topics": [
        "SingleIndCondFutHaz"
      ]
    },
    {
      "page": "StudentizedBwB.Index.CIs",
      "title": "Compute Studentized Double Bootstrap Pointwise Confidence Intervals for the Indexed Hazard Rate Estimate",
      "topics": [
        "StudentizedBwB.Index.CIs"
      ]
    },
    {
      "page": "timeRoc",
      "title": "Time-dependent ROC curve estimation",
      "topics": [
        "timeROC"
      ]
    },
    {
      "page": "to_id",
      "title": "Event data frame",
      "topics": [
        "to_id"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "cmprsk",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "JM",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mets",
    "mime",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pec",
    "plotrix",
    "polspline",
    "prodlim",
    "progressr",
    "Publish",
    "quantreg",
    "R6",
    "ranger",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "riskRegression",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "shape",
    "SparseM",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "timereg",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 1.4771212547196624,
  "_indexed": true,
  "_nocasepkg": "hqm",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1",
      "date": "2026-05-25T07:05:17.000Z",
      "distro": "noble",
      "commit": "7d3e4eaaab866b58a9f9d0228dfca09d0d9d606f",
      "fileid": "5d30c1517ff2ac84d65b49790d095ad71b3e59047420b588154f11a5828651a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26387853784"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1",
      "date": "2026-05-25T07:05:02.000Z",
      "distro": "noble",
      "commit": "7d3e4eaaab866b58a9f9d0228dfca09d0d9d606f",
      "fileid": "4fafe99b01c80d361f781927fe52b1c2e06143c8279ad8a09cd34e48e47a73e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26387853784"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1",
      "date": "2026-05-25T07:05:26.000Z",
      "commit": "7d3e4eaaab866b58a9f9d0228dfca09d0d9d606f",
      "fileid": "e902b0262a77ee73b980b4b9763fa6b85932bbc9a8625cb57232b812e55c1340",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26387853784"
    }
  ]
}