Relative Content

Tag Archive for time-seriesstatapanelbootstrapping

How to write a block-bootstrap command in Stata?

I am trying to write a code for block bootstrap in Stata for a panel data with time-series structure, but I somehow cannot save the results from it, it does not produce any results even when I am trying to store them into a matrix. If I ran code once in Stata – it works well, selects time-series blocks for each ID and calculated two-stage regression. Can someone please help me with that?