pam provides functions and utilities that facilitate fitting Piece-wise Exponential (Additive) Models (PAMs), including data transformation and other convenience functions for pre- and post-processing as well as plotting.
The best way to get an overview of the functionality provided and how to fit PAMs is to view the vignettes included in this package. A summary of the vignettes content is given below:
basics
: Introduction to PAMs and basic modeling.
baseline
: Shows how to estimate and visualize baseline model
(without covariates) and comparison to respective Cox-PH model.
convenience
: Convenience functions for post-processing and plotting PAMs
data-transformation
: Transforming data into a format suitable
to fit PAMs
frailty
: Specifying "frailty" terms, i.e., random effects for PAMs
splines
: Specifying spline smooth terms for PAMs
strata
: Specifying stratified models in which each level of a
grouping variable has a different baseline hazard
tdcovar
: Dealing with time-dependent covariates
tveffects
: Specifying time-varying effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.