Hi,

I am using GSEM to estimate and test direct and indirect effects in a system of regression models. Specifically,

gsem(x2 <- X1)(Y <- X1 X2), vce(robust)

where y and x2 are the endogenous and continuous variable. X1 is the exogenous and ordinal variable. My goal is to evaluate the direct and indirect effect of X1 on Y.

My question is this, can I simply treat X1 as normal continuous variable? If not, is there any function in gsem package that deal with my current setup?

Thanks!

KC

I am using GSEM to estimate and test direct and indirect effects in a system of regression models. Specifically,

gsem(x2 <- X1)(Y <- X1 X2), vce(robust)

where y and x2 are the endogenous and continuous variable. X1 is the exogenous and ordinal variable. My goal is to evaluate the direct and indirect effect of X1 on Y.

My question is this, can I simply treat X1 as normal continuous variable? If not, is there any function in gsem package that deal with my current setup?

Thanks!

KC

## Comment