Search found 182 matches
- Tue Jan 10, 2017 3:28 pm
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
Re: many trend in the series
solved thank you Mr Gareth and Mr starz series trends=@recode(@during("2005m01 2005m07") or @during("2005m10 2005m12") or @during("2007m01 2007m04") or @during("2008m01 2009m02"),1,0) trends=@recode(@during("2005m01 2005m07") or @during("2005m10...
- Tue Jan 10, 2017 11:52 am
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
Re: many trend in the series
i get the same result when i write this code Mr Gareth, and it take long time to use smpl each time smpl @all series ss=0 smpl 2005m01 2005m07 series ss=@recode(trends,@cumsum(trends),0) smpl 2005m10 2005m12 series ss=@recode(trends,@cumsum(trends),0) smpl 2005m10 2005m12 series ss=@recode(trends,@c...
- Tue Jan 10, 2017 4:25 am
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
Re: many trend in the series
generate trend from 2005m01 2005m07 start by 1 and finish by 7. (7 obs) generate trend from 2005m10 2005m12 srat by 1 2 3. (3 obs) generate trend from 2007m01 2007m04 start by 1 2 3 4 . (4 obs) generate trend from2008m01 2009m02 start by 1 2 3 4 5...14 (14 obs) for example if i use this code series...
- Mon Jan 09, 2017 1:47 pm
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
Re: many trend in the series
generate trend from 2005m01 2005m07 start by 1 and finish by 7. (7 obs) generate trend from 2005m10 2005m12 srat by 1 2 3. (3 obs) generate trend from 2007m01 2007m04 start by 1 2 3 4 . (4 obs) generate trend from2008m01 2009m02 start by 1 2 3 4 5...14 (14 obs) for example if i use this code series ...
- Mon Jan 09, 2017 1:11 pm
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
Re: many trend in the series
the fisrt code it generate dummy for each date, when i use in the second code @cumsum(1) it generate continuous trend.
from 2005m01 2005m07 the trend start by 1 to 7
from 2005m10 2005m12 it start by 10 to 12 (should start by 1 to 3)
........etc.
is there an easy way to do all this by simple code.
from 2005m01 2005m07 the trend start by 1 to 7
from 2005m10 2005m12 it start by 10 to 12 (should start by 1 to 3)
........etc.
is there an easy way to do all this by simple code.
- Mon Jan 09, 2017 11:16 am
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
Re: many trend in the series
any help.
- Fri Jan 06, 2017 9:15 am
- Forum: Data Manipulation
- Topic: many trend in the series
- Replies: 11
- Views: 7601
many trend in the series
Hi, i have a problem to make many trend in the series, i use this code but i get not the result (for example the year 2005m10 should start by 1 and finish by 3 not start by 10 and finished by 12), i can use step by step to make many trend (use smpl) but it take a long time because i have many trend....
- Thu May 12, 2016 10:37 am
- Forum: Programming
- Topic: Input value at specific date
- Replies: 9
- Views: 7347
Re: Input value at specific date
I've got it!, thank you.
- Thu May 12, 2016 5:38 am
- Forum: Programming
- Topic: Input value at specific date
- Replies: 9
- Views: 7347
Re: Input value at specific date
ok i understand :D 1/in the help"date1 [date2]" mean that i can chose pair of dates but by this code i get error "Syntax error" series dum2= @event("2016m2" "2016m4" "2016m6 2016m7", "mon-fri")<>0 so what does mean [date2]? and how can do m...
- Thu May 12, 2016 3:49 am
- Forum: Programming
- Topic: Input value at specific date
- Replies: 9
- Views: 7347
Re: Input value at specific date
hi, 1/to input value one to at specific date it's easy series dum = @event("2016m2"), but what this mean [date2] and [basis] in this function @event("date1 [date2]", [basis]) its like @holiday function, could you explain when i use this function (@event) and can you give an examp...
- Sat Apr 23, 2016 9:23 am
- Forum: Estimation
- Topic: theil U2 coeficient
- Replies: 0
- Views: 2527
theil U2 coeficient
hi,
is there a function for theil U2 coeficient like @theil.
is there a function for theil U2 coeficient like @theil.
- Fri Apr 22, 2016 1:34 pm
- Forum: Programming
- Topic: for loop @seas(!i)
- Replies: 2
- Views: 2755
Re: for loop @seas(!i)
thank you very much .
- Fri Apr 22, 2016 12:53 pm
- Forum: Programming
- Topic: for loop @seas(!i)
- Replies: 2
- Views: 2755
for loop @seas(!i)
hi
when i run this code i get @seas(12) in the group, how can get all 12 seasonal by loop in the group?
when i run this code i get @seas(12) in the group, how can get all 12 seasonal by loop in the group?
Code: Select all
for !i=1 to 12
group dum @seas(!i)
next
- Tue Apr 19, 2016 10:31 am
- Forum: Programming
- Topic: linefit & equation in the spool object
- Replies: 13
- Views: 8484
Re: linefit & equation in the spool object
thanks! for your help
- Tue Apr 19, 2016 9:56 am
- Forum: Programming
- Topic: linefit & equation in the spool object
- Replies: 13
- Views: 8484
Re: linefit & equation in the spool object
i get error message G_Y_X already exists in "GRAPH G_Y_X.SCAT Y X". the workfile attached group g1 y x z f h q for !i=1 to 1 %iname=g1.@seriesname(!i) for !j=!i+1 to g1.@count %jname=g1.@seriesname(!j) 'generate 5 equation equation eq_{%iname}_{%jname}.ls {%iname} {%jname} ' create 5 graph...