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


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

Re: st: ice "variable not found"


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: ice "variable not found"
Date   Thu, 6 Jun 2013 08:54:15 +0100

You can -set trace on- to see _where_ the problem occurs.
Nick
njcoxstata@gmail.com


On 6 June 2013 07:31, Nick Chandler-Klein <nickck@uw.edu> wrote:
> I'm running ice to impute data with the following command:
>
> ice `varlist1' `varlist2', m(10) conditional(`varlist2' : condition)
> sav(imputed.dta, replace) persist
>
> It begins to impute (gets two "dots" into the first imputation) and
> then stops with the error "variable __00003T not found"
>
> So ice is calling one of its tempvars but it can't find it. Since the
> variable has an in-program name I don't really have a way of tracing
> the problem.
>
> Any tips here? How do I go about troubleshooting this? If it helps,
> when I instead run
>
> ice `varlist1', m(10) sav(imputed.dta, replace) persist
>
> it runs fine and goes through all the imputations. Is there something
> weird I should be looking for in varlist2? Or does adding conditionals
> generally lead to these sorts of problems?
>
> Thanks
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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