Page 1 of 1

export observation into a matrix

Posted: Tue Jul 14, 2020 7:32 am
by superjocker
Hi, I am trying to take an observation from a series, for example, observation corresponding to the date 06/03/2018, and save it in a matrix. Anyone knows how to do it?

Thanks

Re: export observation into a matrix

Posted: Tue Jul 14, 2020 7:34 am
by EViews Gareth

Code: Select all

smpl 2018/06/13 2018/06/13 matrix a = @convert(x)
or

Code: Select all

a(3,3) = @elem(x, "2018/06/13")

Re: export observation into a matrix

Posted: Tue Jul 14, 2020 8:20 am
by superjocker
Perfect, thank you.

Regards