Page 1 of 1
Overwriting an object
Posted: Mon Jan 03, 2011 3:16 pm
by w_nawfal
Hello all
is there a way to instruct eviews to overwrite an exsisting object with a newly fetch one?
and can this be done via the "rename" command as well?
hope you've all had a good break & happy new year
Wes
Re: Overwriting an object
Posted: Mon Jan 03, 2011 3:45 pm
by EViews Gareth
Probably, but without knowing more details, hard to tell you how.
How are you getting the object into EViews?
Re: Overwriting an object
Posted: Tue Jan 04, 2011 8:17 am
by w_nawfal
hi Gareth
i've discoved that when using the fetch command - i can fetch an object more than once without any problems (i.e. the second time an object is retrieved it is saved over the previous version)
as for using the "rename" command - i've bypassed that entirely by using the "series" comand
for example
instead of saying rename seriesA Wes1
i now use series Wes1 = series A, because this way, if previously in the program i had a series called Wes1 this command will allow me to save over it.
thank you for your follow up
Wes
Re: Overwriting an object
Posted: Tue Jan 04, 2011 11:16 am
by EViews Glenn
You should take care to note the sample in use when doing the reassignment. If you have a subsample in place when you do the reassignment, you can get a splice of the series where it has some of the old values along with the newly assigned values.
Re: Overwriting an object
Posted: Tue Jan 04, 2011 3:28 pm
by w_nawfal
very true Glenn ~ you make a very good point.
i've actually made it a habit to define the sample first before every fetch command - thus any and all mods made to series apply to the time frame i want.
thanks again.
Wes