## using stochastic simulation '' Urgent Situation''

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### using stochastic simulation '' Urgent Situation''

Hi, all thank you in advance for help
I am new EViews user (7.2), currently I am working to solve macroeconometric model, which consists of 38 endogenous equations, 16 of which are stochastic while the rest are identities. I want to solve the whole model to test its predictive ability, using stochastic simulation, and I need to use the conventional criteria such as (MAE, RMSE, MAPE, the Theil inequality coefficient), but I could do that, because I do not find how. In the single equation, I can do from the equation widow, where the forecast option is available in that window.
Thank you again
Hussein
Last edited by Husseinfr1 on Wed Sep 26, 2012 10:22 pm, edited 1 time in total.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12460
Joined: Tue Sep 16, 2008 5:38 pm

### Re: using stochastic simulation '' Urgent Situation''

There is nothing built in that will show you those values automatically. However there are functions that can calculate them for two series. For example you can type:

Code: Select all

`=@rmse(y, y_1)`

to show the RMSE between the series Y and the series Y_1.

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:There is nothing built in that will show you those values automatically. However there are functions that can calculate them for two series. For example you can type:

Code: Select all

`=@rmse(y, y_1)`

to show the RMSE between the series Y and the series Y_1.

Thank you very much, but what about the rest cretira (MAE , MAPE, the Theil inequality coefficient)
I am very happy and thank you very much for the quick reply.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12460
Joined: Tue Sep 16, 2008 5:38 pm

### Re: using stochastic simulation '' Urgent Situation''

@mae, @mape, @theil

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:@mae, @mape, @theil

Dear Gareth
Thank you again, you provided me a great favor.
Best regards

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:@mae, @mape, @theil

I am so sorry,
but it does not work
Could you please write the full command for me, my data series 1970 2006
the variables are pcer and pcer_0
thank you

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12460
Joined: Tue Sep 16, 2008 5:38 pm

### Re: using stochastic simulation '' Urgent Situation''

Code: Select all

`=@mae(pcer, pcer_0)`

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:

Code: Select all

`=@mae(pcer, pcer_0)`

I apologize, it seems that I disturbed you, but I wrote this command at the command window
mapcer=@mae(pcer, pcer_0)
Is it true, if it is incorrect, what is the correct?
Where can I find the result?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12460
Joined: Tue Sep 16, 2008 5:38 pm

### Re: using stochastic simulation '' Urgent Situation''

if you wish to store the result in a scalar, called mapcer, then:

Code: Select all

`scalar mapcer = @mae(pcer, pcer_0)`

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:if you wish to store the result in a scalar, called mapcer, then:

Code: Select all

`scalar mapcer = @mae(pcer, pcer_0)`

Thank you so much Gareth
best regards
Hussein

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:There is nothing built in that will show you those values automatically. However there are functions that can calculate them for two series. For example you can type:

Code: Select all

`=@rmse(y, y_1)`

to show the RMSE between the series Y and the series Y_1.

Hi Gareth
Could you please show me how can I calculate the root mean squared percent error rmspe.
Hussein

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12460
Joined: Tue Sep 16, 2008 5:38 pm

### Re: using stochastic simulation '' Urgent Situation''

There is nothing built in to calculate that statistic. You'll have to calculate it manually.

Husseinfr1
Posts: 11
Joined: Thu Feb 04, 2010 4:33 pm

### Re: using stochastic simulation '' Urgent Situation''

EViews Gareth wrote:There is nothing built in to calculate that statistic. You'll have to calculate it manually.

Thank you very much Gaerth for your help.
With best regards
Hussein