graph data panel

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

felix.casares
Posts: 23
Joined: Fri Jun 21, 2013 11:34 am

graph data panel

Postby felix.casares » Mon Aug 18, 2014 7:51 am

im trying to graph a data panel for 5 of 14 time serie, i want to graph only this 5 series with commands like graph line x if company="oil texas","petrolium", "interoceanic" etc.

Please i hope your help, tks.

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

Re: graph data panel

Postby EViews Gareth » Mon Aug 18, 2014 7:58 am

Code: Select all

smpl if @inlist(company, "oil texas petrolium interoceanic")
show x.line


I couldn't tell whether "oil texas" was a single value or not. If so, you'll have to do:

Code: Select all

smpl if company="oil texas" or company = "petrolium" or company = "interoceanic"
show x.line
Follow us on Twitter @IHSEViews

felix.casares
Posts: 23
Joined: Fri Jun 21, 2013 11:34 am

Re: graph data panel

Postby felix.casares » Mon Aug 18, 2014 8:34 am

Tks alot it works

EViews Gareth wrote:

Code: Select all

smpl if @inlist(company, "oil texas petrolium interoceanic")
show x.line


I couldn't tell whether "oil texas" was a single value or not. If so, you'll have to do:

Code: Select all

smpl if company="oil texas" or company = "petrolium" or company = "interoceanic"
show x.line


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 13 guests