pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Dynamic prediction via landmarking survival analysis. Supports arbitrary longitudinal and survival sub-models. :european_castle:
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Time-to-event analysis using a wide array of longitudinal and survival
sub-models.
Time-to-event, or survival analysis, is used to analyse the time until an
event of interest occurs. Common events include hospitalisation, equipment
failure, or a prisoner reoffending. Whilst classic survival methods assume model
covariates are static, it is often the case that longitudinal data related to
the outcome of interest are collected. Two main forms of survival analysis
incorporating time-dependent covariates exist, joint models and landmarking
[^1]. This package focuses on the latter.檢視完整 README ↗Time-to-event analysis using a wide array of longitudinal and survival sub-models.
| Usage | Release | Development |
|---|---|---|
Time-to-event, or survival analysis, is used to analyse the time until an event of interest occurs. Common events include hospitalisation, equipment failure, or a prisoner reoffending. Whilst classic survival methods assume model covariates are static, it is often the case that longitudinal data related to the outcome of interest are collected. Two main forms of survival analysis incorporating time-dependent covariates exist, joint models and landmarking 1. This package focuses on the latter.
For a set of landmark times, a survival model is fitted up to specified horizon times. At landmark times, any time-dependent covariates must be summarised. Most commonly, the last observation carried forward (LOCF) approach is used. However, a more modern approach is to instead fit a linear mixed effects model which accounts for observations being measured with error 2. However, any method which summarises longitudinal observations can be used. Moreover, whilst landmarking methods typically reply on Cox proportional hazards models, nearly any survival model can also be used.
Whilst packages already exist which implement landmarking, these packages
implement specific longitudinal and survival models. The aim of landmaRk is
to support a wide array of longitudinal and survival sub-models whilst providing
a modular system allowing others to incorporate their own models.
The easiest way to install the package is from CRAN, which can be done in R via
install.packages("landmaRk")
The development version of the package can be installed via our r-universe
install.packages("landmaRk",
repos = c("https://vallejosgroup.r-universe.dev",
"https://cloud.r-project.org"))
Alternatively, the package can be built from source using remotes
# install.packages("remotes")
remotes::install_github("vallejosgroup/landmaRk", build_vignettes = TRUE)
We recommend starting with the landmaRk vignette, which provides an
overview of the package and how to use it. You can access the vignette in R by
calling
vignette("landmaRk")
Alternatively, you can view the vignette online.
If you are interested in contributing to landmaRk, please read our
contributing
guide.
Rizopoulos D, Molenberghs G, Lesaffre EMEH. Dynamic predictions with time-dependent covariates in survival analysis using joint modeling and landmarking. Biometrical Journal. 2017;59(6):1261-1276. doi: 10.1002/bimj.201600238 ↩
Paige E, Barrett J, Stevens D, et al. Landmark models for optimizing the use of repeated measurements of risk factors in electronic health records to predict future disease risk. American Journal of Epidemiology. 2018;187(7):1530-1538. doi: 10.1093/aje/kwy018 ↩