Re: [R] SEM with a categorical predictor variable

2008-04-02 Thread John Fox
o:[EMAIL PROTECTED] > project.org] On Behalf Of Lila86 > Sent: April-01-08 5:32 PM > To: r-help@r-project.org > Subject: [R] SEM with a categorical predictor variable > > > Hi, > > we are trying to do structural equation modelling on R. However, one of > our > predi

[R] SEM with a categorical predictor variable

2008-04-01 Thread Lila86
Hi, we are trying to do structural equation modelling on R. However, one of our predictor variables is categorical (smoker/nonsmoker). Now, if we want to run the sem() command (from the sem library), we need to specify a covariance matrix (cov). However, Pearson's correlation does not work on the