stata状态下,matsize最大是11000,mata状态下,没有这个限制。mata还有大量stata没有的函数与运算(特别是针对矩阵的)。
Description
Mata is a component of Stata. It is a matrix programming language that can be used interactively or as an extension for do-files and ado-files. Thus
1. Mata can be used by users who want to think in matrix terms and perform (not necessarily simple) matrix calculations interactively, and
2. Mata can be used by advanced Stata programmers who want to add features to Stata.
Mata has something for everybody.
Primary features of Mata are that it is fast and that it is C-like.