I have been unable to get @dropcol to work as described. For example: I define the 4x4 matrix E to contain the integers 1 through 16 ordered by column, and then create F as
matrix F = E.@dropcol(1)
expecting to get back a 4x3 matrix with the integers 5-16 ordered by column. Instead, F is a 3x4 matrix with zeros in its last column.
A comment: I would find it useful if the ".fill" procedure would permit the i1:i2 syntax to load a sequence of integers, as in
matrix(4,4) E
E.@fill 1:16
or
E:@fill 5:8,21,32:35
This would be useful for the @row(i), @col(i), @droprow(i), @dropcol(i) matrix commands, as an ability to create sequences of integers would facilitate the construction of vector argument i in many applications.
matrix @dropcol procedure works incorrectly
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: matrix @dropcol procedure works incorrectly
Thanks, we'll get it fixed. I doubt the : syntax is possible, but we'll look in to it.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 27 guests