Rocky Mountain Research Station Publications

RMRS Online Publication - Journal Articles, External Publications, and Special Reports
yaImpute: An R package for kNN imputation

Crookston, Nicholas L.; Finley, Andrew O. 2008. yaImpute: An R package for kNN imputation. Journal of Statistical Software. 23(10). 16 p.

This article introduces yaImpute, an R package for nearest neighbor search and imputation. Although nearest neighbor imputation is used in a host of disciplines, the methods implemented in the yaImpute package are tailored to imputation-based forest attribute estimation and mapping. The impetus to writing the yaImpute is a growing interest in nearest neighbor imputation methods for spatially explicit forest inventory, and a need within this research community for software that facilitates comparison among different nearest neighbor search algorithms and subsequent imputation techniques. yaImpute provides directives for defining the search space, subsequent distance calculation, and imputation rules for a given number of nearest neighbors. Further, the package offers a suite of diagnostics for comparison among results generated from different imputation analyses and a set of functions for mapping imputation results.

Keywords: multivariate, imputation, Mahalanobis, random forests, correspondence analysis, canonical correlation, independent component analysis, most similar neighbor, gradient nearest neighbor, mapping predictions

About PDFs: For best results, do not open the PDF in your Web browser. Right-click on the PDF link to download the PDF file directly to your computer. Click here for more PDF help.

Download Article

PDF File Size: 495 K

R example code from the paper
File Size: 4 K

Data sets for examples
File Size: 6.5 MB

Title: RMRS Other Publications: yaImpute: An R package for kNN imputation
Electronic Publish Date: February 5, 2008
Last Update:
February 5, 2008

RMRS Publications | Order a publication | Contact Us