Learn R Programming

NestedCategBayesImpute (version 1.2.1)

SampleMissing: Sample and update missing data

Description

Sample and update missing data if missing data are presented in the input

Usage

SampleMissing(MissData, para, orig, G_household, M, hyper)

Arguments

MissData

The missing data structure that provides all infro related to missing data

para

A list of the initial values of the parameters; output of the initParameters function.

orig

A list object including all the necessary data variables needed by the sampler.

G_household

group level household index

M

individual level latent class indexes

hyper

Hyper parameters for the prior distributions.