Rob,
If 'sex' is indeed an exogenous variable (ie. predictor only), you can
simply code it as (1=male, 2=female) and use it as a covariate in any sem
model. In lavaan, you can explicitly use the argument 'fixed.x=TRUE', which
will regard all exogenous covariates as fixed variables. Their
means/var
Hello all
I'm trying to run some path analysis in either sem or lavaan (preferably lavaan
because I find its interface easier to use). Most of my variables are
continuously distributed and fairly well-behaved but I have a single exogenous
variable (sex) which is not continuously distributed. Pr
2 matches
Mail list logo