Hi,
I want to convert my input dataset into a big matrix and pass it to C code
and then pass it to MATLAB. I am not very familiar with matrix operations in
STATA. Would you please simple point me to some examples or sample codes?
The interface of My MATLAB function is:
[scalar1, scarlar2, scarlar3, ... , scalar8] = myfunction[betamx,
inputmax]
Where,
Betamx is one dimension matrix (1 by m) or vector obtained from -regress-
or -logit-;
Inputmx is n by m dimension matrix with n cases and m variables.
Thanks,
Lei
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/