deleting equations from a model

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

Moderators: EViews Gareth, EViews Moderator

neilblake
Posts: 17
Joined: Tue Sep 30, 2008 4:19 am

deleting equations from a model

Postby neilblake » Mon May 24, 2010 3:07 am

I know that you can add equations or identities to a model using .merge ior .append but is there a way of removing equations or identities from an existing model?

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

Re: deleting equations from a model

Postby EViews Gareth » Mon May 24, 2010 8:15 am

Unfortunately not :( (at least not in a program, you can always delete them interactively with the mouse).
Follow us on Twitter @IHSEViews

Odin
Posts: 1
Joined: Thu Nov 25, 2010 6:33 pm

Re: deleting equations from a model

Postby Odin » Fri Nov 26, 2010 2:30 am

I guess the model object has that problem when programming - We cannot handle the equations separately and delete them or for example, changing them from stochastic with a s.d. to indentity or on the other way round, isn´t it? If so, it would be nice if this could be improved ;)

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

deleting equations from a model

Postby EViews Gareth » Fri Nov 26, 2010 9:40 am

Indeed.
Follow us on Twitter @IHSEViews

jlbrillet
Posts: 49
Joined: Mon Feb 16, 2009 6:03 am

Re: deleting equations from a model

Postby jlbrillet » Tue Dec 20, 2011 8:32 pm

Hello,

I do not think this is such a problem. having to rebuild the model each time allows you to access a full model specification and visualize its content (with explanatory comments). It gives you a better control of the process.

A series of append / delete could become quite confusing very fast.

Jean Louis Brillet.

fbrayton
Posts: 21
Joined: Wed Nov 05, 2008 11:09 am

Re: deleting equations from a model

Postby fbrayton » Thu Dec 22, 2011 11:36 am

I'd like to add my support for the request to add the ability to delete one or more equations from an existing model. In working in EViews with a variety of models, some of whose equations are estimated outside of EViews, I frequently find it necessary to replace equations (to test an alternative specification; to include a different policy rule; to avoid unruly "tail" behavior in stochastic sims, etc). Although in many cases it's straightforward to create a model without the equation that needs to be replaced and then to append or merge the new equation, there are times that this approach is limiting. For such situations we have a subroutine that uses the equation and text views of a model to find and delete an equation's text and then uses the "t" option of the merge procedure to create a model without the equation. Having something like this built into EViews itself would be a bit cleaner.

If anyone wants the subroutine, I'd be happy to post it, after making it a bit more user friendly.

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

Re: deleting equations from a model

Postby EViews Gareth » Thu Dec 22, 2011 11:38 am

It is high on our list.
Follow us on Twitter @IHSEViews

atoch
Posts: 13
Joined: Wed Dec 02, 2009 2:54 am
Location: Paris, France
Contact:

Re: deleting equations from a model

Postby atoch » Thu Mar 15, 2012 2:06 am

This feature would be very welcomed here as well. I have a problem trying to understand why some feature exist only in interactive mode. Is that so complicated to also have a command or function for each interactive feature ?

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

Re: deleting equations from a model

Postby EViews Gareth » Thu Mar 15, 2012 7:58 am

It is simply much more complicated to refer to an individual equation in a model by command than with a mouse.
Follow us on Twitter @IHSEViews

Elderfield.A
Posts: 78
Joined: Thu Jul 11, 2019 10:47 pm

Re: deleting equations from a model

Postby Elderfield.A » Sun Jul 28, 2019 6:45 pm

fbrayton wrote:I'd like to add my support for the request to add the ability to delete one or more equations from an existing model. In working in EViews with a variety of models, some of whose equations are estimated outside of EViews, I frequently find it necessary to replace equations (to test an alternative specification; to include a different policy rule; to avoid unruly "tail" behavior in stochastic sims, etc). Although in many cases it's straightforward to create a model without the equation that needs to be replaced and then to append or merge the new equation, there are times that this approach is limiting. For such situations we have a subroutine that uses the equation and text views of a model to find and delete an equation's text and then uses the "t" option of the merge procedure to create a model without the equation. Having something like this built into EViews itself would be a bit cleaner.

If anyone wants the subroutine, I'd be happy to post it, after making it a bit more user friendly.


I'd love this subrountine! Could you please post it?

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

Re: deleting equations from a model

Postby EViews Gareth » Sun Jul 28, 2019 10:05 pm

Follow us on Twitter @IHSEViews


Return to “Models”

Who is online

Users browsing this forum: No registered users and 14 guests