For a specified series
, finds the bootstrap distribution of the
Yule-Walker estimates of \(\phi_1,\dots,\phi_p\) in the AR model specified by order.ar
,
$$x_t = \mu + \phi_1 (x_{t-1}-\mu) + \dots + \phi_p (x_{t-p}-\mu) + w_t ,$$
where \(w_t\) is white noise. The data are centered by the estimate of \(\mu\)
prior to the bootstrap simulations.
The script displays a number of quantiles of the bootstrapped estimates, the means, the biases, and the root mean squared errors.