Graph Sample Range

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

GFXFTS
Posts: 42
Joined: Wed Nov 21, 2018 10:33 am

Graph Sample Range

Postby GFXFTS » Fri Mar 05, 2021 5:51 am

Hello,

Hope all well.

Is there sample command which only uses the data available i.e. non-N/A for the series I would like to use for a graph by chance?

I have attached a workfile with some data. In the graphs, I would ideally only display the available data and start the sample, where both series are available.

Thanks a lot for your help.

Best,

Günter
Attachments
fx_yield_spreads_d.wf1
(27.1 MiB) Downloaded 144 times

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

Re: Graph Sample Range

Postby EViews Gareth » Fri Mar 05, 2021 7:58 am

Put them in a group, then use:

Code: Select all

smpl if @robs(g) = g.@count
Follow us on Twitter @IHSEViews

GFXFTS
Posts: 42
Joined: Wed Nov 21, 2018 10:33 am

Re: Graph Sample Range

Postby GFXFTS » Fri Mar 05, 2021 9:36 am

Great. That worked. Thanks a lot. Best, Günter


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 30 guests