Question: Use the following commands to simulate a two-regime TAR(1) model with 400 observations. (a) Obtain a time plot for the data and its sample autocorrelation

Use the following commands to simulate a two-regime TAR(1) model with 400 observations.

require (NTS) set.seed(1) phi

(a) Obtain a time plot for the data and its sample autocorrelation function with 12 lags.

(b) Obtain a scatter plot of xt versus xt−1 and draw a smooth line on the plot using the loess local smoothing.

(c) Apply the threshold tests of Chapter 1 to confirm the threshold nonlinearity of the time series.

(d) Finally, build a two-regime TAR model for the series and write down the fitted model.

require (NTS) set.seed(1) phi

Step by Step Solution

3.46 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Regression Analysis Questions!