Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: st: list x matrix

From   Kit Baum <>
Subject   re: st: list x matrix
Date   Sat, 27 Mar 2010 20:44:07 -0400

Easily done in Mata, per Bill Gould's latest Mata Matters column in Stata Journal:

sysuse auto, clear
putmata x=(price mpg  turn), replace
z = x * (11 \ 22 \ 33) 
getmata z

Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index