Search found 64 matches
- 3 years ago
- Forum: Syntax
- Topic: loop until all values in a parameter reaches a specific value
- Replies: 1
- Views: 1778
loop until all values in a parameter reaches a specific value
Dear, I have an iteration (ITR) loop in which I have a p-parameter that has to have values between -1 and 1. For example, my parameter is p (PRISER,DKM,VAK,Tid) - 4 dimensional, that is calculated using gravity model. This parameter converges to 0, when iterating. As I said, I want this parameter to...
- 3 years ago
- Forum: Modeling
- Topic: ARIMA model in GAMS
- Replies: 5
- Views: 4008
Re: ARIMA model in GAMS
Dear, I have created a simple algorithm with loops for calculating ARIMA model for each possible combination to that I have described above. My problem is that it would take probably a month or so to finish it ... So, ..., I am looking for a method, possible in R program, to cluster or group a milli...
- 3 years ago
- Forum: Modeling
- Topic: ARIMA model in GAMS
- Replies: 5
- Views: 4008
Re: ARIMA model in GAMS
It would require hard coding the process (via loops or a similar structure) of altering model parameters, recalculating observed values for the model in question, and fitting the new model. And there should be some parameters or scalars used to store the parameters of either the best solution found...
- 3 years ago
- Forum: Modeling
- Topic: ARIMA model in GAMS
- Replies: 5
- Views: 4008
Re: ARIMA model in GAMS
Thank you for your answer! Yes. You are right abour R. There is function to arima models. The problem, or maybe not a problem, is that all of us here at work are working with GAMS, and we use this program as a "bible". All forecasting methods so far have been implemented in this program. T...
- 3 years ago
- Forum: Modeling
- Topic: ARIMA model in GAMS
- Replies: 5
- Views: 4008
ARIMA model in GAMS
Dear, I would like to ask you, whether there is a person that has tried to implement ARIMA model (or other time series methods) in GAMS. I have not found any topics related to this model. My points are to: - how to find how many lags we need to take into account to the model, - how to find different...
- 4 years ago
- Forum: Syntax
- Topic: dollar sign ($) in macro
- Replies: 2
- Views: 2343
dollar sign ($) in macro
Dear, I have a question concerning $macro statement, where I want to use '$call' option. For example: $macro create(VARnam) $call gdxdump %Filaname%.gdx output=%Path%&VARnam.csv symb=&VARnam %SpecKey% create(xaf_mat) Everything seems wokring except the $call option. I was trying to find, how...
- 4 years ago
- Forum: Syntax
- Topic: How to execute many "programs" at one time?
- Replies: 10
- Views: 8253
Re: How to execute many "programs" at one time?
YES!!! It works !! OMG
You made my day
Irena
Here is an example of the output of 4 gdx-files:
You made my day
Irena
Here is an example of the output of 4 gdx-files:
- 4 years ago
- Forum: Syntax
- Topic: How to execute many "programs" at one time?
- Replies: 10
- Views: 8253
Re: How to execute many "programs" at one time?
Thank you Renger,
It helped, but did not create *gdx-files for these two sections. It has only created two new *lst-files.
What should I write to execute these two sections and create gdx-files for each of the sections.
Best
Irena
It helped, but did not create *gdx-files for these two sections. It has only created two new *lst-files.
What should I write to execute these two sections and create gdx-files for each of the sections.
Best
Irena
- 4 years ago
- Forum: Syntax
- Topic: How to execute many "programs" at one time?
- Replies: 10
- Views: 8253
Re: How to execute many "programs" at one time?
Hi,
I am still struggling with this *bat file. I cannot make it working.
Here below, I want to execute two gams files: LINE1A_Data and LINE1A_Incomes: When I click on the run.bat file nothing happens.
I do not understand this kind of programming w/ many files.
Jarenka
I am still struggling with this *bat file. I cannot make it working.
Here below, I want to execute two gams files: LINE1A_Data and LINE1A_Incomes: When I click on the run.bat file nothing happens.
I do not understand this kind of programming w/ many files.
Jarenka
- 4 years ago
- Forum: Syntax
- Topic: How to execute many "programs" at one time?
- Replies: 10
- Views: 8253
Re: How to execute many "programs" at one time?
Hi,
Thank you!
I have created a *bat file called run.bat in a simple text editor.
But when I want to run it (by clicking on it) it does not come anything.
Here below is a code in it.
I think I am doing something wrong. It seems to be too simple for me!
Irena
Thank you!
I have created a *bat file called run.bat in a simple text editor.
But when I want to run it (by clicking on it) it does not come anything.
Here below is a code in it.
I think I am doing something wrong. It seems to be too simple for me!
Irena