casebase

Fitting Flexible Smooth-in-Time Hazards and Risk Functions via Logistic and Multinomial Regression

CRAN Package

Fit flexible and fully parametric hazard regression models to survival data with single event type or multiple competing causes via logistic and multinomial regression. Our formulation allows for arbitrary functional forms of time and its interactions with other predictors for time-dependent hazards and hazard ratios. From the fitted hazard model, we provide functions to readily calculate and plot cumulative incidence and survival curves for a given covariate profile. This approach accommodates any log-linear hazard function of prognostic time, treatment, and covariates, and readily allows for non-proportionality. We also provide a plot method for visualizing incidence density via population time plots. Based on the case-base sampling approach of Hanley and Miettinen (2009) doi:10.2202/1557-4679.1125, Saarela and Arjas (2015) doi:10.1111/sjos.12125, and Saarela (2015) doi:10.1007/s10985-015-9352-x.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,066 times in the last 30 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 43 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
51 downloadsMar 4, 2025
61 downloadsMar 5, 2025
62 downloadsMar 6, 2025
35 downloadsMar 7, 2025
24 downloadsMar 8, 2025
22 downloadsMar 9, 2025
22 downloadsMar 10, 2025
39 downloadsMar 11, 2025
45 downloadsMar 12, 2025
34 downloadsMar 13, 2025
21 downloadsMar 14, 2025
43 downloadsMar 15, 2025
15 downloadsMar 16, 2025
29 downloadsMar 17, 2025
48 downloadsMar 18, 2025
42 downloadsMar 19, 2025
28 downloadsMar 20, 2025
33 downloadsMar 21, 2025
20 downloadsMar 22, 2025
28 downloadsMar 23, 2025
49 downloadsMar 24, 2025
29 downloadsMar 25, 2025
34 downloadsMar 26, 2025
35 downloadsMar 27, 2025
62 downloadsMar 28, 2025
26 downloadsMar 29, 2025
26 downloadsMar 30, 2025
22 downloadsMar 31, 2025
38 downloadsApr 1, 2025
43 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
15
62

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 15,600 times in the last 365 days. That's enough downloads to make it mildly famous in niche technical communities. A badge of honor! The day with the most downloads was Apr 11, 2024 with 165 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports5 packages
  • Suggests11 packages
  • Reverse Suggests1 package