1st Edition
The Mata Book A Book for Serious Programmers and Those Who Want to Be
The mechanics of using Mata. A programmer’s tour of Mata. Mata’s programming statements. Mata’s expressions. Mata’s variable types. Mata’s strict option and Mata’s pragmas. Mata’s function arguments. Programming example: n_choose_k() three ways. Mata’s structures. Programming example: Linear regression. Mata’s classes. Programming example: Linear regression 2. Better variable types. Programming constants. Mata’s associative arrays. Programming example: Sparse matrices. Programming example: Sparse matrices, continued. The Mata Reference Manual. Writing Mata code to add new commands to Stata. Mata’s storage type for complex numbers. How Mata differs from C and C++. Three-dimensional arrays (advanced use of pointers).
Biography
William Gould is president and head of development at StataCorp.






