Skip to content
Back to formatted view

Raw Message

Message-ID: <20050813233524.YOSJ27508.tomts16-srv.bellnexxia.net@JohnDesktop8300>
Date: 2005-08-13T23:35:24Z
From: John Fox
Subject: path analysis
In-Reply-To: <200508132102.AA132120860@comb.es>

Dear Manel,

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of 
> SALAMERO BARO, MANUEL
> Sent: Saturday, August 13, 2005 2:02 PM
> To: r-help at stat.math.ethz.ch
> 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