Search found 31 matches
- Tue Jan 05, 2016 2:23 pm
- Forum: General Econometrics
- Topic: MSE in the restricted OLS
- Replies: 1
- Views: 5904
MSE in the restricted OLS
Dear Tom, I am trying to report goodness-of-fit statistics for several models. If I have a restricted OLS (say, I restrict two parameters), then the degrees of freedom will change. Should I divide TSS by the new degress of freedom (68) or not (66)? The code is attached: linreg(robusterrors) DEPENDEN...
- Mon Jan 04, 2016 2:52 pm
- Forum: General Econometrics
- Topic: Restricted OLS with robust (HAC) standard errors
- Replies: 2
- Views: 6763
Re: Restricted OLS with robust (HAC) standard errors
Thank you, Tom, very much for your help.
- Fri Jan 01, 2016 2:19 pm
- Forum: General Econometrics
- Topic: Restricted OLS with robust (HAC) standard errors
- Replies: 2
- Views: 6763
Restricted OLS with robust (HAC) standard errors
Dear Tom,
Could you please help me? Do you know how to run a RESTRICTED OLS regression (say, we restricted three coefficients) with robust (HAC) standard errors? Thank you very much in advance.
Could you please help me? Do you know how to run a RESTRICTED OLS regression (say, we restricted three coefficients) with robust (HAC) standard errors? Thank you very much in advance.
- Thu Dec 31, 2015 4:59 pm
- Forum: General Econometrics
- Topic: OLS with restrictions
- Replies: 4
- Views: 8942
Re: OLS with restrictions
I thought that we use this option ROBUSTERRORS to take care of heteroscedasticity. If we omit it, what would happen? Will we simply get an OLS with restricted coefficients?
- Thu Dec 31, 2015 4:57 pm
- Forum: General Econometrics
- Topic: Different Coefficients with Robusterrors
- Replies: 2
- Views: 6465
Re: Different Coefficients with Robusterrors
So but then it means that I have to run linreg without specifying robust option, correct? But will it take care of heteroscedasticity? Thank you in advance.
- Thu Dec 31, 2015 2:40 pm
- Forum: General Econometrics
- Topic: OLS with restrictions
- Replies: 4
- Views: 8942
Re: OLS with restrictions
Thank you, Tom, very much for the explanation. Do you then know how to code the restricted OLS without HAC standard errors? What command line should I use?
Thank you.
Yelena
Thank you.
Yelena
- Mon Dec 28, 2015 5:47 pm
- Forum: Help With Programming
- Topic: R squared in Restricted OLS
- Replies: 0
- Views: 5215
R squared in Restricted OLS
Dear Tom, I have a restricted OLS. How can I calculated centered R^2? linreg(robusterrors) DEPENDENT sambeg samend residMod coefMod # constant YOY%_SP500{1} BAA{2} YOY%_OIL{2} YOY%_CPI TR10Y{1} YOY%_HPI{1} TR3M YOY%_CRE UR restrict(create) 3 residModb #4 #1 beta3 #6 #1 beta5 #8 #1 beta7 dis 'Centere...
- Mon Dec 28, 2015 4:04 pm
- Forum: General Econometrics
- Topic: Different Coefficients with Robusterrors
- Replies: 2
- Views: 6465
Different Coefficients with Robusterrors
Dear Tom, I am wondering if you can tell me why we get different coefficients using robusterrors options for OLS. Is that because we run a restricted model? Here are the results: linreg(robusterrors) DEPENDENT sambeg samend residMod coefMod # constant YOY%_SP500{1} BAA{2} YOY%_OIL{2} YOY%_CPI TR10Y{...
- Fri Nov 13, 2015 12:54 pm
- Forum: Graphics, Reports, and Other Output
- Topic: Interpreting the output for VAR with a dummy
- Replies: 5
- Views: 9261
Re: Interpreting the output for VAR with a dummy
Oh, fantastic! Thank you very much, Tom! It helps me sooo much!
Yelena
Yelena
- Fri Nov 13, 2015 11:29 am
- Forum: Graphics, Reports, and Other Output
- Topic: Interpreting the output for VAR with a dummy
- Replies: 5
- Views: 9261
Re: Interpreting the output for VAR with a dummy
Should I say,
dummy (from = 2014:2, to = 2017:2) sanc
dummy (from = 2014:2, to = 2017:2) sanc
- Fri Nov 13, 2015 11:27 am
- Forum: Graphics, Reports, and Other Output
- Topic: Interpreting the output for VAR with a dummy
- Replies: 5
- Views: 9261
Re: Interpreting the output for VAR with a dummy
Dear Tom, How should I extend the dummy variable? Say, I want to have a forecast for 9 consecutive quarters starting from 2014:3. What should I write in the program? Also, is it okay if the forecasted value for the dummy variable has values different than 0 and 1, like 1.5 or 1.4? Thank you very muc...
- Fri Nov 13, 2015 8:40 am
- Forum: Graphics, Reports, and Other Output
- Topic: Interpreting the output for VAR with a dummy
- Replies: 5
- Views: 9261
Interpreting the output for VAR with a dummy
Dear Tom, I have run a VAR model with one dummy variable that stands for sanctions. In years >= 2014:2, the dummy variable called "sanctions" = 1, otherwise it is equal to 0. A part of the code is attached. The question I have is the following, "If I need to forecast macroeconomic var...
- Fri Nov 13, 2015 8:25 am
- Forum: Help With Programming
- Topic: Forecast with NLLS
- Replies: 4
- Views: 8624
Re: Forecast with NLLS
Oh, great! Thank you, Tom! It worked!
- Mon Oct 19, 2015 1:51 pm
- Forum: Help With Programming
- Topic: Forecast with NLLS
- Replies: 4
- Views: 8624
Re: Forecast with NLLS
The out-of-sample variables come from the Excel file open data "U:\SSSI\Severity_Index_NV_Yelena\DFAST_BHC_2015\Data_Macro_DFAST.xlsx" I have found another way to program the forecast. Is it correct? nonlin(parmset=fullset) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a3=beta3 a5=beta5 a7=beta7 frml ...
- Thu Oct 15, 2015 3:09 pm
- Forum: Help With Programming
- Topic: Forecast with NLLS
- Replies: 4
- Views: 8624
Forecast with NLLS
Dear Tom, I have written the code for the NLLS with the restrictions on the parameters but now need to use it to forecast the dependent variable. But my code does not work? Could you please help me again? Thank you. nonlin(parmset=fullset) a0 a1 a2 a3 a3>=0 frml dpndfrml DEPENDENT = a0 + a1 * YOY%_S...