Defining Vectorizable Helper Function given Posterior Draws (Forecasting with BVAR)

You’re going to have to share specific model code, it’s really not clear to me what you’re trying to do