Search found 57 matches

by metrix
Fri May 05, 2017 1:24 pm
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

Promised, in the future, I will ask questions well explained
Thank you for your advice :D , and thanks for your response too about code.
Best week-end.
by metrix
Fri May 05, 2017 11:36 am
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

Import just the last date (April, August, December in every year) from my page frequency monthly to undated page.
1998m04
1998m08
1998m12
1999m04
...
2010m12.
by metrix
Fri May 05, 2017 11:14 am
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

i have use this Mr Gareth:

Code: Select all

series f=@dateadd(@datefloor(@date,"m"),3,"m")

could you help me.
by metrix
Fri May 05, 2017 9:35 am
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

How can solve my case? by @dateadd and @datefloor
by metrix
Fri May 05, 2017 7:18 am
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

if i use series f=@datefloor(@date,"m") it generate all date, inequality is to use just the 1998m04 1998m08 1998m12... in the series, I don't know how.
by metrix
Fri May 05, 2017 1:36 am
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

i have use this: but i get not the date
series f=@date<=@datefloor(@date,"m")+1 or @dateadd(@datefloor(@date,"m"),3,"m")
by metrix
Thu May 04, 2017 2:39 pm
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

Emmm :roll: , how can import just the last date by four month from my page frequency monthly.
by metrix
Thu May 04, 2017 2:31 pm
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

i get this with the code: 30/08/1998, 30/12/1998...., Aug and Dec have 31 days not 30. :mrgreen:
how can modifiend this.
by metrix
Thu May 04, 2017 2:08 pm
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

When i do a general match merge, my series date will be like this in page undated: 1998-02-15 00:00, 1998-06-16 00:00, 1998-10-16 12:00, 1999-02-15 00:00.... but i need this:

30/04/1998
31/08/1998
31/12/1998
30/04/1999
....
31/12/2010

or 1998m04, 1998m08, 1998m12....
by metrix
Thu May 04, 2017 1:08 pm
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

Re: generate date

1/ perfect thanks! :D
2/ for weeks ok!, but for month i get this: 30/08/1998, 30/12/1998, Aug and Dec have 31 days not 30
smpl @first @first
series months = @dateval("30/04/1998")
smpl @first+1 @last
months = @dateadd(months(-1), 4,"m")
by metrix
Thu May 04, 2017 11:32 am
Forum: Programming
Topic: generate date
Replies: 17
Views: 2189

generate date

I ask this question because EViews can not suport this frequency by four month. 1/i have workfile with two page with monthly frequency 1998m01 2010m12 (156 obs), and undated (156/4)=39 obs, how can generate date by every four month in the page unstructured (30/04/1998, 31/08/1998,....), or by simple...
by metrix
Wed May 03, 2017 10:11 am
Forum: Data Manipulation
Topic: repeat alpha series
Replies: 13
Views: 1568

Re: repeat alpha series

I thought it was by loop, sorry for the inconvenience.
thanks you Mr Gareth and Mr startz.
by metrix
Wed May 03, 2017 9:48 am
Forum: Data Manipulation
Topic: repeat alpha series
Replies: 13
Views: 1568

Re: repeat alpha series

Error in Sample: Numeric operator applied to string data in"SMPL IF @DATESTR(@DATE,"M")=1-1". %list = "January February March April May June July August September October November December" !num = @wcount(%list) for !i = 1 to !num smpl if @datestr(@date,"m")=!...
by metrix
Wed May 03, 2017 9:44 am
Forum: Data Manipulation
Topic: repeat alpha series
Replies: 13
Views: 1568

Re: repeat alpha series

@datestr(x,"m") Than what I put in the place x
by metrix
Wed May 03, 2017 9:28 am
Forum: Data Manipulation
Topic: repeat alpha series
Replies: 13
Views: 1568

Re: repeat alpha series

error messge Error in Sample: Incorrect number of arguments for @DATESTR function in "SMPL IF @DATESTR=1-1".

Go to advanced search