Skip to content

aic and bic output nan #88

Open
Open

Description

@LilianYou

Hi,

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"?

Activity

  1. desilinguist commented on Aug 14, 2021

    @desilinguist
    Collaborator

    Hi @LilianYou please share the data if possible so we can try and replicate the issue.

  2. LilianYou commented on Aug 15, 2021

    @LilianYou
    Author

    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.

  3. jbiggsets commented on Sep 3, 2022

    @jbiggsets
    Collaborator

    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?)

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions