Search found 14 matches

by xin_zh
Wed Jul 08, 2015 6:46 pm
Forum: CATS Questions
Topic: Estimate a cointegration model with a deterministic variable
Replies: 2
Views: 43534

Re: Estimate a cointegration model with a deterministic vari

Exactly! Thank you very much Tom!
by xin_zh
Thu Jul 02, 2015 2:06 pm
Forum: CATS Questions
Topic: Estimate a cointegration model with a deterministic variable
Replies: 2
Views: 43534

Estimate a cointegration model with a deterministic variable

Hi Tom, I know I can use "dettrend=" option in the procedure @cats(options) to include a constant or a time trend in a cointegration model. But what should I do if I need to include a deterministic dummy variable with "1" for some specific days and "0" for others? I sea...
by xin_zh
Thu May 29, 2014 12:04 am
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Re: Simplex method in NLSYSTEM

Thanks, Tom! I will do that!

Have a good night,
Xin
by xin_zh
Wed May 28, 2014 5:36 pm
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Re: Simplex method in NLSYSTEM

Hi Tom, Thanks again for your replies! I understand your concern for prices now. I thought about this problem too, but since the magnitude of the prices are not big so I thought this might not be a problem. I also was wanting to use the dummy variable but my professor said it was a crude way to dete...
by xin_zh
Wed May 28, 2014 3:19 pm
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Re: Simplex method in NLSYSTEM

Hi Tom, Thanks for your quick response! I don't quite understand your concern about the nominal prices. Exactly, the two prices are only nominal terms in the model. Are there any problems with linear and quadratic prices in one equation? I understand your concern on the negative sale. The model is d...
by xin_zh
Wed May 28, 2014 2:09 pm
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Re: Simplex method in NLSYSTEM

Dear Tom, As you suggested, I set "subformulas" and cleaned up the calculation. And before run the estimation, I first calculate the moment conditions to see if they are computable. Then I do the estimation with the initial values when the function values seem computable. The nonlinear GMM...
by xin_zh
Tue May 27, 2014 5:41 pm
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Re: Simplex method in NLSYSTEM

Hi Tom,

Thank you so much for your quick response! I highly appreciate your help. I will do as you suggested.

Have a good evening,
Xin
by xin_zh
Tue May 27, 2014 4:50 pm
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Re: Simplex method in NLSYSTEM

Dear Tom, Thank you very much for your reply! I tried to use "robusterrors" in stead of "zudep" as suggested on UG-139, however, I still could not get estimation results. As suggested on UG-152, "almost all problems are due to "bad" initial guess values". So I...
by xin_zh
Fri May 16, 2014 12:12 pm
Forum: Help With Programming
Topic: Simplex method in NLSYSTEM
Replies: 11
Views: 12940

Simplex method in NLSYSTEM

Hi Tom, I am using the NLSYSTEM instruction to estimate a system of nonlinear moment conditions. However, I could not get converged estimates, or converge but does not make sense and zero standard errors, or got error messages like "subiterations limit exceeded". I read through chapter 4 o...
by xin_zh
Wed Jun 19, 2013 3:49 pm
Forum: Help With Programming
Topic: GMM estimation of nonlinear rational expectation models
Replies: 2
Views: 6680

Re: GMM estimation of nonlinear rational expectation models

Dear Tom,

Thank you so much for your quick response! I changed the scales of some of the variables, and I got results.

Have a nice day!
Yingzi
by xin_zh
Tue Jun 18, 2013 9:47 pm
Forum: Help With Programming
Topic: GMM estimation of nonlinear rational expectation models
Replies: 2
Views: 6680

GMM estimation of nonlinear rational expectation models

Dear Tom, I need your help with my GMM estimation of a nonlinear rational expectation model. The paper that talks about this estimation method is Hansen & Singleton (1982). I am so glad to find the example in RATS User's Guide page 137. I followed the steps there. However, I could not have any r...
by xin_zh
Fri Mar 15, 2013 11:35 pm
Forum: ARCH and GARCH Models
Topic: ECM-GARCH model estimation
Replies: 3
Views: 7737

Re: ECM-GARCH model estimation

Dear Tom, Thank you so much for your last reply! I followed your suggestion and got the estimates. Now I have two more questions: 1. After using CATS to estimate the error correction part, I exported the model as a VAR and then used "impulse(model=catsmodel,steps=20,results=impulses)" tryi...
by xin_zh
Mon Mar 04, 2013 10:13 pm
Forum: ARCH and GARCH Models
Topic: ECM-GARCH model estimation
Replies: 3
Views: 7737

Re: ECM-GARCH model estimation

Tom, thank you very much for your reply!
by xin_zh
Tue Feb 26, 2013 3:21 pm
Forum: ARCH and GARCH Models
Topic: ECM-GARCH model estimation
Replies: 3
Views: 7737

ECM-GARCH model estimation

Dear Tom, I’ve looked through the existing questions in this section, and I read the GARCH part in the RATS 8.2 user’s guide and the reference manual, but I still cannot solve my problem. I raise it here and I appreciate very much if you could help me. I need to test for the first-order and second-o...