Worked examplesΒΆ
Each of the following notebooks walks through an analysis of simulated data.
Please submit feedback or comments as an issue or on gitter.
- PEM survival model: unstructuredhazard
- The model
- Stan code for the model
- Simulate survival data
- Explore simulated data
- Transform to
long
orper-timepoint
form - Fit stan model
- Superficial review of convergence
- Plot posterior estimates of parameters
- Posterior predictive checking
- Building up the plot semi-manually, for more customization
- Use plotly to summarize posterior predicted values
- PEM survival model: gammahazard
- PEM survival model: randomwalkhazard
- PEM survival model: time-dependenteffects
- User-supplied PEM survival model with gammahazard