Search found 51 matches

by sudesh
Wed Mar 21, 2018 8:52 am
Forum: Programming
Topic: Help in changing my codes from series to matrix
Replies: 32
Views: 18469

Re: Help in changing my codes from series to matrix

Hi Matt, Step 2: I'm unable to create the threshold. Is there something wrong in what I'm doing? vector(17) tmp tmp.fill NA, -!e_75, -!e_50, -!e_40, -!e_30, -!e_25, -!e_00, 0, NA, 0, !e_00, !e_25, !e_30, !e_40, !e_50, !e_75, NA mtos(tmp, tmp2) %zsc = "zsc_" + %c + "_" + %u + &quo...
by sudesh
Wed Mar 21, 2018 8:00 am
Forum: Programming
Topic: Help in changing my codes from series to matrix
Replies: 32
Views: 18469

Re: Help in changing my codes from series to matrix

First step done: genr casenum = @recode({%zsc} > 2, 1,@recode({%zsc} >= 1.75, 2,@recode({%zsc} >= 1.50, 3,@recode({%zsc} >= 1.4, 4,@recode({%zsc} >= 1.30, 5,@recode({%zsc} >= 1.25, 6,@recode({%zsc} >= 1, 7,@recode({%zsc} >= 0.5, 8,@recode({%zsc} < -2, 9,@recode({%zsc} <= -1.75, 10,@recode({%zsc} <= ...
by sudesh
Wed Mar 21, 2018 7:38 am
Forum: Programming
Topic: Help in changing my codes from series to matrix
Replies: 32
Views: 18469

Re: Help in changing my codes from series to matrix

Hi Matt, Thanks you for your replied. It will definately reduced the processing time. I will further need your help. For example Case 1 ' when z > 2, go 100% short Case 2 'when 1.75>Z<2 , stay in the original position or enter into a new 75% short position : Therefore , genr casenum = @recode({%zsc}...
by sudesh
Tue Mar 20, 2018 1:06 pm
Forum: Programming
Topic: Eviews crashing computer after running code
Replies: 2
Views: 2386

Re: Eviews crashing computer after running code

I cant send you the workfile : File too large: eviews_forum.wf1
by sudesh
Tue Mar 20, 2018 12:55 pm
Forum: Programming
Topic: Eviews crashing computer after running code
Replies: 2
Views: 2386

Eviews crashing computer after running code

Hi, After running my loop, my two screens turn black and eviews stop responding. The workfile and the program are enclosed. I do not understand why it is not responding. Is it the fact that eviews has a memory limit( Wf was huge... 3 or 4gb)... eviews_forum_prg.prg string signal = "signal_d sig...
by sudesh
Tue Mar 20, 2018 11:50 am
Forum: Programming
Topic: @lag() - is an illegal or reserved named in ""
Replies: 3
Views: 2576

Re: @lag() - is an illegal or reserved named in ""

I installed the "2018-03-15" patch.

Now it is working. Wow... eviews is not robust!
by sudesh
Tue Mar 20, 2018 11:35 am
Forum: Programming
Topic: @lag() - is an illegal or reserved named in ""
Replies: 3
Views: 2576

@lag() - is an illegal or reserved named in ""

Hi,

Can you explain us why @lag is not working ? The function was working 1 hour ago.


matrix(2,2) tester
tester.fill 2,3,2,1

@LAG is an illegal or reserved name in "MATRIX LAG_TESTER = @LAG(TESTER,1)".
by sudesh
Mon Mar 19, 2018 9:26 am
Forum: Programming
Topic: Help in using @recode and @nan for matrix
Replies: 1
Views: 1925

Help in using @recode and @nan for matrix

Hi, I have been using this code to find the maximum length, minimum or average length of a period. However, instead of using series, I would like to use matrix to generate signal. Can anyone know how to convert this code for matrix. if @isobject("signal_"+%a+"_"+%s+"_"+...
by sudesh
Mon Mar 19, 2018 9:21 am
Forum: Programming
Topic: Help in changing my codes from series to matrix
Replies: 32
Views: 18469

Help in changing my codes from series to matrix

Hi, Can anyone help me out to optimise my code? I have been using series, but I found out that as the number of elements in the list get higher, it take hours to run this code. I would like to use matrix. Any help will be greatly appreciated. My code that I would like to change from using series to ...
by sudesh
Tue Mar 13, 2018 1:00 pm
Forum: Programming
Topic: Help for tableTdate.copyrange tableTdate1
Replies: 1
Views: 1889

Help for tableTdate.copyrange tableTdate1

Hi, I have two tables with the same number of columns. I would like to copy all the data from table 2 to table 1 at the last row of table 1. I tried this code by in vain. Scalar x =@rows(table1)+1 table2.copyrange table1 A&x. Can someone help me out for this code? Otherwise if there any way to m...
by sudesh
Mon Mar 12, 2018 10:45 am
Forum: Programming
Topic: Help for renaming element in a table
Replies: 2
Views: 2594

Re: Help for renaming element in a table

Thanks alots, it's working
by sudesh
Mon Mar 12, 2018 8:49 am
Forum: Programming
Topic: Help for renaming element in a table
Replies: 2
Views: 2594

Help for renaming element in a table

Hi, I would like to rename the element of a table from BB00 to Scenario_E_150_S_0. I tried to use the rename command however it's not working. rename tableTdate : : BB00 tableTdate : :Scenario_E_150_S_0 Any help will be greatly appreciated. My table is as follows Scenario TypeZscore Position Modèle ...
by sudesh
Mon Mar 12, 2018 7:26 am
Forum: Programming
Topic: Help in finding the corresponding date of an observation
Replies: 4
Views: 3464

Re: Help in finding the corresponding date of an observation

Thanks alots, it's working
by sudesh
Fri Mar 09, 2018 6:39 am
Forum: Programming
Topic: Help in finding the corresponding date of an observation
Replies: 4
Views: 3464

Re: Help in finding the corresponding date of an observation

Hi,

Each entry date is followed by an exit date , non overlapping period

For exemple, the first date is always an entry date( 01 jan 1970), the next is an exit date ( 01 mars 1970) and then the second entry date might be ( 01 june 1980) and so on.
by sudesh
Thu Mar 08, 2018 3:57 pm
Forum: Programming
Topic: Help in finding the corresponding date of an observation
Replies: 4
Views: 3464

Help in finding the corresponding date of an observation

Hi, I have a series with the following observations: NA, 0 , 1 and values > 1. The 1 represent the entry date and the value > 1 represent the exit date In the series, I have severals entry and exit dates. I would like to extract all entry and exit dates and save them into a table. I need to save the...

Go to advanced search