bmem.em.jack: Jackknife estimate using EM

View source: R/bmem.R

bmem.em.jackR Documentation

Jackknife estimate using EM

Description

Jackknife estimate using EM

Usage

bmem.em.jack(x, ram, v, robust = FALSE, 
             varphi = 0.1, st= "i", 
             max_it = 500, ...)

Arguments

x

A data set

ram

RAM path for the mediaiton model

v

Indices of variables used in the mediation model. If omitted, all variables are used.

robust

Roubst method

varphi

Percent of data to be downweighted

st

Starting values

max_it

Maximum number of iterations in EM

...

Other options for sem function can be used.


johnnyzhz/bmem documentation built on Dec. 30, 2022, 8:41 p.m.