Cox, Nicholas - In: Stata Journal 12 (2012) 4, pp. 748-758
Matrices in Stata can serve as look-up tables. Because Stata will accept references to matrix elements within many commands, most notably generate and replace, users can access and use values from a table in either vector or full matrix form. Examples are given for entry of small datasets,...