This function performs imputation for two-dimensional test dataset of cross-validation given test dataset index and initial values.

1 2 | ```
cvimpute.image.by.wavelet(images, impute.index1, impute.index2,
impute.tol=0.1^3, impute.maxiter=100, filter.number=2, ll=3)
``` |

`images` |
noisy image |

`impute.index1` |
test dataset row index according to cross-validation scheme |

`impute.index2` |
test dataset column index according to cross-validation scheme |

`impute.tol` |
tolerance for imputation |

`impute.maxiter` |
maximum iteration for imputation |

`filter.number` |
specifies the smoothness of wavelet in the decomposition (argument of WaveThresh) |

`ll` |
specifies the lowest level to be thresholded |

In wavelet context, test dataset of cross-validation is missing values. Based on h-likelihood concept and penalized least squares, this function performs imputation by wavelet for missing dataset, given the missing dataset. Lee and Nelder (1996, 2001) introduced the hierarchical likelihood as an extended likelihood for general models that include unobserved random variables such as missing. Following Lee and Nelder (1996, 2001), treat the missing values as random parameters and it has been known that a wavelet shrinkage estimator can be formulated by penalized least squares problem (Antoniadis and Fan, 2001). This arguments lead to the iterative algorithm for imputing the missing values based on wavelet shrinkage.

Imputed values according to cross-validation scheme.

Antoniadis, A. and Fan, J. (2001) Regularization of wavelet approximations.
*Journal of the American Statistical Association*, **96**, 939–962.

Lee, Y. and Nelder, J.A. (1996) Hierarchical generalised linear models (with discussion).
*Journal of the Royal Statistical Society Ser. B*, **58**, 619–678.

Lee, Y. and Nelder, J.A. (2001) Hierarchical generalised linear models: A synthesis of generalised
linear models, random-effect models and structured dispersions. *Biometrika*, **88**, 987–1006.

`cvtype.image`

, `cvwavelet`

, `cvimpute.by.wavelet`

,

`cvwavelet.after.impute`

, `cvwavelet.image`

,

`cvwavelet.image.after.impute`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.