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: midiagplots for mi impute chained command: multiple imputation in stata


From   Clyde Schechter <[email protected]>
To   [email protected]
Subject   Re: st: midiagplots for mi impute chained command: multiple imputation in stata
Date   Wed, 29 Jan 2014 09:10:31 -0800

<>

Linda O'Keeffe is getting an error message:

_0_Prepregnancy_alcohol_consumption invalid name

after running -midiagplots-.  She interprets this as "The results
appear to be telling me that Prepregnancy_alcohol consumtion is an
invalid name."

I haven't used -midiagplots- myself, but I think I know what is going on anyway.

While her original variable, Prepregnancy_alcohol_consumption is a
perfectly good variable name, it appears that -midiagplots- is
creating some other variable by prefixing _0_ to that, which puts the
result over the 32 character limit.  I suspect if she -rename-s the
variable to something short enough to tolerate a 3 character prefix
she'll be OK.

I've encountered this kind of problem in other user-written (including
self-written) ado-files that create new variables that way.

Hope this helps.

Clyde Schechter
Department of Family & Social Medicine
Albert Einstein College of Medicine
Bronx, NY, USA
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index