Thanks! :D@val
Search found 7 matches
- Sun Jun 22, 2014 5:51 pm
- Forum: Programming
- Topic: How to convert string to numeric?
- Replies: 2
- Views: 6483
Re: How to convert string to numeric?
- Wed Jun 18, 2014 8:40 pm
- Forum: Programming
- Topic: How to convert string to numeric?
- Replies: 2
- Views: 6483
How to convert string to numeric?
Hey everyone! I am using @str(.) to convert a number to a string. But how can I do the opposite. To convert a numeric value string to a number? since I am using @abs(.) to compute the absolute value of a number, I am using myTable(1,1)(table myTable) like to transfer the value, but the error message...
- Wed Jun 18, 2014 6:11 pm
- Forum: Programming
- Topic: How to get the result of CROSS
- Replies: 0
- Views: 1658
How to get the result of CROSS
Hey everyone! I now have 500 some variables, let's say X1 to X500 and a depend variable Y. I am using CROSS to compute the correlation coefficient between Y and Xn 12 terms lead and 12 terms lag. I wanna know is there any way I can set a threshold like 0.6, then If all the 24 correlation coefficient...
- Thu Jun 05, 2014 6:54 pm
- Forum: Data Manipulation
- Topic: What does the dash line mean in CROSS diagram?
- Replies: 0
- Views: 1705
What does the dash line mean in CROSS diagram?
Hey everyone! I have been used CROSS command to compute cross relationship of two variables. Here is a snapshot of the result. http://d.pcs.baidu.com/thumbnail/f6f85b091382f2253241464764aeabc3?fid=1346507329-250528-817341217773917&time=1402016400&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-...
- Wed Jun 04, 2014 7:33 pm
- Forum: Programming
- Topic: Is there any way to compute CROSS efficiently?
- Replies: 4
- Views: 3828
Re: Is there any way to compute CROSS efficiently?
got it! I have tried to do this in this way, since I am a rookie of eviews, I failed then.Of course if the variables are really called X1...X500 you don't need to use anything to store the names, just use:Code: Select all
%varname = "x" + @str(!i)
Thanks! this way is much better!
- Wed Jun 04, 2014 7:23 pm
- Forum: Programming
- Topic: Is there any way to compute CROSS efficiently?
- Replies: 4
- Views: 3828
Re: Is there any way to compute CROSS efficiently?
Use an SVECTOR rather than a series alpha.
SVECTORs do not have to be workfile length - they can be any length you want.
You can access an individual element of an SVECTOR through the svector(!i) syntax, which you can't always do with a series alpha.
Thanks, it works!
- Wed Jun 04, 2014 7:06 pm
- Forum: Programming
- Topic: Is there any way to compute CROSS efficiently?
- Replies: 4
- Views: 3828
Is there any way to compute CROSS efficiently?
Hi everyone! Now I have 500 some independ variables marked as: x1, x2, x3, .... and one depend variable y. I wanna know the lag and lead of each x correspond to y. Since the number of varibles is too many, so I go for a programme like this: For !intI = 1 To 500 %varName = indepvarlist(!intI) group m...
