Search found 81 matches

by clubmed
Wed May 24, 2017 1:50 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

Thanks for this few lines, it was help me to understand the logic of loop for, now i can rename all pages with loop, but i get error message. i will look if i can solve this.... :roll: i hope
by clubmed
Mon May 22, 2017 2:44 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

Hello,
Are there a solution for my loop for, could someone help me. :cry:
by clubmed
Fri May 19, 2017 2:06 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

How can rename my all pages untitled, by page_01 page_02....etc, and switch bitween pages and extract coefs from equations objects.
with my program and data.
by clubmed
Wed May 17, 2017 9:06 am
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

1/I have use this code to rename all Untitled pages page_1, page_2,...: but i get error message. %mypages = @pagelist for !r=1 to @pagecount %page="page_"+@str(!r,"r02") for %1 %2 {%mypages} {%page} pagerename {%mypages} {%page} next next 2/I dont't now why i cannot extract all c...
by clubmed
Mon May 15, 2017 3:03 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

There are always keywords in your answers, it's pleasure to read them :) . first, i agree that i have not use a methodology "loop for" in my code. i have problem to rename my pages Untitled page01 Untitled1 page02 Untitled2 page03.......( i can use this code it works, but i prefer to use @...
by clubmed
Sun May 14, 2017 3:25 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

I have add 6 lines in the first of the code to rename the untitled pages to page_0!r, but it rename just the first page.
I get error message for my full program: 16 is not a valid index for vector-series-coefficient in "SERIES D_{%EQ} = EQ04.@COEF(4+12)".
by clubmed
Sat May 13, 2017 4:10 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

1/ with @wlookup @pagelist that i can rename all coefs series like this: d_{name of equation}_{name of page} (for @wlookup if i don't know what their names of equations), and the function @pageselect to switch between pages.
2/ equation eq02 have 4 coefs (@quarter=1 to @quarter=4).
by clubmed
Fri May 12, 2017 2:27 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

1/Could you give an example on @pagelist and @pageselect (loop), I would also prefer to use @wlookup. 2/I get error message 7 is not a valid index for vector-series-coefficient in "SERIESD_{%EQ} = EQ02.@COEF(4+3)". and the code generate just d_eq02 with two obs otherwise NAs. this is just ...
by clubmed
Thu May 11, 2017 8:19 am
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

I totally agree, i would like to use functions @wlookup, @pagelist, @pageselect (Personal motivation :) ), rather than use a %eqlist, and to simplify my program by functions.
by clubmed
Thu May 11, 2017 5:53 am
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

1/ this is my workfile "test1" about the error massage. (it is just the test about if i can rename my series by @wlookup) 2/ Here is some detail on what I'm trying to do: I have workfile with three page (same size weekly freq "05/01/1998 30/12/2002") named like this: page1, page2...
by clubmed
Wed May 10, 2017 3:20 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

I get error message when i renamed the part of my series coefs: 7 is not a valid index for vector-series-coefficient in "SERIES D_{%EQ} = EQ02.@COEF(2+5)". %eqlist = @wlookup("*","equation") !n = @wcount(%eqlist) for !j=1 to !n %eq = @word(%eqlist, !j) next for !i=1 to ...
by clubmed
Wed May 10, 2017 9:10 am
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

That's what i need exactly, but i get message error if i rename my coefs series by the name of object. I would just to loop from my three page, and use @pagelist and @pageselect, and rename series coefs by the name of page selected "series {!j}_{page1}_w". could you give an example about @...
by clubmed
Tue May 09, 2017 9:10 am
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

I have the same size of my workfile for all the three pages ("weekly frequency" 05/01/1998 30/12/2002) the difference in the data ok!, i have make three page to organize my data. I need to extract dummy coefficients. (probably the function @wlookup do this) page1: equation object eq01_p1_w...
by clubmed
Tue May 09, 2017 5:05 am
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Re: Extract coefs form different objects, double seasonal

Hi, 1/I have workfile with three page with a same frequency weekly, the first page contain series (gdp, oil, gas, usd, euro), the second page contain series (rgdp, oil, gas, usd, euro), the third page contain series (rgdp2, oil, gas, usd, euro). I have estimate some models in each different page: f...
by clubmed
Mon May 08, 2017 2:45 pm
Forum: Programming
Topic: Extract coefs form different objects, double seasonal
Replies: 24
Views: 17054

Extract coefs form different objects, double seasonal

Hi, 1/I have workfile with three page with a same frequency weekly, the first page contain series (gdp, oil, gas, usd, euro), the second page contain series (rgdp, oil, gas, usd, euro), the third page contain series (rgdp2, oil, gas, usd, euro). I have estimate some models in each different page: fo...

Go to advanced search