jackknifeBandwidthSelection: Jackknife method for selection bandwidth

View source: R/jackknife_bandwidth_selection.R

jackknifeBandwidthSelectionR Documentation

Jackknife method for selection bandwidth

Description

Jackknife method for selection bandwidth

Usage

jackknifeBandwidthSelection(i, bwGrid, preds, y, delta, kernel)

Arguments

i

integer referring to the index of the missing value to be imputed.

bwGrid

numeric vector of candidate bandwidth values

preds

numeric vector of predicted values for missing observations

y

numeric vector of length n of observed and imputed values.

delta

Binary vector of length length(y) indicating missingness. 1 where y is observed and 0 where y is missing.

kernel

one of gaussian, uniform, or triangular. Specifies the kernel to be used in estimating the distribution around a missing value.

Value

bandwidth


abshev/superMICE documentation built on May 10, 2022, 11:27 a.m.