Skip to content

path analysis

2 messages · SALAMERO BARO, MANUEL, John Fox

#
Someone knows if it is possible to perform a path analysis with sem package (or any other) to explain a dependent *dichotomus* variable?

Thanks,

Manel Salamero
#
Dear Manel,
Yes -- you can use the hetcor() function in the polycor package to generate
a correlation matrix and boot.sem() in the sem package to get standard
errors or confidence intervals. Make sure that the dichotomous variables are
represented as factors. See ?boot.sem for an example.

I hope this helps,
 John