Hi,
Is there a command to remove rows or columns from a matrix, and therby reduce the dimensions of the matrix?
Regards
Martin
Remove rows/columns from matrix
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13598
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Remove rows/columns from matrix
You can use:
etc...
Code: Select all
matrix a = b.@droprow(2)
Re: Remove rows/columns from matrix
Thanks!
Regards
Martin
Regards
Martin
-
CrisisStudent
- Posts: 49
- Joined: Mon Nov 16, 2020 10:52 am
Re: Remove rows/columns from matrix
I get error that @droprow is not a member or procedure of vector/matrix. Is there potentially unaddressed bug?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13598
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Remove rows/columns from matrix
Which version of EViews?
-
CrisisStudent
- Posts: 49
- Joined: Mon Nov 16, 2020 10:52 am
Re: Remove rows/columns from matrix
Enterprise edition - Feb 4 2021 build.
Sorry for delay, forgot to come back to this.
Sorry for delay, forgot to come back to this.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13598
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Remove rows/columns from matrix
EViews 12?
-
CrisisStudent
- Posts: 49
- Joined: Mon Nov 16, 2020 10:52 am
Re: Remove rows/columns from matrix
Yes, Eviews 12.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13598
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Remove rows/columns from matrix
You should update to the most latest version of 12.
-
CrisisStudent
- Posts: 49
- Joined: Mon Nov 16, 2020 10:52 am
Re: Remove rows/columns from matrix
Ok, version problem then. Thanks for looking into it and sorry for this intermittent and ultimately useless conversation. 
Who is online
Users browsing this forum: No registered users and 2 guests
