DATMAT: Stata module to multiply variables via matrix multiplication
Consider the k variables in "oldvarlist" as an N x k matrix, where N is the number of observations. The matrix called "matname" is a k x m matrix. Then the resulting matrix product of "oldvarlist"*"matname" is a N x m matrix, whose m columns become m new variables in "newvarlist". Windows users should not attempt to download these files with a web browser. Note that the matrix multiplication performed by -datmat- is purely positional; i.e., it does just what you expect based on the order of the variables, observations, and rows and columns of "matname". Windows users should not attempt to download these files with a web browser. The row and column names of the matrix "matname" are ignored. This is different from the behavior of matrix score.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.