You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I conducted a cfa analysis, but the aic_ and bic_ outputs are both "nan". I wonder if there could be any example in calling aic and bic? And what might be the reason that I receive "nan"?
Hi @LilianYou, thanks for sharing the code and data.
I'm not able to reproduce this issue. Can you provide some additional details about your environment? (What version of Python are you using, and what package versions?)
Activity
desilinguist commentedon Aug 14, 2021
Hi @LilianYou please share the data if possible so we can try and replicate the issue.
LilianYou commentedon Aug 15, 2021
Here I uploaded sample data: https://docs.google.com/spreadsheets/d/1RCNK1t1L2sY4s0-iMudpPisFKnlRHuj729wPVejNfU0/edit?usp=sharing
below are the codes I used:
`model_dict = {"F1": ["navigation_skills"], "F2": ["age"], "F3": [ "communte_level", "sleep"]}
model_spec = ModelSpecificationParser.parse_model_specification_from_dict(df2, model_dict)
cfa = ConfirmatoryFactorAnalyzer(model_spec, disp=False)
cfa.fit(df2.values) `
Thanks in advance.
jbiggsets commentedon Sep 3, 2022
Hi @LilianYou, thanks for sharing the code and data.
I'm not able to reproduce this issue. Can you provide some additional details about your environment? (What version of Python are you using, and what package versions?)