Search found 4 matches

by quark2001
Wed Dec 20, 2017 10:04 am
Forum: Data Manipulation
Topic: new series - Max function
Replies: 3
Views: 493

Re: new series - Max function

EViews Gareth wrote:You can't take the log of zero.

@max finds the maximum of a series. You probably want @recode.


Of course sorry, I meant something like max(log(series),0)

But if the series is negative, log is not defined and max would not work, I guess. How should I do it with recode?

Thanks
by quark2001
Wed Dec 20, 2017 7:01 am
Forum: Data Manipulation
Topic: new series - Max function
Replies: 3
Views: 493

new series - Max function

Hi, I have a series within a model which have some negative values, creating problems in an equation specified in logs. I would like to declare to take the max(series,0) for all the elements in the series, shall I create a new one? Or can I do it in the equation? Example: equation eq_AAA.ls log(AA) ...
by quark2001
Wed Oct 25, 2017 7:35 am
Forum: Data Manipulation
Topic: Export list of variables and labels
Replies: 3
Views: 460

Re: Export list of variables and labels

Thanks a lot.

Could you please give me an example on how to structure the loop (for example, for all the variables or selecting just the exogeneous)?
by quark2001
Wed Oct 25, 2017 7:25 am
Forum: Data Manipulation
Topic: Export list of variables and labels
Replies: 3
Views: 460

Export list of variables and labels

Hello, How could I export the list of all the variables in a wf, name and labels, into two columns of excel? I have seen a thread to export the list of the variables as a string, but I need also the labels. And from a model, exporting all, or the exogeneous, or the endogeneous (name and labels)? Tha...

Go to advanced search