Learn R Programming

yaImpute (version 1.0-29)

cor.yai: Correlation between observed and imputed

Description

Computes the correlation between observed and imputed values for each observation that has both.

Usage

cor.yai (object,vars=NULL,…)

Arguments

object

an object created by yai or impute.yai.

vars

a list of variables names you want to include, if NULL all available variables are included.

passed to called methods (not currently used)

Value

A data frame with the row names as vars and the column as cor.

Details

The correlations are computed using cor.yai. For data imputation, such correlations are likely not appropriate (Stage and Crookston 2007).

References

Stage, A.R.; Crookston, N.L. (2007). Partitioning error components for accuracy-assessment of near neighbor methods of imputation. For. Sci. 53(1):62-72. http://www.fs.fed.us/rm/pubs_other/rmrs_2007_stage_a001.pdf

See Also

yai, impute.yai, rmsd.yai