Search found 25 matches

by bhaupt
Thu Aug 16, 2012 5:26 am
Forum: Programming
Topic: stop a program
Replies: 1
Views: 4073

Re: stop a program

for !i = 1 to 10000 [program iterations] if [condition] then exitloop endif next or alternatively !i = 1 !exit = 0 while !i <= 10000 and !exit=0 [program steps] if [condition] then !i = !i + 10 'here I am allowing for a conditon to decrease the number of iterations endif if [condition] then !exit =...
by bhaupt
Tue Aug 14, 2012 6:07 am
Forum: Programming
Topic: Programatically list/delete/test existence of model scenario
Replies: 1
Views: 3672

Programatically list/delete/test existence of model scenario

Within a given model object is it possible to list the different scenarios, get a count of scenarios in the model, traverse the list of scenarios and delete scenarios that need to be rebuilt. Ultimately what I want to do is test to see if a scenario exists, and then delete it so I can recreate it. S...
by bhaupt
Tue Jun 19, 2012 8:46 am
Forum: Models
Topic: Conditional sampling within a model object?
Replies: 3
Views: 9161

Re: Conditional sampling within a model object?

This worked perfectly. The sub-model takes forecast inputs, segments by holdiay and non-holiday, lags each properly, combines them back to the appropriate series, and provides usable inputs for the model. Incorporating @iif into the structure was exactly what was needed. With that said, at the end I...
by bhaupt
Mon Jun 18, 2012 10:43 am
Forum: Models
Topic: Conditional sampling within a model object?
Replies: 3
Views: 9161

Re: Conditional sampling within a model object?

Excellent! I'm making the changes to the older equations and I'll give it a go. I'll let you know how it works. Thank you!
by bhaupt
Mon Jun 18, 2012 8:49 am
Forum: Models
Topic: Conditional sampling within a model object?
Replies: 3
Views: 9161

Conditional sampling within a model object?

In a standard databanking routine I apply a lag effect to a discrete distribution to create several of my model inputs. Recently I have moved from using a single response curve to using a set of response curves with seasonal differences (Holiday and Non-Holiday). To explain the historical data, this...
by bhaupt
Fri Mar 16, 2012 8:57 am
Forum: Data Manipulation
Topic: test wfopen or wfcreate
Replies: 4
Views: 6942

Re: test wfopen or wfcreate

Perfect. Thank you very much.
by bhaupt
Fri Mar 16, 2012 7:53 am
Forum: Data Manipulation
Topic: test wfopen or wfcreate
Replies: 4
Views: 6942

Re: test wfopen or wfcreate

@fileexist will provide the functionality that I want. Quick followup: Ideally if the workfile is already open when I execute my code, I would prefer to *not* re-open the workfile. is there a workfile command that will identify whether the workfile is already open? I have considered testing the equa...
by bhaupt
Fri Mar 16, 2012 5:33 am
Forum: Data Manipulation
Topic: test wfopen or wfcreate
Replies: 4
Views: 6942

test wfopen or wfcreate

Eviews 7.2: Does wfopen provide some sort of error trapping that would allow me to test to see if a workfile exists, and load it, otherwise wfcreate such a workfile? Currently, when I open a non-existant workfile I get the message: [path]\[filename].wf1 not found on disk in "[disk name] No work...
by bhaupt
Wed Mar 02, 2011 1:38 pm
Forum: Econometric Discussions
Topic: Highy correlated series and seasonal adjustment
Replies: 0
Views: 2614

Highy correlated series and seasonal adjustment

In doing a little posthumous data cleanup, I was examining two highly correlated monthly series (one is generated as a subset of the other) I hit an odd quandary. The principal series has a strong summer and winter component; the subset series has only a strong winter component. In the decomposition...
by bhaupt
Wed Feb 02, 2011 7:16 am
Forum: Programming
Topic: setobslabel(series) order of events
Replies: 2
Views: 5215

Re: setobslabel(series) order of events

Thanks - that was exactly it.
by bhaupt
Tue Feb 01, 2011 3:27 pm
Forum: Programming
Topic: setobslabel(series) order of events
Replies: 2
Views: 5215

setobslabel(series) order of events

I am using the latest build of eviews 7.1. I want to use an alpha series in place of my date series along the bottom axis. If I build the graph through the menus and options, it works properly; however, if I try to use te setobslabel in my code it seems to not work. I assume I have a contradictory s...
by bhaupt
Tue Dec 21, 2010 11:11 am
Forum: Data Manipulation
Topic: @function for Normalizing Graph Data
Replies: 0
Views: 4180

@function for Normalizing Graph Data

Is there an @ function to generate the series as normalized when graphed (Axis Scale Option: Normalize Data). I have searched on both standardize and normalize and have yet to find how the resulting series is made.

Eviews 7.1
by bhaupt
Tue Oct 12, 2010 11:38 am
Forum: Programming
Topic: pagestack
Replies: 0
Views: 2720

pagestack

I need to export a number of balanced series after importing them, balancing the datasets and converting from weeks to days. (I am doing an intermediate export to join them to a preexisting SAS dataset). I made the assumption that to stack up a datafile that it would be similar to how I unstack the ...
by bhaupt
Tue Sep 28, 2010 5:11 am
Forum: Programming
Topic: @first and @last equivalents for smpl?
Replies: 9
Views: 12511

Re: @first and @last equivalents for smpl?

In this case the simple solution will work as a subroutine. If I do find I need to handle conditional sampless I can use this as a foundation. Thank you all for your replies. (And yes, Starz -I am in the process of constructing 100+ system models each of which have different data holes. Each unique ...
by bhaupt
Mon Sep 27, 2010 10:27 am
Forum: Programming
Topic: @first and @last equivalents for smpl?
Replies: 9
Views: 12511

Re: @first and @last equivalents for smpl?

@obs and @nas provide results relative to the workfile, not relative to the sample.

Go to advanced search