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
:
>
>
> Lila86 wrote:
>>
>> I have two groups (men and women) and I know per group how many of them
>> smoke or don't smoke (women 40 of 200; men 100 of 300). I would like to
>> know how I can compare in R if men and women differ significantly in
>> their smoking.
Hello there,
I have two groups (men and women) and I know per group how many of them
smoke or don't smoke (women 40 of 200; men 100 of 300). I would like to know
how I can compare in R if men and women differ significantly in their
smoking. However, because there are more men in the sample than
3 matches
Mail list logo