Search found 16 matches

by Vladimir_Yorrick
Wed Jan 22, 2014 11:26 pm
Forum: Programming
Topic: Custom obs labels in date axis
Replies: 1
Views: 3408

Custom obs labels in date axis

Hello, EViews 8 Jun 19 2013 build I would like to blank out (-label) the date axis of a graph (axis(b)) object, thus getting rid of 2009, 2010, 2013, 2014, 2015, 2016, 2017, and instead adding a custom label in the form of an existing alpha (T-3, T-2,T-1,T,T+1,T+2,T+3). I checked 'axis' and 'datelab...
by Vladimir_Yorrick
Tue Oct 22, 2013 8:02 pm
Forum: Programming
Topic: Copy/Extract objects using pagecopy
Replies: 2
Views: 3920

Re: Copy/Extract objects using pagecopy

Great, thanks Gareth.
by Vladimir_Yorrick
Tue Oct 22, 2013 7:52 pm
Forum: Programming
Topic: Copy/Extract objects using pagecopy
Replies: 2
Views: 3920

Copy/Extract objects using pagecopy

EViews 8 (Jun 19 build) Hi, I have a question on copying objects to another page (by value). This does what I want: wfcreate(page=Page1) u 100 series x = nrnd series y = nrnd pool Panel1 al ak ar store(o) Panel1 pagecopy(bylink,page=Page2) x y fetch Panel1 But can I do it without store/fetch using s...
by Vladimir_Yorrick
Wed Sep 25, 2013 6:51 pm
Forum: Data Manipulation
Topic: Using import/wfopen instead of read
Replies: 19
Views: 59378

Re: Using import/wfopen instead of read

Cool, thanks Gareth. It now runs in half the time (and having the Excel file open is actually what I'd prefer). One thing though ... in my case using import is still considerably slower than using the old read command (with a .xls file). I wonder if it's because import caters for many more 'argument...
by Vladimir_Yorrick
Wed Sep 25, 2013 4:48 pm
Forum: Data Manipulation
Topic: Using import/wfopen instead of read
Replies: 19
Views: 59378

Re: Using import/wfopen instead of read

Hi, I'm hoping to get some advice on using 'import' with Excel 2010 (.xlsx) files. With Gareth's help, I can import my data (very straighforward stuff/arrangement, nothing tricky, all 'tables' of same dimensions) without problems. But it is slow. It takes almost 20 seconds to run the program where a...
by Vladimir_Yorrick
Fri Sep 20, 2013 12:53 am
Forum: Data Manipulation
Topic: Using import/wfopen instead of read
Replies: 19
Views: 59378

Re: Using import/wfopen instead of read

Hi Gareth, I don't mean to be annoying but something is bothering me. Could you please try the sequence of experiments below. 1. Using the data.xls file above, run: tic wfcreate a 1995 2015 for %sheet sheet1 sheet2 sheet3 sheet4 sheet5 read(t,s={%sheet},d4) data.xls 5 next !elapsed = @toc statusline...
by Vladimir_Yorrick
Wed Sep 18, 2013 10:12 pm
Forum: Data Manipulation
Topic: Using import/wfopen instead of read
Replies: 19
Views: 59378

Re: Using import/wfopen instead of read

Thanks very much Gareth for your suggestion. This does what I want it to do: wfopen data.xls range="Sheet1!c1:x8" byrow import data.xls range="Sheet2!c1:x8" byrow import data.xls range="Sheet3!c1:x8" byrow import data.xls range="Sheet4!c1:x8" byrow import data...
by Vladimir_Yorrick
Tue Sep 17, 2013 5:10 pm
Forum: Data Manipulation
Topic: Using import/wfopen instead of read
Replies: 19
Views: 59378

Re: Using import/wfopen instead of read

Thanks for the suggestion. A couple more questions: 1. How can I make it read in or create the dates (i.e. 1995 2015)? 2. I actually have more like 40 worksheets. How would I make it import the data (all located in the same cell locations) in all sheets in as few lines of code as possible, since wfo...
by Vladimir_Yorrick
Mon Sep 16, 2013 12:50 am
Forum: Data Manipulation
Topic: Using import/wfopen instead of read
Replies: 19
Views: 59378

Using import/wfopen instead of read

Hi, Can someone please help me with an efficient use of import or wfopen instead of read in: wfcreate a 1995 2015 for %sheet sheet1 sheet2 sheet3 sheet4 sheet5 read(t,d4,s={%sheet}) data.xls 5 next The code above is nice since it automatically reads in the variable names (located in column c). FYI, ...
by Vladimir_Yorrick
Fri Jan 29, 2010 12:55 am
Forum: Data Manipulation
Topic: Dummy variables: Creating by mapping to an Alpha series.
Replies: 4
Views: 7555

Re: Dummy variables: Creating by mapping to an Alpha series.

Thanks Gareth. I'm still having some problems with this. FYI, my alpha series Country is a lot larger than 15 observations and contains country codes that are not listed in alphabetical order. After creating the group g, the group members will be: CODE="AUT" CODE="BLX" CODE="...
by Vladimir_Yorrick
Wed Jan 27, 2010 10:41 pm
Forum: Data Manipulation
Topic: Dummy variables: Creating by mapping to an Alpha series.
Replies: 4
Views: 7555

Dummy variables: Creating by mapping to an Alpha series.

Hi, I am using EViews 7. In an undated workfile with range = 15 I have an alpha series named Country: Country = {AUT, AUT, AUT, BLX, BLX, BLX, BLX, BGR, BGR, CYP, CYP, CYP, CYP, CYP, CZE}. Is there an easy way for me to create the following five dummies? d_AUT = {1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
by Vladimir_Yorrick
Wed Mar 11, 2009 1:34 am
Forum: Data Manipulation
Topic: Addtext proc.
Replies: 3
Views: 6659

Addtext proc.

Hello,

I'd like to add 'left rotated' text on a graph but positioned using coordinates.

If I do "graph.addtext(0.80,0.60,l) Hello" the "l" option ignores the (0.8,0.6) coordinates.

Can someone show me how I can overcome this?

Thanks.

Vlad.
by Vladimir_Yorrick
Wed Oct 15, 2008 12:12 am
Forum: Data Manipulation
Topic: Mean, @mean, Average
Replies: 2
Views: 27105

Re: Mean, @mean, Average

Thanks Gareth ... that worked.

Sorry I wasn't clear. I have 3 time series W, X, Y. I'd like to generate a new series Z which, at each obervation, we have the average of W, X and Y. Kinda like the average(b2:d10) type function in Excel.
by Vladimir_Yorrick
Tue Oct 14, 2008 11:47 pm
Forum: Data Manipulation
Topic: Mean, @mean, Average
Replies: 2
Views: 27105

Mean, @mean, Average

Hi,

Is there a function to calculate the average of multiple series, eg.

smpl 1990 2007
series z = (w+x+y)/3
show z

@mean(w,x,y,"1990 2007") would return an error since @mean essentially works on just one series (?).

Go to advanced search