fill_data: Impute missing data by optimizing the likelihood function

View source: R/missing.R

fill_dataR Documentation

Impute missing data by optimizing the likelihood function

Description

Impute missing data by optimizing the likelihood function

Usage

fill_data(obs, mu, sigma, p, index, lucid_model)

Arguments

obs

a vector of length M

mu

a matrix of size M x K

sigma

a matrix of size M x M x K

p

a vector of length K

index

a vector of length M, indicating whether a value is missing or not in the raw data

lucid_model

Specifying LUCID model, "early" for early integration, "parallel" for lucid in parallel, "serial" for lucid in serial

Value

an observation with updated imputed value


LUCIDus documentation built on Nov. 2, 2023, 5:21 p.m.