Re: [R] path analysis

From: John Fox <>
Date: Sun 14 Aug 2005 - 09:35:24 EST

Dear Manel,

> -----Original Message-----
> From:
> [] On Behalf Of
> Sent: Saturday, August 13, 2005 2:02 PM
> To:
> Subject: [R] path analysis
> Someone knows if it is possible to perform a path analysis
> with sem package (or any other) to explain a dependent
> *dichotomus* variable?

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 mailing list PLEASE do read the posting guide! Received on Sun Aug 14 09:43:27 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:18:57 EST