get_cat_bounds: Get the lower and upper bounds for truncated normal moments...

View source: R/transform_fun.R

get_cat_boundsR Documentation

Get the lower and upper bounds for truncated normal moments calculation at categorical columns

Description

Impute orginal incomplete observation using imputed Z matrix and marginal distribution information drawn from original observation X

Usage

get_cat_bounds(X_cat, mu, cat_index_list, check = FALSE, old = FALSE)

Arguments

X_cat

(incomplete) categorical data matrix

mu

mean vector for categorical

cat_index_list

list indicating the number of levels for each categorical variable

check

Sanity check on the output?

old

Use previous stringent categorical model?

Value

Imputed data matrix


udellgroup/mixedgcImp documentation built on Jan. 25, 2023, 7:55 p.m.