Visualize MCMC trace plots for coefficient draws from a koma_estimate
object. By default, beta, gamma, and sigma draws are shown when available.
Details
Additional arguments supported in ...:
- variables
Optional character vector of endogenous variables to plot.
- params
Optional character vector of parameter groups to plot (e.g., "beta", "gamma", "sigma"). Defaults to all available.
- thin
Optional integer thinning interval for the stored draws. Default is 1 (no thinning).
- max_draws
Optional integer cap on the number of draws per trace. When set, the most recent draws are kept.
- scales
Facet scale option passed to
ggplot2::facet_wrap. Default is "free_y".- facet_ncol
Optional integer number of columns for facets.
- interactive
Logical. If TRUE and plotly is available, return an interactive plot via
plotly::ggplotly. Default is FALSE.
Note: sigma plots use omega_tilde_jw and show only variances
(no covariances) from each covariance draw.