Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: GLLAMM and MATSAVE
Date   Wed, 6 Sep 2006 15:23:49 +0100

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. 

[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:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index