delete rows from matrix
Posted: Mon Sep 29, 2014 8:36 am
Hi everybody!
I use Eviews 7. I would like to delete some rows from a matrix. To be more specific I would like to delete a row if the number of zero elements in the row is more than 90% of the number of elements in the row. In other words if zero elements are more than a specific number. It seems an easy problem but I am confused with the programming language and yet I don't know if it is possible to delete rows from a matrix. I tried to delete the rows manually from a group that has the same dimensions and elements with the matrix but it kept the date on the left (it warned that it was going to do so anyway).
Regards,
Iris
I use Eviews 7. I would like to delete some rows from a matrix. To be more specific I would like to delete a row if the number of zero elements in the row is more than 90% of the number of elements in the row. In other words if zero elements are more than a specific number. It seems an easy problem but I am confused with the programming language and yet I don't know if it is possible to delete rows from a matrix. I tried to delete the rows manually from a group that has the same dimensions and elements with the matrix but it kept the date on the left (it warned that it was going to do so anyway).
Regards,
Iris