Search found 8 matches

by dasilver
Mon May 21, 2012 10:37 am
Forum: General Information and Tips and Tricks
Topic: How to enter data into a panel workfile.
Replies: 208
Views: 310914

Re: How to enter data into a panel workfile.

Is there a way to replicate the first method of creating a panel workfile using code, rather than going through the menus interactively? I can successfully convert from pooled data to stacked data using the first method described above, but I'd like to have some code to be able to quickly repeat the...
by dasilver
Tue Mar 06, 2012 8:31 am
Forum: Programming
Topic: loop with string and scalar combined
Replies: 1
Views: 1279

loop with string and scalar combined

I am trying to do a loop that combines numeric scalars and strings - basically I want to associate month numbers with month names (ie 1 = jan, 2 = feb, etc.). I tried using the following two methods (one with one loop, one with two separate loops), but these crash Eviews. Is there a way to do this s...
by dasilver
Tue Nov 08, 2011 10:21 am
Forum: Programming
Topic: flead option for x12 forecasts
Replies: 7
Views: 3903

Re: flead option for x12 forecasts

The Eviews documentation for "flead" says:
Specifies the number of periods to forecast (to be used
in the seasonal adjustment procedure). The default is
one year and you can specify an integer up to 60.


Is there no way of forecasting more than one year?
by dasilver
Tue Nov 08, 2011 9:54 am
Forum: Programming
Topic: flead option for x12 forecasts
Replies: 7
Views: 3903

flead option for x12 forecasts

I am trying to forecast seasonal factors using the x12 adjustment. I am able to forecast 1 year of seasonal factors using this code (seasonal factors are saved as "prpayrolls2_d16": prpayrolls2.x12(f, save="d16") I would like to extend my forecast further, but am having trouble w...
by dasilver
Mon Apr 04, 2011 3:29 pm
Forum: Programming
Topic: finding maximum to certain date
Replies: 2
Views: 1277

Re: finding maximum to certain date

that is exactly what I needed - thanks!
by dasilver
Mon Apr 04, 2011 3:09 pm
Forum: Programming
Topic: finding maximum to certain date
Replies: 2
Views: 1277

finding maximum to certain date

I want to create a series that is the maximum value of another series up to that date. Is there a way to do this in EViews? I can create a 1-column matrix that is equivalent to what I want, but I cannot convert it back into a time series.

Thank you.
by dasilver
Wed Aug 04, 2010 12:36 pm
Forum: Programming
Topic: counting periods after marked dates
Replies: 2
Views: 1564

Re: counting periods after marked dates

thank you very much for the reply - it was very helpful.

For future reference though, the condition was switched. If 1 is the event, then we want to increment when event = 0 as shown below.

series counter = @recode(event=0,counter(-1)+1,0)
by dasilver
Wed Aug 04, 2010 11:46 am
Forum: Programming
Topic: counting periods after marked dates
Replies: 2
Views: 1564

counting periods after marked dates

I am new to Eviews programming (with Eviews 6) and I have the following question: I have time series data with events on certain dates marked by 0's and 1's. I would like to count the number of time periods between each event. For example, I would like the first period after an event to be 1, the se...

Go to advanced search