Page 1 of 1

Vector type is matrix

Posted: Tue Apr 10, 2018 1:33 am
by ErikG
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

Re: Vector type is matrix

Posted: Tue Apr 10, 2018 1:37 am
by ErikG
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