Crandore Hub

raretrans

Bayesian Priors for Matrix Population Models

Provides functions to correct biased transition and fertility estimates in population projection matrices caused by small sample sizes. Small or short-term studies frequently produce structural zeros (biologically possible transitions never observed) and structural ones (transitions estimated at 100% survival, stasis, or mortality that are biologically implausible). Both distort matrix structure and bias estimates of population growth. Implements a multinomial-Dirichlet Bayesian prior for transition probabilities and a Gamma-Poisson prior for reproduction, allowing analysts to incorporate prior biological knowledge and regularise estimates from rare or unobserved events. Includes functions to compute marginal posterior credible intervals for all transition probabilities (transition_CrI()), visualise those intervals as point-range plots (plot_transition_CrI()), and display the full posterior beta density for each matrix entry (plot_transition_density()). Methods are described in Tremblay et al. (2021) <doi:10.1016/j.ecolmodel.2021.109526>.

Versions across snapshots

VersionRepositoryFileSize
1.0.4 rolling linux/jammy R-4.5 raretrans_1.0.4.tar.gz 686.2 KiB
1.0.4 rolling linux/noble R-4.5 raretrans_1.0.4.tar.gz 686.1 KiB
1.0.4 rolling source/ R- raretrans_1.0.4.tar.gz 700.6 KiB
1.0.4 latest linux/jammy R-4.5 raretrans_1.0.4.tar.gz 686.2 KiB
1.0.4 latest linux/noble R-4.5 raretrans_1.0.4.tar.gz 686.1 KiB
1.0.4 latest source/ R- raretrans_1.0.4.tar.gz 700.6 KiB
1.0.4 2026-04-26 source/ R- raretrans_1.0.4.tar.gz 700.6 KiB
1.0.4 2026-04-23 source/ R- raretrans_1.0.4.tar.gz 700.6 KiB

Dependencies (latest)

Imports

Suggests