event-study, plot time series on selected/specific dates

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

Gin
Posts: 22
Joined: Wed Oct 19, 2016 10:26 am

event-study, plot time series on selected/specific dates

Postby Gin » Thu Oct 20, 2016 7:23 am

Hi all,

I have a set of macroeconomic announcement data. The time series has only observations on specifiy dates the rest is zero. I have created a dummy variable equals one on release dates otherwise zero. If I set the sample size according this dummy and plot the time series, I get disconnected lines. Here's an example of what I have done:

Code: Select all

 @all if d = 1


When I plot the data I get the following graph.

It seems to me that after adjusting sample according to the date dummy d, the spread sheet and the plot still contain the full sample dates. And the plot contains disconnected dots... Can anyone give me a hint?

Thanks

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

Re: event-study, plot time series on selected/specific dates

Postby EViews Gareth » Thu Oct 20, 2016 7:58 am

It really isn't clear what you're asking here.
Follow us on Twitter @IHSEViews

Gin
Posts: 22
Joined: Wed Oct 19, 2016 10:26 am

Re: event-study, plot time series on selected/specific dates

Postby Gin » Fri Oct 21, 2016 2:47 am

Hi Gerath, sorry for the confusion. I have figured out a solution :)


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: Google [Bot] and 1 guest