Page 1 of 1

Get the date of the last non empty cell in a serie

Posted: Sat May 14, 2016 9:26 am
by melamel
Hello everyone,

I have a dated serie and I want to instruct eviews to give me the date of the last non empty cell in that serie, is there a way to do it?

Thank you for your responses.

Re: Get the date of the last non empty cell in a serie

Posted: Sat May 14, 2016 9:30 am
by EViews Gareth
Series.@last

Re: Get the date of the last non empty cell in a serie

Posted: Sun May 15, 2016 1:52 am
by melamel
Thank you for your response, but I want to put that date in a replacement variable, so that I can use it in the if condition, what's the syntax to do it please ?

Re: Get the date of the last non empty cell in a serie

Posted: Sun May 15, 2016 2:25 am
by EViews Gareth

Code: Select all

%myvar = myseries.@last

Re: Get the date of the last non empty cell in a serie

Posted: Wed May 18, 2016 1:29 am
by melamel
Thank you !