Hi,
Is there a direct way to index and manipulate matrix rows or columns in Eviews? For example:
mX[*,2] = mX[*,2] + vY ' (Add the vector vY to the second column of mX)
I have used:
vX2 = @columnextract(mX,2)
vX2plusY = vX2 + vY
colplace(mX,vX2plusY,2)
But this method is rather tedious compared to more direct methods...
Thanks,
Erik Glans
NIER, Sweden.
Indexing entire rows or columns in a matrix
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Indexing entire rows or columns in a matrix
Unfortunately that is the only way.
Who is online
Users browsing this forum: No registered users and 2 guests
