I'm trying to find the row numbers corresponding to the minimum value in each column of a matrix. A search turned up a Mata function called minindex, but the documentation has the word "void" in front of the function reference, which may explain why I haven't gotten it to work. I'm currently working with the columns of a matrix, but I could turn the matrix into a dataset if it made things easier. Thanks.
-
Login or Register
- Log in with
Comment