My Mata is pretty weak, but I need to use it to invert some giant matrices, as much as 11,000 by 11,000. The person I am trying to help was using Stata matrix commands and they would never finish. Mata works pretty well except for one thing:
I have commands like
Unfortunately the Mata matrices do not contain the original column/variable names. How can I keep them or add them back? One nice thing about mkmat is that it keeps the column names.
I have commands like
Code:
local flist VCM VCVM estcfN estcfA estcfC estcfF local flist `flist' estcfN1 estcfA1 estcfC1 estcfF1 foreach filename of local flist { use `filename'.dta, clear putmata `filename' = (*) clear }
Comment