This is very difficult to answer, because
the precise question is not clear.
When you say "save this estimate", in what form?
As a variable, in a separate dataset, in a log file,
in some other file?
When you say you are "not able to" use the Mata
command -matsave-, what do you mean?
The FAQ says (almost twice, but once here is enough)
"Say exactly what you typed and exactly what Stata
typed (or did) in response. N.B. exactly! If you can,
reproduce the error with one of Stata's provided datasets
or a simple concocted dataset that you include in your posting."
That said, e(b) is not a Mata matrix unless you read it into
Mata. Also, you do not need to use Mata to save matrices.
Nick
[email protected]
Prathiba Natesan
> This might be a very fundamental question:
> I am trying to save the estimates produced by GLLAMM in a matrix.
> After getting the estimates, I assigned the estimates to a matrix
> using the command:
> > matrix a=e(b)
> I am trying to use the "mata: mata matsave" command to save this
> estimate. But am not able to. Can someone tell me what mistake I am
> making or how I can do this properly? This is my first time working
> with mata.
*
* 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/