----- Original Message -----
From: "Polly Smiths" <[email protected]>
To: <[email protected]>
Sent: Thursday, June 26, 2003 3:22 PM
Subject: st: use of impute command
> Dear STATA-listers,
> I am a beginner with STATA and trying to use the impute command to deal
with
> some missing data. However, despite having attempted several different
> specifications, I continue to receive a message to the effect that the
> command was executed but with no changes made.
> I wondered if there are some preconditions for the use of this command?
> Thank you very much.
> best,
> Polly
>
hmm, are you sure you have missing observations?
It seems to work with the auto dataset.
. use "C:\Stata8\auto.dta", clear
(1978 Automobile Data)
. impute rep78 price mpg, gen(foo)
6.76% (5) observations imputed
You might also find -hotdeck- (findit hotdeck) and Matt
Schonlau's -hotdeckvar-
(http://www.schonlau.net/statasoftware/hotdeckvar.ZIP) useful.
Scott
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/