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]
st: twoway graph for imututed values against observed
From
Andrew Stoddart <[email protected]>
To
[email protected]
Subject
st: twoway graph for imututed values against observed
Date
Wed, 25 Jan 2012 14:34:33 +0000
Dear Statalisters
Im performing multiple imputation for the first time using the mi ice
command in stata 12.
Does anyone know of a way to graph the imputed values over the
observed values on the same graph?
For example I am at present using
mi set wide
mi ice ? , add(5) [options]
twoway (hist x1, [options]) (hist _1_x1 if missing(x1), [options]),
legend(label(1 "observed") label(2 "imputed"))
I then view each of the 5 imputations by swapping _1_x1 for
_2_x1, _3_x1, _4_x1 and _5_x1 in turn to quickly check the imputed
values appear reasonable
Obviously it would be preferable to be able to plot all imputed values
against all observed directly rather than checking individual
imputations one at a time.
Can anyone help?
Thanks in advance
Andy Stoddart
Health Economist
Edinburgh Health Services Research Unit (HSRU)
www.hsru.ed.ac.uk
Edinburgh Clinical Trials Unit (ECTU)
Room D34, Level 2
Outpatients Building
Western General Hospital
Edinburgh, EH4 2XU
Tel: +44 (0)131 537 3867 (except Tuesdays)
+44 (0)131 650 3230 (Tuesdays only)
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
*
* 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/