Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: RE: Imputing error: Obs. nos. out of range


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: RE: RE: Imputing error: Obs. nos. out of range
Date   Tue, 13 Apr 2010 14:03:14 +0000 (GMT)

--- On Tue, 13/4/10, Ploutz-Snyder, Robert  wrote:
> I've returned to this error
> problem--unsuccessful attempt to use ice to impute missing
> values in a dataset.
> 
> Per Martin's suggestion I used the trace option, with m=1
> and cycles=100.  Here the code that I used:
> 
> 
> ice x1 x2 x1x2 x4 z_x5 x6 x7 x8 x7x8 x10 x11 x12 x13 z_x14
> y1-y6 z_y7 z_y8 y9-y22,
> m(1)   passive(x7x8:x7*x8)
> saving(mrid_imputed, replace) seed(112233) trace(mridtrace)
> cycles(100)

The suggestion was not to use the -trace- option, but to 
precede the -ice- command with the command -set trace on-.
The former can be used to see if the Gibbs sample has
converged, while the latter can be used to find problem in
the program.

Hope this helps,

Maarten 

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index