Re: Hamilton-rpf issue
Posted: Fri Apr 14, 2017 4:53 am
Dear Sir,
I would like to obtain the best lag order for my Industrial Production (IP)
time series instead if guessing it using hamilton's MS-AR.
I saw that in the original hamilton's 1989 code, we have the output of the linear regression
in the final result as below.
Could it be possible to obtain such figure from your coding of Hamiltion 1989?
That could be great as it coult help me run 12 times YOUR code with different lag order
before looking at the log-likelihood of all the regression and making a choie of the best lag order that has the
highest log-likelihood in absolute value.
*****************************************
Linear Regression - Estimation by Least Squares
Dependent Variable G
Quarterly Data From 1952:02 To 1984:04
Usable Observations 131
Degrees of Freedom 126
Centered R^2 0.1432832
R-Bar^2 0.1160858
Uncentered R^2 0.4128716
Mean of Dependent Variable 0.7198347939
Std Error of Dependent Variable 1.0663818552
Standard Error of Estimate 1.0025771251
Sum of Squared Residuals 126.65027237
Regression F(4,126) 5.2683
Significance Level of F 0.0005887
Log Likelihood -183.6692 ..HERE THE LAG ORDER = 4 in the original hamilton 1989 program
Durbin-Watson Statistic 1.9984
I would like to obtain the best lag order for my Industrial Production (IP)
time series instead if guessing it using hamilton's MS-AR.
I saw that in the original hamilton's 1989 code, we have the output of the linear regression
in the final result as below.
Could it be possible to obtain such figure from your coding of Hamiltion 1989?
That could be great as it coult help me run 12 times YOUR code with different lag order
before looking at the log-likelihood of all the regression and making a choie of the best lag order that has the
highest log-likelihood in absolute value.
*****************************************
Linear Regression - Estimation by Least Squares
Dependent Variable G
Quarterly Data From 1952:02 To 1984:04
Usable Observations 131
Degrees of Freedom 126
Centered R^2 0.1432832
R-Bar^2 0.1160858
Uncentered R^2 0.4128716
Mean of Dependent Variable 0.7198347939
Std Error of Dependent Variable 1.0663818552
Standard Error of Estimate 1.0025771251
Sum of Squared Residuals 126.65027237
Regression F(4,126) 5.2683
Significance Level of F 0.0005887
Log Likelihood -183.6692 ..HERE THE LAG ORDER = 4 in the original hamilton 1989 program
Durbin-Watson Statistic 1.9984