Compare the execution time of the two implementations shown in Figures 8.12 and 8.13 in Section 8.9

Question:

Compare the execution time of the two implementations shown in Figures 8.12 and 8.13 in Section 8.9 by generating a series of length tt = 100 from the simple model xt = xt−1 + wt and yt = xt + vt, where wt ∼ N(0, 1) and vt ∼ N(0, 1) independent of wt, and record the execution time. Change the Monte Carlo sample size mm and series length tt to see the differences.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Nonlinear Time Series Analysis

ISBN: 9781119264057

1st Edition

Authors: Ruey S. Tsay, Rong Chen

Question Posted: