stan-dev/bayesplot

mcmc_pairs bivariate off-diagonal plot axis incorrect.

Open

#132 opened on Dec 17, 2017

View on GitHub
 (6 comments) (0 reactions) (0 assignees)R (93 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (439 stars)
PR merge metrics
 (PR metrics pending)

Description

Data file: https://drive.google.com/open?id=1pnAUDCz9uscccSaUISodF9cqGF23uNzU

Off-diagonal bivariate scatter plot axes are out of line

My understanding from the documentation is that half the chains are used for each of the off-diagonal plots. In this example case (see posterior data file linked above) the chains have not converged and so the lower off-diagonal plot seems to be using chains that only sampled from one mode, using default condition I think this should be correct. I believe the x-axis should be inline with the above univariate marginal plot and the y-axis inline scaled as the x-axis of the upper off-diagonal bivariate plot?

load(file = "posterior.arr.RData")
mcmc_pairs(posterior, pars = c("u","v"))

mcmc_pairs_joint_samples_missing_data

Contributor guide