Search found 25 matches

by bobshackleton
Tue Oct 15, 2013 10:22 am
Forum: Programming
Topic: How can I test if an object exists?
Replies: 12
Views: 25765

Re: How can I test if an object exists?

Got it - thanks!
by bobshackleton
Fri Oct 11, 2013 3:57 pm
Forum: Programming
Topic: How can I test if an object exists?
Replies: 12
Views: 25765

Re: How can I test if an object exists?

I guess I should say that I'm getting the following error message:

"%all is not defined or is an illegal command in "%all = @wquery(...)""

The database is correctly named in the error message.
by bobshackleton
Fri Oct 11, 2013 3:55 pm
Forum: Programming
Topic: How can I test if an object exists?
Replies: 12
Views: 25765

Re: How can I test if an object exists?

Thanks. I'm having a bit of trouble getting @wquery to work. What am I doing wrong in this code?

%database = %file_old_cgraw_a + ".edb"
%all = @wquery(%database, *, "series")
by bobshackleton
Fri Oct 11, 2013 1:02 pm
Forum: Programming
Topic: How can I test if an object exists?
Replies: 12
Views: 25765

Re: How can I test if an object exists?

I guess I should say that I'm using Eviews 8 Enterprise Edition, 64-bit version.
by bobshackleton
Fri Oct 11, 2013 12:47 pm
Forum: Programming
Topic: How can I test if an object exists?
Replies: 12
Views: 25765

Re: How can I test if an object exists?

Hi, I'm having a similar problem but not finding a solution. the following code doesn't create any line graphs, so I think the text inside @isobject is not correct. I have a workfile open and also a database open, and I'm trying to create a line graph only if the series is in the database. Could you...
by bobshackleton
Thu Jan 12, 2012 9:57 am
Forum: Data Manipulation
Topic: "More than one source value with contraction disallowed"
Replies: 1
Views: 3980

"More than one source value with contraction disallowed"

If I get the error message "More than one source value with contraction disallowed." while attempting to copy a monthly data series of integers (1's, 0's or -1's) from a database to a quarterly page in a workfile, what could the problem be? The only thing I can imagine is that it has to do...
by bobshackleton
Tue Jul 19, 2011 11:19 am
Forum: Data Manipulation
Topic: Graphing transforms of variables from databases - labels
Replies: 1
Views: 3068

Graphing transforms of variables from databases - labels

One of our bread-and-butter tasks is to compare and graph variables between one forecast run to another, with each forecast run in its own database. To ease this process, we ensure that every variable in a database gets a displayname that includes the name of the run (e.g. CG110709b::qgdp, where qgd...
by bobshackleton
Wed May 25, 2011 9:23 am
Forum: Data Manipulation
Topic: Graph display names
Replies: 1
Views: 3304

Graph display names

This code yields a graph title: graph graphname.line series1 series 2 graphname.addtext "Title of Graph" but this code not only doesn't yield a title but also doesn't put anything in the displayname field: graph graphname.line series1 series 2 graphname.displayname Title of Graph Any sugge...
by bobshackleton
Wed May 25, 2011 7:26 am
Forum: Data Manipulation
Topic: Command-line graphing @ native frequency
Replies: 1
Views: 3068

Command-line graphing @ native frequency

These commands, issued in a page with a quarterly frequency, link ehhcfe1.linkto Annual\ehhcfe graph ehhc_lc1.line lcfe ehhcfe1 result in a graph in which both series are graphed at their native frequency (the default). However these commands: link ehhcfe1.linkto Annual\ehhcfe graph ehhc_lc1.line @p...
by bobshackleton
Wed May 04, 2011 1:09 pm
Forum: Data Manipulation
Topic: Lagrangian interpolation?
Replies: 1
Views: 3177

Re: Lagrangian interpolation?

Actually, it looks as though the Denton procedure at this post is a superior method anyway:

http://forums.eviews.com/viewtopic.php?f=15&t=1342

Many thanks to sdudek!
by bobshackleton
Tue May 03, 2011 2:05 pm
Forum: Data Manipulation
Topic: Lagrangian interpolation?
Replies: 1
Views: 3177

Lagrangian interpolation?

Has anyone written a Lagrangian interpolation procedure to fit the pattern of one high-frequency series while converting a different low-frequency series to the higher frequency? I would dearly love to avoid writing it myself ...
by bobshackleton
Wed Apr 20, 2011 10:38 am
Forum: Data Manipulation
Topic: Inserting sample string in @mean
Replies: 2
Views: 4884

Re: Inserting sample string in @mean

OK thanks!
by bobshackleton
Wed Apr 20, 2011 6:42 am
Forum: Data Manipulation
Topic: Inserting sample string in @mean
Replies: 2
Views: 4884

Inserting sample string in @mean

Could someone explain what the problem is with this code: %sample_string = @str({%date_project_begin}) + " " + _ @str({%date_project_bbox_end}) scalar mean_inventory_change = @mean(dbbinv, %sample_string) As far as I can see %sample_string is inserting two years and a space enclosed by quo...
by bobshackleton
Fri Apr 15, 2011 1:06 pm
Forum: Data Manipulation
Topic: Cubic spline interpolation
Replies: 0
Views: 3242

Cubic spline interpolation

I need to impose curve-smoothing interpolations on a large number of data series - basically eliminating a number of linearly changing data points on either side of a kink and impsoing a smooth curve. The Cardinal and Catmull-Rom spline methods in the ipolate procedure produces s-curves rather than ...
by bobshackleton
Wed Apr 13, 2011 11:21 am
Forum: Data Manipulation
Topic: Inserting remarks
Replies: 2
Views: 4114

Re: Inserting remarks

OK. Figured it out finally. It's

Code: Select all

dicnr.label(r) Hi Mom

Go to advanced search