Dear all,
I have a causal chain X -> M -> Y and am interested in the indirect effect of X on Y. This can usually be easily estimated using SEM and nlcom.
My problem is that the X -> M part in my data requires a zero-inflated Poisson regression (whereas the M -> Y part does not require special treatment). How would you estimate the indirect effect of X on Y in this case?
I tried specifying the following SEM:
gsem (1: m <- , family(pointmass 0)) (2: m <- x, family(poisson)) (C <- x t)(y <- m x), lclass(C 2) lcinvariant(none) vce(cluster id)
However, I encounter two issues: First, the entire model is estimate in two latent classes, including the latter par (M -> Y). However, I would like to get one indirect effect at the end. Second, I don't think I am allowed to simply multiply the two coefficient (b[X->M] * b[M->Y]) because zero-inflated Poisson is logistic.
How would you proceed? I would be deeply grateful for some guidance.
Best,
Johannes
Related Posts with Indirect effects with zero-inflated Poission regression / SEM
How to separate an observation entered within an observation and use some of the contentHello, I have a dataset that is collected at village (group) level with randomly selected household…
Estimating a reduced form VAR ModelDear Stata users, I'm relatively new to the VAR model and have been using Sean Becketti's 'Introduc…
Weighting in a logit regression with fixed effects and clusteringDear Statalist, I have a cross-sectional survey data on companies that was collected over several p…
How to calculate the residual variance from a model estimated over one year?Dear Stata Users, Please, help me to estimate the residual variance from the model estimated over o…
Coefplot omitting a factor variable interaction coefficientHi Statalist. This is either a very weird quirk in the user-generated coefplot or I'm missing someth…
Subscribe to:
Post Comments (Atom)
0 Response to Indirect effects with zero-inflated Poission regression / SEM
Post a Comment