Search found 133 matches

by ch2324
Sat May 13, 2017 9:37 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

Hello,
Sorry for the delay, this help me now, thank you for your help and for your reply. :D
by ch2324
Sat May 06, 2017 7:10 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

How can import the date and the value corresponding from my page weekly to my page monthly?
e.g. the date of the last week for every month and his value.
same for the fortnight frequency.
any help would be gratefully appreciated.
by ch2324
Thu May 04, 2017 2:15 pm
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

I understand, thank you so much.
for my question about weeks and fortnight, there is no solution.
how can transfer the every last obs of week in month and date corresponding in the month from page freq weekly to the page monthly freq.
series date_lastw, series obs_lastw
by ch2324
Thu May 04, 2017 10:47 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

Sorry i haven't seen your reply. thank you.
how can loop like this: d_Mon_Thu_01, d_Thu_Tue_02, d_Tue_Fri_03, d_Fri_Wed_04, d_Wed_Sat_05.
by ch2324
Wed May 03, 2017 11:07 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

Thank you EViews Mirza. 1/the code below it work but it generate 9 series just i need this: d_mon_thu_01, d_thu_fri_02, d_wed_sat_03 wfcreate m 1976m01 1990m12 !i=0 for %m Mon Tue Wed for %n Thu Fri Sat !i=!i+1 series d_{%m}_{%n}_0!i=@daycount((%m)+" "+ (%n)) next next 2/ and for my questi...
by ch2324
Wed May 03, 2017 8:38 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

i would like to loop with three different ways by @daycount: 1)the loop below generate 49 series, i would like to generate just 7 series d_mon_01,...,d_sun_07. wfcreate m 1976m01 1990m12 for %d Mon Tue Wed Thu Fri Sat Sun for !i=1 to 7 series d_{%d}_0!i=@daycount(@str(!i)) next next 2)manually it wo...
by ch2324
Tue May 02, 2017 8:50 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

Hi,
I see what do you mean Mr startz. Got it!
by ch2324
Mon May 01, 2017 2:15 pm
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

it works 100%. :) :D
thanks you so much EViews Matt & EViews Mirza.
a last question: how can genarate series contained number of weeks in month or in quarterly?
by ch2324
Mon May 01, 2017 11:47 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

Re: loop with @daycount

Hi, Thank you for your response. :D 1/i get error message when i run the program. " D08 is not defined in "SERIES X0!J=D08-D07"." but i have not generate d08. ' part 1 trade for !i=1 to 7 series d0!i=@daycount(@str(!i)) next group g1 d* equation eq_trade.ls y c g1 'part 2 model01...
by ch2324
Mon May 01, 2017 7:23 am
Forum: Programming
Topic: loop with @daycount
Replies: 16
Views: 4501

loop with @daycount

Hi for all, I have three problem with my three parts of program a) when i use the command manually series d01=@daycount("1"), ..., series d07=@daycount("7") it work but by loop it doesn't work i receive an error message. for the second part i would like to make x01=d01-d07, x02=d...
by ch2324
Mon May 01, 2017 3:20 am
Forum: General Information and Tips and Tricks
Topic: trading day variables
Replies: 6
Views: 2546

Re: trading day variables

thanks anyways :) .
by ch2324
Sun Apr 30, 2017 2:57 pm
Forum: General Information and Tips and Tricks
Topic: trading day variables
Replies: 6
Views: 2546

Re: trading day variables

in first: for group i have solved. secondly: i'm not sure to solve this three loops: i have use %m=str(!i) 1st loop for !i=1 to 7 series d0!i=@daycount("!i") next 2rd loop series x07=@daycount for !j=1 to 6 series x0!j=d0!i-d07 next 3nd loop for !m=1 to 3 for !n=5 to 7 series d0!m=@daycoun...
by ch2324
Sun Apr 30, 2017 11:07 am
Forum: General Information and Tips and Tricks
Topic: trading day variables
Replies: 6
Views: 2546

Re: trading day variables

Aha, 1/ my loop doesn't work: for !i=1 to 7 series d0!i=@daycount("!i") next 2/ how can from the group g2 make two groups, the frist contain first diff, the second contain first diff+ seasonal diff "d(x,1,12)", i have make this but doesn't work: group dg2 group dsg2 for !k=1 to x...
by ch2324
Sun Apr 30, 2017 5:36 am
Forum: General Information and Tips and Tricks
Topic: trading day variables
Replies: 6
Views: 2546

trading day variables

Hi, 1/I have data monthly from 2000m01 2015m12, my probleme is to create some series contained numbers of day, weeks, or nombers of weekday (Mondays, Tuesdays,..., Sundays) in month or in quarterly, and make the sum by row or by function for my seris "x_07" with the following code: (the co...
by ch2324
Thu Apr 27, 2017 10:11 am
Forum: General Information and Tips and Tricks
Topic: use @expand by specific years, and replicate trend
Replies: 8
Views: 3241

Re: use @expand by specific years, and replicate trend

I understand well now.
thank you so much. :D

Go to advanced search