cyclomort-package {cyclomort} | R Documentation |
Cyclomort: periodic survival modeling
Description
This package allows users to estimate parametric hazard functions with a known periodicity and one of more peak seasons of heightened mortality risk. It was motivated by the strongly seasonal mortality signal observed in many wild animal populations, but the model may be useful for any periodic time-to-event process.
Details
The central estimation function fit_cyclomort
produces estimates
for timing, duration and intensity of mortality peaks from right-censored survival data.
Other functions simulate survival data from periodic hazard functions
(simulate_cycloSurv
), perform model selection to identify the number of
seasons (select_seasons
), perform simple hypothesis tests
(factorfit_cyclomort
), and various methods for visualizing and summarizing
fits and model predictions. Several data sets are also included.
Details of the underlying model, motivation, and examples of implementation on mortality data are Gurarie et al. (2020). An active development version is on GitHub at https://github.com/EliGurarie/cyclomort. The vignette provides several examples of the functionality of the package.
A future goal is to be able to fit models where some of the parameters (peak timing, duration, intensity) can also vary against covariates.
Author(s)
Maintainer: Eliezer Gurarie egurarie@esf.edu
Authors:
Thompson Peter
References
E. Gurarie, P. Thompson, A. Kelly, N. Larter, W. Fagan and K. Joly. 2020. For Everything There is a Season: Estimating periodic hazard functions with the cyclomort R package. Methods in Ecology and Evolution, 11(1):129-139. <doi:10.1111/2041-210X.13305>
See Also
Useful links:
Report bugs at https://github.com/EliGurarie/cyclomort/issues