Search found 55 matches

by cap
Wed Feb 02, 2011 5:11 pm
Forum: Estimation
Topic: Dummy Variable for time period
Replies: 4
Views: 5049

Re: Dummy Variable for time period

Greetings,

Could you comment on how you might best specify a dummy for something like, 2006Q2 - 2009Q3 ?


Thanks,
-cap
by cap
Wed Oct 06, 2010 12:10 pm
Forum: Programming
Topic: Eviews 7.1 - backwards compatibility, graph templates
Replies: 5
Views: 5008

Re: Eviews 7.1 - backwards compatibility, graph templates

I've written some more stand alone code that recreates the dialog box error I first mentioned, and I'm not sure what is causing it. ' Create a figure to be used as template source create u 100 series a = rnd series b = rnd + 25 group mydata a b graph template_source.line a b template_source.setelem(...
by cap
Tue Sep 28, 2010 2:27 pm
Forum: Programming
Topic: Eviews 7.1 - backwards compatibility, graph templates
Replies: 5
Views: 5008

Re: Eviews 7.1 - backwards compatibility, graph templates

My workfile does have both graph objects existing before the code is run. The first figure gets deleted prior to when the above mentioned line of code is run, while the other figure remains untouched so that it can be used as a template source. This code has worked fine so far for years using versio...
by cap
Mon Sep 27, 2010 12:46 pm
Forum: Programming
Topic: Eviews 7.1 - backwards compatibility, graph templates
Replies: 5
Views: 5008

Eviews 7.1 - backwards compatibility, graph templates

Greetings, I have a program I wrote in Eviews 6 which works fine. I have just installed Eviews 7.1, and now when I run the program it creates an error message. The line of code in question tries to apply the template from one graph to another graph, like so: figure_data_use.template(t) _figure_data_...
by cap
Fri Feb 05, 2010 12:55 pm
Forum: Programming
Topic: For loops
Replies: 1
Views: 2879

For loops

Greetings, I am having trouble with the following for loop. I would like to make every 12th observation equal to a certain number: create u 500 series myvar = 0 for !i = 1 to 30 step 12 series myvar(!i) = 5 next but when I run this code, every single observation, for the whole length of the series, ...
by cap
Thu Dec 31, 2009 2:35 pm
Forum: Programming
Topic: change active workfile page
Replies: 1
Views: 3312

change active workfile page

Greetings, I am using a workfile with multiple pages. The program I am writing starts out with some certain page as the active page, but part of my program needs to modify a series on a different page (say, create a lag variable of some certain series on that page). In my code, how can I change what...
by cap
Wed Dec 16, 2009 9:44 am
Forum: Programming
Topic: user defined functions?
Replies: 3
Views: 4888

Re: user defined functions?

Has there ever been any talk of putting this into a future Eviews release? It would be extremely useful.


Thanks,
-cap
by cap
Tue Dec 15, 2009 3:18 pm
Forum: Programming
Topic: user defined functions?
Replies: 3
Views: 4888

user defined functions?

Greetings, I hope this is not too elementary of a question ... is it possible to write functions in Eviews that directly return some output? For example, can I write some function and then use it on the right hand side of an assignment statement, like mynumber = product(2,3), and get mynumber=6. I a...
by cap
Mon Dec 14, 2009 11:10 am
Forum: Programming
Topic: Output to .rtf - landscape
Replies: 1
Views: 2827

Output to .rtf - landscape

Greetings,

Is it possible to specify a landscape orientation when sending output to an rtf file?


I have tried the following, which doesn't seem to work:

output(r) c:\mygraphs
print(l) figure1


Thanks in advance,
-cap
by cap
Fri Oct 23, 2009 8:52 am
Forum: Programming
Topic: Graph option - NA Handling, connect adjacent observations
Replies: 2
Views: 3601

Re: Graph option - NA Handling, connect adjacent observations

Works perfectly, thanks very much!
by cap
Thu Oct 22, 2009 9:06 am
Forum: Programming
Topic: Graph option - NA Handling, connect adjacent observations
Replies: 2
Views: 3601

Graph option - NA Handling, connect adjacent observations

Greetings, In my workfile I have a graph already made (a line graph of several variables in a group), and would like to create a new graph (a line graph of the same variables in the group) using it as a template. However, one feature that exists in the original graph does not seem to be carried over...
by cap
Thu Sep 24, 2009 6:52 am
Forum: Suggestions and Requests
Topic: Tolerance Levels and other Collinearity Diagnostics
Replies: 11
Views: 14908

Re: Tolerance Levels and other Collinearity Diagnostics

I was just looking to see if any of the diagnostics from BKW were in Eviews. As for its usefulness, while collinearity doesn't make it incorrect to perform inference on the slope coefficients, it makes for poor quality results of this inference (eg, very wide confidence intervals). The user who perf...
by cap
Thu Sep 10, 2009 10:13 am
Forum: Programming
Topic: use control variable when naming a string variable
Replies: 1
Views: 3931

use control variable when naming a string variable

Hello, I would like to have a for loop where my control variable is used in the name of strings that I define. The documentation mentions how to do this when naming series, but not when defining names for strings. I have tried the following, but get errors: for !i = 1 to 3 %stringname_!i = @right(my...
by cap
Thu Sep 03, 2009 9:13 am
Forum: Programming
Topic: @insert function for strings
Replies: 3
Views: 4088

Re: @insert function for strings

Thanks startz, that followed up with @elem() does allow me to get the particular string I want.

It would still be nice to see if the original @insert function could be made to work though (thanks Gareth).



-cap
by cap
Wed Sep 02, 2009 4:01 pm
Forum: Programming
Topic: @insert function for strings
Replies: 3
Views: 4088

@insert function for strings

Hello, I am trying to use the @insert function, and it seems to generate errors in even the simplest attempt at using it. For example, if I have the line: %mystr = @insert("helo","l",3) then I get the error message %MYSTR is not defined or is an illegal command How should I be us...

Go to advanced search