Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Sorting rows in Mata

From   Simone Angioloni <>
To   "" <>
Subject   st: Sorting rows in Mata
Date   Mon, 24 Feb 2014 16:57:29 +0000


Is there a canned command to sort rows in ascending order in Mata without exporting the matrix to Stata and using the rowsort()?

I need to do that in Mata because the marix is very large (more than 1000 by 1000) and once I export the matrix to Stata I have rounding errors that make the matrix slightly different from the original.

Thank you in advance.

Simone Angioloni

University of Georgia

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index