Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Stata/Mata

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Mata is a matrix language for Stata that is separate from the original ado-style programming. It was introduced in version 9. It is an imperative language similar to the C programming language and was designed to be faster for user program dealing with matrices. Variables Variables in Mata have both an eltype and an orgtype. The eltype can be any of: real, complex, string, pointer, struct, numeric (real or complex), or transmorphic (any of the previous). All numbers in stata are stored as 8-byte doubles. The orgtype can be any of: scalar, vector, rowvector, colvector, or matrix. Functions All functions in Mata are pass-by-reference.