Displaying 1 result from an estimated 1 matches for "questioinnair".
Did you mean:
questioinnaire
2006 Sep 04
1
Question on Chi-square of null model in sem package
...s computed by the following
expression:
result$chisqNull <- (N - 1) * (sum(diag(S %*% diag(1/diag(S)))) +
log(prod(diag(S))))
I think the reason for negative Chi-square is the too small value of
prod(diag(S)) of my data. I'm working on a data.frame named emc.data
from a sample of a 16-item questioinnaire. The variance of items are
> diag(cov(emc.data))
EMC1 EMC2 EMC3 EMC4 EMC5 EMC6 EMC7 EMC8
0.3622224 0.2350041 0.2488009 0.2901653 0.3195399 0.3107343 0.3436622 0.2345912
EMC9 EMC10 EMC11 EMC12 EMC13 EMC14 EMC15 EMC16
0.262...