Hi,
Im using Eviews 7.
I've started using eviews lately and have a bit of trouble with using matrix, and i cant find the right commands under eviews-help.
Q1. Concatenation
matrix(2,2) a =0
matrix(2,2) b=5
c = @hcat(a,b)
gives me the error "@hcat is an illegal or reserved name...."
Q2. Extract a range of values from matrix or vector
matrix(5,5) = a
matrix b = a(1->4,1->4) (This is what i want)
Q3. Sort matrix by first row where some values have the same value, i.e ranks become for example [1,2,2,3]
from an earlier post:
vector rks1 =@ranks(@rowextract(m1,1))
matrix m2=@capplyranks(m1,rks1)
"Invalid permutation index vector in "matrix m2=@capplyranks(m1,rks1)"
Thanks on advance!
Change size of matrix
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Change size of matrix
None of the things you're trying to do are supported in EViews 7. You'll have to upgrade to a more modern version.
Re: Change size of matrix
Okey, thanks for help.
Who is online
Users browsing this forum: No registered users and 2 guests
