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, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--- On Tue, 4/5/10, Valerie Orozco wrote:
> It seems some "saved" results still remain and affect the
> second estimation. What did I forget to clear ?
Did you pass some information to the evaluator using global
macros? If so, you might want to start your program (not
your evaluator) with -macro drop _all- (or -macro drop S_*-
if you know that all the global macros you use start with
Hope this helps,
De : Valerie Orozco
Envoyé : mardi 4 mai 2010 11:07
À : firstname.lastname@example.org
Objet : why one ml program doesn't give the same results twice ?
I wonder why a whole ml program doesn't give the same results twice in one Stata session ?
That is, doing the following steps doesn't give the same estimation :
1) Run my ml model and ml maximize
2) Clear all (mat drop _all + ereturn clear + ml clear)
3) "Re"run my ml model and ml maximize
It seems some "saved" results still remain and affect the second estimation. What did I forget to clear ?
(if I close the Stata session and open another one, it gives the same results)
Thank you very much for your help.
Toulouse School of Economics (INRA-GREMAQ)
21, allée de Brienne
F-31000 Toulouse, France
+33 5 61 12 85 91
* For searches and help try: