Crandore Hub

coxstream

Memory-Efficient Cox Proportional Hazards via Streaming Newton-Raphson

Fits the Cox proportional hazards model using a single descending-order pass per Newton-Raphson iteration. Peak RAM is O(p^2) regardless of the number of rows, making it suitable for datasets that do not fit in memory. Produces identical coefficients to survival::coxph() with Efron tie correction.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 coxstream_0.1.0.tar.gz 75.4 KiB
0.1.0 rolling linux/noble R-4.5 coxstream_0.1.0.tar.gz 77.7 KiB
0.1.0 rolling source/ R- coxstream_0.1.0.tar.gz 16.7 KiB
0.1.0 latest linux/jammy R-4.5 coxstream_0.1.0.tar.gz 75.4 KiB
0.1.0 latest linux/noble R-4.5 coxstream_0.1.0.tar.gz 77.7 KiB
0.1.0 latest source/ R- coxstream_0.1.0.tar.gz 16.7 KiB
0.1.0 2026-04-23 source/ R- coxstream_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests