This note corrects a mistake in the estimation algorithm of the time-varying structural vector autoregression model of Primiceri (2005) and proposes a new algorithm that correctly applies the procedure proposed by Kim, Shephard, and Chib (1998) to the estimation of VAR or DSGE models with...