Appendix B
List of functions and commands
Statements in this appendix are presented using the following generic syntax:
Function arguments given in italics inside thin square brackets (...) are optional. The right-hand side of the statement given above indicates that function functionName takes one mandatory argument, X, and two optional arguments, Y and Z. The order in which these optional arguments appear in the function call matters: to pass Z to functionName one must also pass Y.
Functions could have no return value (eg. setwd), one return value (eg. exp) or more than one return values (eg. eig). When a function has only one return value, then this value must not be enclosed in square brackets in the left-hand side of the calling statement. If a function has more than one return values, but only the first one is required, this can be requested using:
As with optional arguments, the order in which optional return values appear in a function call matters: to get B by calling functionName, A must be returned as well, as shown in the first statement above.
B.2 Console statements
B.3 Elapsed-time statements
B.4 Import, export and memory management
B.5 Size information, reshaping/replicating & cleaning
B.6 Special matrices
B.7 Simple mathematical functions
B.8 Matrix decompositions & quadratures
B.9 Statistical functions, summing, rounding & sorting
B.10 Error function, Beta, Gamma and related mathematical functions
B.11 Probability and cumulative density functions
B.12 Random-number generators
B.12.1 Univariate distributions
B.12.2 Multivariate distributions
B.13 Statements for working with datasets
B.14 Statements for post-estimation analysis
B.15 Statements for working with strings
B.16 Plotting
B.17 system, run, pause and eval statements