EconPapers    
Economics at your fingertips  
 

HOTDECK: Stata module to impute missing values using the hotdeck method

Adrian Mander () and David Clayton ()
Additional contact information
David Clayton: MRC Biostatistics Unit

Statistical Software Components from Boston College Department of Economics

Abstract: hotdeck replaces missing values for the variable indicated by its argument. It should be used within a multiple imputation sequence since missing values are imputed stochastically rather than deterministically. The nmiss missing values in each stratum of the data described by the `by' option are replaced by values sampled from the nobs observed values in the same stratum. The approximate Bayesian bootstrap method of Rubin and Scheker is used; first a bootstrap sample of nobs observations is sampled with replacement from the observed values, and the nmiss missing values are sampled at random (again with replacement) from this bootstrap sample. If a file is specified in a using clause, the modified file is written to disk and the existing data in memory are unchanged. Otherwise the data in memory are modified. This is version 1.65 of the software, requiring Stata v9. hotdeck6 may be used in earlier versions of Stata.

Language: Stata
Requires: Stata version 9.0 (6.0 for hotdeck6)
Keywords: data management; imputation; missing values (search for similar items in EconPapers)
Date: 1999-01-18, Revised 2007-09-02
Note: This module may be installed from within Stata by typing "ssc install hotdeck". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: View citations in EconPapers (4)

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/h/hotdeck.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/h/hotdeck.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/h/hotdeck6.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/h/hotdeck6.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s366901

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s366901