matrix @dropcol procedure works incorrectly

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

fbrayton
Posts: 21
Joined: Wed Nov 05, 2008 11:09 am

matrix @dropcol procedure works incorrectly

Postby fbrayton » Mon Aug 19, 2013 7:44 am

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.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13319
Joined: Tue Sep 16, 2008 5:38 pm

Re: matrix @dropcol procedure works incorrectly

Postby EViews Gareth » Mon Aug 19, 2013 7:49 am

Thanks, we'll get it fixed. I doubt the : syntax is possible, but we'll look in to it.
Follow us on Twitter @IHSEViews


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 27 guests