code to create traceplots for mcmc for dynamic regression model