HierarchicalBVARResult.simulate#
- HierarchicalBVARResult.simulate(n=200, *, seed=None, burn=_SIMULATION_BURN, draw=None)[source]#
A fresh sample path from the fitted system at the posterior mean or at one draw.
burn + nperiods are generated from a zero start and the firstburndiscarded; the deterministic time index runs1 .. nover the kept part. At the posterior mean the path is a draw from the model’s law at a point estimate; at a retained draw it is a draw from the posterior predictive of a fresh sample, and looping over draws gives that predictive in full.- Parameters:
- Return type:
- Returns:
An array of shape
(n, k).- Raises:
SpecificationError – If the counts are not usable or the draw index is out of range.