Vector type is matrix

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

ErikG
Posts: 54
Joined: Wed Jan 23, 2013 1:18 am

Vector type is matrix

Postby ErikG » Tue Apr 10, 2018 1:33 am

Hi,

In eviews 10 the type returned for both vectors and row vectors is MATRIX:

Code: Select all

WfCreate C:\temp\temp.wf1 u 1
Matrix mX
Vector vX
Rowvector rvX

%m  = mx.@type
%v  = vX.@type
%rv = rvX.@type

@UiPrompt("mX is a " + %m + ", vX is a " + %v + ", rv is a " + %rv )


returns "mX is a MATRIX, vX is a MATRIX, rv is a MATRIX"


Regards,
/Erik

ErikG
Posts: 54
Joined: Wed Jan 23, 2013 1:18 am

Re: Vector type is matrix

Postby ErikG » Tue Apr 10, 2018 1:37 am

I found the alternative @detailedtype gets about halfway. It finds the vector, but not the rowvector.

You should also update the help files for the vector object descripition, because the descriptions of @type and @detailedtype are incorrect in the help files.

/Erik


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests