drawing mixture states of Kim, Shephard, and Chib (1998)
Posted: Mon Oct 19, 2015 3:50 pm
Tom --
In comparing code I have for VARs with stochastic volatility to the code of other researchers that actually use different algorithms for drawing volatility, I have come to realize that my coding of the drawing of the mixture states used in the Kim, Shephard, and Chib (1998, RESTUD) algorithm is something of a bottleneck (this is the section of code in lines 590-618 and some dimensioning or setup that comes earlier in the .src file in the attached .zip) file. Are there ways you see to make the drawing of the mixture states more efficient, time-wise, than I have them? Any suggestions would be a great help. Thanks.
Todd
In comparing code I have for VARs with stochastic volatility to the code of other researchers that actually use different algorithms for drawing volatility, I have come to realize that my coding of the drawing of the mixture states used in the Kim, Shephard, and Chib (1998, RESTUD) algorithm is something of a bottleneck (this is the section of code in lines 590-618 and some dimensioning or setup that comes earlier in the .src file in the attached .zip) file. Are there ways you see to make the drawing of the mixture states more efficient, time-wise, than I have them? Any suggestions would be a great help. Thanks.
Todd