Package: skmle 0.1.0

Dayu Sun

skmle: Sieve Maximum Kernel-Weighted Log-Likelihood Estimation

Estimation and inference when a longitudinal covariate is observed sparsely and intermittently, at times that do not line up with the times at which the outcome is measured. For a survival outcome, fits the transformed hazards family -- proportional hazards, additive hazards, and the Box-Cox transformations between them -- by the Sieve Maximum Kernel-weighted Log-likelihood Estimator (SMKLE) of Sun, Sun, Zhao and Cao (2025) <doi:10.1080/01621459.2025.2476781>, with specialised kernel estimating-equation alternatives for the proportional and additive cases. For a longitudinal outcome recorded on its own time grid, fits generalised linear models by the kernel-weighted estimating equations of Cao, Zeng and Fine (2015) <doi:10.1111/rssb.12086>, with either time-invariant or time-dependent coefficients. Half and full kernels, data simulation, and bandwidth selection by cross-validation are available throughout, and the numerical routines use 'Rcpp', 'RcppArmadillo' and the 'nloptr' C API.

Authors:Dayu Sun [aut, cre, cph]

skmle_0.1.0.tar.gz
skmle_0.1.0.zip(r-4.7-x86_64)skmle_0.1.0.zip(r-4.7-arm64)skmle_0.1.0.zip(r-4.6-x86_64)skmle_0.1.0.zip(r-4.6-arm64)
skmle_0.1.0.tar.gz(r-4.7-arm64)skmle_0.1.0.tar.gz(r-4.7-x86_64)skmle_0.1.0.tar.gz(r-4.6-arm64)skmle_0.1.0.tar.gz(r-4.6-x86_64)
skmle_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
skmle/json (API)

# Install 'skmle' in R:
install.packages('skmle', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dayusun/skmle/issues

Pkgdown/docs site:https://www.sundayu.me

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

3.50 score 21 scripts 13 exports 35 dependencies

Last updated from:212cc18e5a. Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK216
linux-devel-x86_64OK267
source / vignettesOK373
linux-release-arm64OK216
linux-release-x86_64OK239
windows-devel-arm64OK504
windows-devel-x86_64OK255
windows-release-arm64OK504
windows-release-x86_64OK240
wasm-releaseOK124

Exports:augmentglancekee_additivekee_asynckee_async_tdkee_coxsim_async_datasim_skmle_dataskmleskmle_cvtidyw_epan_fullw_epan_half

Dependencies:clicpp11dplyrfarvergaussquadgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixnleqslvnloptrorthopolynompillarpkgconfigpolynomR6RColorBrewerRcppRcppArmadillorlangS7scalessurvivaltibbletidyselectutf8vctrsviridisLitewithr

Asynchronous Longitudinal Regression
The problem | The estimator | A worked example | Tidy output | Choosing the bandwidth | Half kernel or full kernel | Time-varying coefficients | Links other than the identity | Getting the units right | Reference

Last update: 2026-12-05
Started: 2026-12-05

Benchmarking skmle Against SurvSparse
Overview | Generating the data | Helpers | Results across scenarios | Runtimes | Interpretation

Last update: 2026-12-05
Started: 2026-12-05

Getting Started with skmle
Overview | Which function do I need? | Simulating some data | Fitting the general transformed hazards model | Plotting the baseline | The specialised estimating equations | Cox-type | Additive hazards | Selecting a bandwidth | Half kernel or full kernel | Asynchronous longitudinal data | A typical workflow

Last update: 2026-12-05
Started: 2026-12-05