See loo-model-comparisons.R for an example of approximate leave-one-capture-history-out model comparison using the loo R package.
See predictive-checks.R and the associated Stan model for an example of how to compute model fit statistics in the generated quantities block.