Search found 63 matches

by Jarenka
2 months ago
Forum: Modeling
Topic: ARIMA model in GAMS
Replies: 5
Views: 466

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...
by Jarenka
2 months ago
Forum: Modeling
Topic: ARIMA model in GAMS
Replies: 5
Views: 466

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...
by Jarenka
2 months ago
Forum: Modeling
Topic: ARIMA model in GAMS
Replies: 5
Views: 466

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. The only th...
by Jarenka
2 months ago
Forum: Modeling
Topic: ARIMA model in GAMS
Replies: 5
Views: 466

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...
by Jarenka
5 months ago
Forum: Syntax
Topic: dollar sign ($) in macro
Replies: 2
Views: 479

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 the pro...
by Jarenka
9 months ago
Forum: Syntax
Topic: How to execute many "programs" at one time?
Replies: 10
Views: 2136

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:
Capture.JPG
by Jarenka
9 months ago
Forum: Syntax
Topic: How to execute many "programs" at one time?
Replies: 10
Views: 2136

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
Capture.JPG
by Jarenka
10 months ago
Forum: Syntax
Topic: How to execute many "programs" at one time?
Replies: 10
Views: 2136

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:
Capture.JPG
When I click on the run.bat file nothing happens.

I do not understand this kind of programming w/ many files.

Jarenka
by Jarenka
10 months ago
Forum: Syntax
Topic: How to execute many "programs" at one time?
Replies: 10
Views: 2136

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
Capture.JPG
by Jarenka
10 months ago
Forum: Syntax
Topic: How to execute many "programs" at one time?
Replies: 10
Views: 2136

Re: How to execute many "programs" at one time?

The most important think is to receive *gdx file with all parameters for each specified section. Usually, I start with running LINE1A_Data and create *gdx file (with the same name usually). Then I run LINE1A_Incomes.gms and create *.gdx file again. And so on ... The point is to run each section inde...