Bookmark and Share

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, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: ml option "noclear" does not work with ml method "d0". Why?

Subject   st: ml option "noclear" does not work with ml method "d0". Why?
Date   Tue, 7 Sep 2010 18:38:19 +0200 (CEST)

Hello all,
I do not understand why:

ml model lf test_ll (`lhs' = `rhs')
ml max, noclear
ml max

works fine, while the same doesn't with method d0?
STATA then reports: "type mismatch ml model not found".

In the end I want to have an estimator which penalizes the loglikelihood
after each iteration with a certain roughness-penalty. I've tried the

ml model d0 test_ll (`lhs' = `rhs')
ml max, nooutput noclear iterate(1)
while e(converged)!=1 {
			global penalty  = $lambda*`penalty'
			ml model d0 test_ll (`lhs' = `rhs')
			ml max, search(off) nooutput noclear
But STATA complains with the mentioned message.
Any idea how I could solve this? I am thankful for every comment.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index