Prior Diagnostics and Sensitivity Analysis
Cumulative Jensen-Shannon divergence
Create data structure for priorsense
Example Stan model for power-scaling
Extract log likelihood draws
Extract log prior draws
Calculate specified divergence measures for each posterior
Derivative with respect to power-scaling
Diagnostic plots for power-scaling sensitivity
Power-scale gradients
Prior/likelihood power-scaling perturbation
Power-scaling sensitivity analysis
brms predictions as draws
priorsense: Prior (and likelihood) diagnostics and sensitivity analysi...
Calculate importance ratios based on scaling of component
Weighted quantities
Weighted summary measures
Provides functions for prior and likelihood sensitivity analysis in Bayesian models. Currently it implements methods to determine the sensitivity of the posterior to power-scaling perturbations of the prior and likelihood.