[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
I am wondering how one can use a matrix created in STATA (outside MATA) and use in MATA.
Specifically, I would like a .do file to do something like this:
matrix adjp = (adj1', adj2', adj3', adj4')
mata r = rank(adjp)
gen newr = r
In other words bring a matrix into MATA and then extract from MATA a sacalar that I would use in the rest of the program.
* For searches and help try: