ordered probit & make model

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

giuseppe
Posts: 4
Joined: Mon Mar 15, 2010 9:08 am

ordered probit & make model

Postby giuseppe » Mon Mar 15, 2010 9:43 am

good morning, I have just started using EViews 7 and I am trying to use an old code, that was working with EViews 4 until a few days ago, to iterate out of sample forecasting; it worked with EViews 4 but now I get an error. The code is:

for !horizon=1 to cont
equation eqopuno.ordered tre c esog1(-1) esog2(-1)
eqopuno.makemodel(modelopuno)
eqopuno.makelimits
modelopuno.solve(n=f)
....
next

What is strange is that the model doesn't work but if I create the equation from "quick" and then manually create the model it works, and even if I use a code to create an equation without specifying the name:
ordered tre c n1ortog(-1) tre(-1) eynorm(-1) rit1(-1) (vix(-1)-1)
then I can create the model manually, but if I estimate the equation with:
eqopuno.ordered tre c esog1(-1) esog2(-1)
then I can not create the model neither manually...

I hope someone can help me, thanks!

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

Re: ordered probit & make model

Postby EViews Gareth » Mon Mar 15, 2010 9:57 am

Hard to help without knowing what the error is.

giuseppe
Posts: 4
Joined: Mon Mar 15, 2010 9:08 am

Re: ordered probit & make model

Postby giuseppe » Mon Mar 15, 2010 10:06 am

"the model contains errors and could not be compiled in "do_modelopuno solve"

in the model I find: "err @identity is not a genr or series expression function in: ".eqopuno"

but if I create with the code an equation with the same time series (endogenous and exogenous) but with no name (ordered tre exogenous1(-1), exogenous2(-1)) and the create the model manually, it works and i geto no error messages, so the problem is not in the series but in the instruction wich gives the name to the equation it is estimating...

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

Re: ordered probit & make model

Postby EViews Gareth » Mon Mar 15, 2010 10:21 am

Looks like a bug in EViews, I'll investigate.

giuseppe
Posts: 4
Joined: Mon Mar 15, 2010 9:08 am

Re: ordered probit & make model

Postby giuseppe » Mon Mar 15, 2010 10:23 am

thanks a lot!

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

Re: ordered probit & make model

Postby EViews Gareth » Mon Mar 15, 2010 3:55 pm

Latest patch should fix it for you.

giuseppe
Posts: 4
Joined: Mon Mar 15, 2010 9:08 am

Re: ordered probit & make model

Postby giuseppe » Tue Mar 16, 2010 4:01 am

it works with the new patch, thank you!!

beatrice
Posts: 1
Joined: Thu Jun 10, 2010 5:37 am

Re: ordered probit & make model

Postby beatrice » Thu Jun 10, 2010 5:59 am

Latest patch should fix it for you.
Hi, I couldn't download the patch above. isn't it available anymore? thanks!

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

Re: ordered probit & make model

Postby EViews Gareth » Thu Jun 10, 2010 7:59 am

Try reloading that page.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests