@unvech |

Syntax: @unvec(v)

Argument: vector, v

Return: sym

Creates a sym matrix with lower triangle filled using the unstacked elements of the vector v. The sym will be sized automatically. EViews will report a size mismatch if the number of elements of v does not correspond to a valid sym matrix size (is not a triangular number).

Note that @unvech is the inverse of the @vech function.

Example:

vector v1 = @mnrnd(15)

sym s1 = @unvech(v1)

creates a 15 element vector of normal random numbers V1 and unstacks it into a sym matrix S1.

See also @vech.