基本普通最小二乘法假設模型的參數不隨觀測值的變化而變化。儘管這種假設。結構的變化,以及樣本區間參數的變化 ,在應用時間序列分析中起著重要的作用。
因此,有大量的研究針對回歸方程中參數結構變動的問題。EViews 8提出了結構變動的線性回歸估計工具。在Bai (1997), Bai and Perron (1998)中的斷點都是已知,先前指定的。
一、Estimating Least Squares with Breakpoints in EViews案例所需數據介紹,本節以hansen_jep為例,具體數據如下:
要估計一個具有斷點的最小二乘方程,請選擇Object/New Object….../ Equation or Quick/Estimate Equation,或者從EViews主菜單中選擇BREAKLS - Method下拉菜單中帶有斷點的最小二乘法,或者在命令窗口中簡單輸入關鍵字BREAKLS:
接下來,單擊Options選項卡,顯示計算係數協方差矩陣、斷點說明、權重和係數名的附加設置。
Break Specification包括如下選項:
The Break specification section of the dialog contains a Method drop-down where you may specify the type of test you wish to perform. You may choose between:
• Sequential L+1 breaks vs. L
• Sequential tests all subsets
• Global L breaks vs. none
• L+1 breaks vs. global L
• Global information criteria
• Fixed number - sequential
• Fixed number - global
• User-specified
這些選項在結構突變檢驗章節將再次介紹。為了說明斷點方程估計的輸出,我們使用Han- sen’s (2001)勞動生產率的例子。Hansen的示例使用了1947年2月至2001年4月美國勞動生產率在製造業耐用品行業的測量。工業生產指數與每周平均工時之比增長率。
我們估計一個斷點模型,使用DDUR與DDUR(-1)和一個常數的回歸。輸出如下:
Breakpoint Specification View顯示一個斷點回歸的總結,該方法用於確定斷點。輸出的頂部顯示斷點摘要以及剩下的部分顯示了斷點確定的中間結果:
為了說明這些工具在實踐中的使用,我們採用了美國出口實際利率的數據(from Garcia and Perron (1996) that is used as an example by Bai and Perron (2003a).)
選擇對象/新對象…從主菜單中 或在命令行中輸入命令斷點並單擊enter。
Next, click on the Options tab and specify HAC (Newey-West) standard errors, check Allow error distributions to differ across breaks, choose the Bai-Perron Global L breaks vs. none method using the Unweighted-Max F (UDMax) test to determine the number of breaks, and set a Trimming percentage of 15, and a Significance level of 0.05.
Lastly, to match the test example in Bai and Perron (2003a), we click on the HAC Options button and set the options to use a Quadratic-Spectral kernel with Andrews automatic bandwidth and single pre-whitening lag:
輸出結果為:
點擊視圖/實際,擬合,剩餘/實際,擬合,殘差圖,在原始序列和殘差的旁邊,查看樣本內的擬合數據: