An example dataset generated from the proposed model with a zero-inflated negative binomial mediator (K=1). The mediator contains 10% zero values in which half are false zeros.
Usage
data(zinb10)
Arguments
Format
An object of class 'data.frame' with 100 rows and 3 variables:
X
independent variable, continuous data type
Y
outcome, continuous data type
Mobs
observed mediator values with possibly false zeros, count data type