mcsample: Internal function for function 'beffect()'

Description Usage Arguments

View source: R/mcmcSample.R

Description

Internal function for function beffect()

Usage

1
mcsample(mcov, mintercept, BB, index, u, size)

Arguments

mcov

is the variance matrix of error in mediator model

minterceptis

the estimated intercept in mediator model

BB

is the estimated state transition matrix

index

is the mediator of interest

u

is the state vector

size

is the number of observations to simulate.


jiezhou-2/imediation documentation built on Dec. 21, 2021, 12:04 a.m.