Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: FW: Imputation Commands ?


From   "Daniel Sepulveda-Adams" <sepul003@umn.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: FW: Imputation Commands ?
Date   Tue, 29 Apr 2008 11:03:19 -0500

Hi Statalisters,

I'm having trouble finding the proper command to impute values in a given
row of data. Hoping someone could direct me appropriately.

Consider a row of data as follows

          obs x1  x2  x3  x4 x5
          --   --  --  --  --  -- --
          1     2   4   .    5   1
          2     .   4   1    3   0
          3    1    .   .     .   1

What I want to do is to fill-in the missing values as a function of the
surrounding row/variable values. I presume I want to average a given
missing-value's surrounding +-3 values and impute accordingly.

What command or commands should I investigate?

Thank you for your time,

Best regards --- 

Daniel A. Sepulveda Adams
Research Scientist - PRIME Institute
College of Pharmacy - University of Minnesota
308 Harvard ST SE, Weaver Densford Hall, 7-159
Minneapolis, MN, 55455, USA
Phone: 612-624-8489
Cell Phone: 651-295-7771
Fax: 612-625-9931
Email: sepul003@umn.edu



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



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