To whom it may concern,
when I was calculating BIC with sem
e.g. as follows:

cfa.mod <- cfa(reference.indicators=FALSE, covs=NULL)    
F1: Sentences, Vocabulary, Sent.Completion, First.Letters, Four.Letter.Words 

cfa.sem <- sem(cfa.mod, S=Thurstone, N=355) 
summary(cfa.sem)


the BIC value is wrong!

For the example it results 

BIC =  104.5072

Correct with a formula I found in text books:

BIC= χ2 + ln(N)[k(k + 1)/2 - df]

BIC should be 192.588977895

104.5072 I got, when set k=0

I think there must be a mistake when getting the numbers of parameters.

Kind regard
Ludwig Kreuzpointner

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to