Attached is an example of a parametric bootstrap for an ARMA model. This is quite a bit trickier than an AR model because the initial conditions (in effect, the lagged residuals) have to be inferred. As a result, the observed residuals from the first few periods have a higher predictive variance than those later in the sample, so the residuals need to be standardized before being reshuffled. However, the reshuffled residuals then have to be reflated to match the predictive variance at their new location.
This uses the "innovations" form of state space representation, which updates the state given a set of forecast errors.
In addition to the parametric bootstrap, this also includes the (much simpler) instructions for generating simulations of an ARMA model using random numbers.
Data file:
