get_mi_mean_by_group: Get multiple imputation mean statistics using gouping...

Description Usage Arguments

Description

Get multiple imputation mean statistics using gouping variable.

Usage

1
2
get_mi_mean_by_group(full_data, stat_var, group_var, weight_var = NULL,
  ids = ".id", imps = ".imp", use_random = FALSE)

Arguments

full_data

ataframe that could be converted to the mids object to perform calculations on the multiple imputations data frame.

stat_var

variable to apply statistics

group_var

variable for grupping

weight_var

variable for weighting. NULL by default.

ids

names of the columns wit the observation-specific ID and number of imputation.

imps

names of the columns wit the observation-specific ID and number of imputation.

use_random

harmonise imputation of the unequal size randomly. By default if FALSE, therefore, to equalise sizes of the imputed samples, simplu n-first observations is used.


EBukin/lassopmm documentation built on June 12, 2019, 9:51 a.m.