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: Multiple imputation int() option in ICE


From   Alberto Osella <[email protected]>
To   [email protected]
Subject   Re: st: Multiple imputation int() option in ICE
Date   Thu, 18 Nov 2010 12:02:53 +0100

Il 18/11/2010 11.44, A Loumiotis ha scritto:
and something more... the bound variables should be equal to BMI when
BMI is not missing.

On Thu, Nov 18, 2010 at 12:35 PM, A Loumiotis
<[email protected]>  wrote:
I think you should include your bound variables in the mainvarlist:

ice  BMI LL_BMI UL_BMI NewStatCiv Professione1   TitStudio Num_nucleo  ,  ///...

On Thu, Nov 18, 2010 at 12:27 PM, Alberto Osella
<[email protected]>  wrote:
Dear Statalisters,
I'm  using Stata 11.1 running on a Windows XP PC. I wisho to impute a data
set wit missing data in several variables of diferente type; one of them
(BMI) is a continuos variables with a normal distribution. Obviuosly I
should to bound BMI because there are some impossible values as 0 or 1000. I
wrote the following code using -ice-:

gen LL_BMI=15.32 (minimun value of BMI in my dataset)

gen UL_BMI=48.89 (maximun value of BMI in my dataset)

ice  BMI NewStatCiv Professione1   TitStudio Num_nucleo  ,  ///
m(20) cmd(BMI  Num_nucleo: regress,
Professione1  NewStatCiv:mlogit,  ///
TitStudio:ologit)
int(BMI:LL_BMI UL_BMI ) saving(imputed, replace)

but Stata return the following messagge:

LL_BMI is not a valid covariate
r(198);

Can you helop me. Thank you in advance.

--
Alberto R. Osella, MD, PhD
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
Tel:    +39 0804994655
Fax:    +39 0804994650
e-mail: [email protected]


____________
Controllo virus eseguito da G Data AntiVirus
Versione: AVA 21.3335 del 18.11.2010
Info nuovi virus: www.antiviruslab.com

*
*   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/

*
*   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/


Thanks a lot A Loumiotis. It works!!!!

--
Alberto R. Osella, MD, PhD
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
Tel:    +39 0804994655
Fax:    +39 0804994650
e-mail: [email protected]


____________
Controllo virus eseguito da G Data AntiVirus
Versione: AVA 21.3335 del 18.11.2010
Info nuovi virus: www.antiviruslab.com

*
*   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