Page 1 of 1

How do I stop MLwiN setting residuals to missing?

Posted: Mon Oct 17, 2011 3:05 pm
by Corrie
Hi,

I just wondered if there was a way of stopping MLwiN from setting residuals which are too close to zero to be missing values? I know this can be done through the command interface using MISR 0 if using MLwiN directly but is there runmlwin code which will do this as well?

Thanks

Re: How do I stop MLwiN setting residuals to missing?

Posted: Mon Oct 17, 2011 3:32 pm
by ChrisCharlton
runmlwin does not currently allow this to be set, however we could look into adding it as an option in a future release.

Re: How do I stop MLwiN setting residuals to missing?

Posted: Mon Oct 17, 2011 6:45 pm
by GeorgeLeckie
Hi Corrie,

As a temporary workaround, you could simply manually recode residuals with missing values on their return to Stata?

Code: Select all

. recode u0 u1 (.=0) if e(sample)==1
Best wishes

George

Re: How do I stop MLwiN setting residuals to missing?

Posted: Mon Oct 24, 2011 11:54 am
by GeorgeLeckie
Hi Corrie,

Just to keep you informed, we have added an option (norecode) to runmlwin which will stop MLwiN from automatically recoding residuals which are predicted to be zero (or exceedingly close to zero) to be missing. We hope to release an updated version of runmlwin via SSC (ssc install runmlwin, replace) soon. We will let you know when we do so.

Best wishes

George

Re: How do I stop MLwiN setting residuals to missing?

Posted: Fri Nov 18, 2011 7:17 pm
by GeorgeLeckie
Dear Corrie,

The norecode option should now be implemented

You can get the latest version of runmlwin by typing the following into Stata

Code: Select all

. ssc install runmlwin, replace
Best wishes

George