how to extract minimum fit function

180 views
Skip to first unread message

Asghar Minaei

unread,
Sep 24, 2022, 4:32:14 AM9/24/22
to lavaan
Hello

I need to extract value of minimum fit function. Please tell me how to extract it from lavaan output.

Thanks,
asghar

Shu Fai Cheung (張樹輝)

unread,
Sep 24, 2022, 6:46:00 AM9/24/22
to lavaan
Is fmin in fitMeasures() what you need?

E.g.,

library(lavaan)
example(cfa)
fitMeasures(fit, "fmin")

-- Shu Fai

Asghar Minaei

unread,
Sep 24, 2022, 8:35:24 AM9/24/22
to lavaan
Thanks for your help. I need it to check the value of chi-square and compare between softwares. Just a personal curiosity.

Asghar Minaei

unread,
Sep 24, 2022, 8:40:23 AM9/24/22
to lavaan
Fmin.png

Yves Rosseel

unread,
Sep 24, 2022, 9:22:05 AM9/24/22
to lav...@googlegroups.com
Then you should know that (for historical reasons), fmin = 1/2 * F,
where F is the textbook discrepancy function. So to compute chi-square
from fmin, you should use 2*N*fmin (if normal ML), or 2*(N-1)*fmin for
other estimators.

Yves.

Asghar Minaei

unread,
Sep 26, 2022, 1:44:43 AM9/26/22
to lav...@googlegroups.com
Thank you very much for your  explanation.

Asghar.

َ

--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/a4e2ab47-b9c0-4b9c-4cd4-c1f144e31bd3%40gmail.com.
Reply all
Reply to author
Forward
0 new messages