[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: convert datafile to a matrix
Unless you are going to carry out matrix operations in Stata, there
is no need to make it into a matrix--just use outsheet on the
variables and observations that you want to pass to MATLAB. If you
want to kick out the vector arising from regress or logit, use the
If you want to work with your dataset as a matrix in Stata, use a
Mata view on the dataset.
help mata for details.
On Apr 22, 2006, at 2:33 AM, Lei wrote:
I want to convert my input dataset into a big matrix and pass it to C
and then pass it to MATLAB. I am not very familiar with matrix
STATA. Would you please simple point me to some examples or sample
Kit Baum, Boston College Economics
* For searches and help try: