imrr: Imputation Rate for responded items IMRR

Description Usage Arguments Value Author(s)

View source: R/imrr.R

Description

Version of (imr) for responded items. Imputation rate due to changes in items which were initially responded. Indirect measure of the overall impact of the controls, i.e. of the error detection and localization followed by imputation.

Usage

1
imrr(r1ij, bij, gij, obsi = 1:nrow(gij), varj = 1:ncol(gij), weight)

Arguments

r1ij

(mandatory): A matrix containing the response indicators for a given dataframe. r1ij can be calculated using the function rind.

bij

(optional): A matrix containing the structurally missingness indicators. bij can be calculated using the function smind. If the argument bij is missing, the indicator irr is calculated without considering a misingness indicators matrix.

gij

(mandatory): A matrix containing the imputation indicators for a given dataframe. gij can be calculated using the function impind.

obsi

(optional): A vector with the observations in r1ij to to be processed. If the argument obs is missing, all observations are processed.

varj

(optional): A vector with the variables (column numbers) to be considered for the calculation. If the argument varj is missing, all variables are considered for the indicator.

weight

(optional): A vector of weights to be considered when calculating the indicator. If no weight vector is given as an argument, the indicator is calculated without considering different weights.

Value

A list with the following elements: variables (variables), observations (observations), Indicator IMRR (imrr).

Author(s)

Beat Hulliger - Juan Berdugo


sdap documentation built on May 2, 2019, 6:52 p.m.

Related to imrr in sdap...