Because of the existence of inverted yield curves in the term structure of interest rates, the spread of interest rates should be nonlinear. To verify this, considerthe weekly U.S. interest rates of (a) Treasury 1-year constant maturity rate,denoted by r1t, and (b) Treasury 3-year constant maturity rate, denoted byr3t. The data span is from January 5, 1962 to April 2009 and the data in files w-gs3yr.txt and w-gs1yr.txt, which can be downloaded from the Federal Reserve Bank of St. Louis. Let st = r3t -r1t be the spread in log interest rates.
Please do the followings:
1. Is {st}nonlinear? To answer this question, please nd an appropriate
nonparametric model and conduct some nonlinear tests. Please draw
the conclusion using 5% signicance level.
2. Let st*= s(t) - s(t-1) be the change in interest rate spread. Is it nonlinear? To answer this question, please nd an appropriate nonparametric model and conduct some nonlinear tests. Please draw the conclusion using 5% signicance level.
求哪路大神帮忙啊?不知道怎么编程啊?