Search found 6 matches

by AndreRiver
Wed Nov 07, 2018 8:49 pm
Forum: Structural Breaks and Switching Models
Topic: Estimation of LSTAR models
Replies: 14
Views: 69632

Re: Estimation of LSTAR models

Thank you. One more question: Is there any function like %logistic to estimate an exponential model? Or, what would be the best approach in RATS for those kind of exponential models?
by AndreRiver
Sat Nov 03, 2018 4:18 pm
Forum: Structural Breaks and Switching Models
Topic: Estimation of LSTAR models
Replies: 14
Views: 69632

Re: Estimation of LSTAR models

Tom: Thank you! I modified my code to include two constant terms (one for each regime) but I am getting the result: ## SR10. Missing Values And/Or SMPL Options Leave No Usable Data Points I get this outcome even though I shrink my sample. calendar(q) 1981:1 allocate 2015:4 open data data(format=xls,...
by AndreRiver
Fri Nov 02, 2018 10:27 pm
Forum: Structural Breaks and Switching Models
Topic: Estimation of LSTAR models
Replies: 14
Views: 69632

Re: Estimation of LSTAR models

Thanks again for the clarification. One thing to note is that you have a single intercept rather than making that regime-dependent. If the u's aren't mean zero, that's probably a bad idea. Tom: I am intrigued by your comment about the intercept. Could you please tell me more about it or suggest me a...
by AndreRiver
Thu Nov 01, 2018 11:35 pm
Forum: Structural Breaks and Switching Models
Topic: Estimation of LSTAR models
Replies: 14
Views: 69632

Re: Estimation of LSTAR models

Have you read the section in the User's Guide on STAR Models ? Tom: checking the guide and comparing with the programming manual (as well as some books) there is a slight modification of the lstar function present in the guide. Why is that? Does it mean that if I use the %logistic function this app...
by AndreRiver
Thu Nov 01, 2018 10:24 pm
Forum: Structural Breaks and Switching Models
Topic: Estimation of LSTAR models
Replies: 14
Views: 69632

Re: Estimation of LSTAR models

Thanks for the clarification. I checked the guide and it was very helpful. Thanks much!
by AndreRiver
Tue Oct 30, 2018 10:45 pm
Forum: Structural Breaks and Switching Models
Topic: Estimation of LSTAR models
Replies: 14
Views: 69632

Estimation of LSTAR models

Dear all, I am trying to estimate a lstar model (I am attaching the data) using the code: calendar(q) 1981:1 allocate 2015:4 open data data(format=xls,org=obs) print nonlin a0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 b16 gamma c frml glstar = %logistic(gamma*(u{5}-c),1.0) frml lstar u= g=g...