Skip to content

BIC difference in SEM.jl and lavaan #326

@brandmaier

Description

@brandmaier

I noticed a difference in BIC between SEM.jl and lavaan. I traced this back to a data set, in which there were some rows that had NA on all observed variables. It seems that lavaan ignores those and thus has a different count for nsamples(sem_fit) when computing BIC.

It could be a good idea if SEMObservedMissing filtered out all cases that are all NA because those do not contribute to any (mis)fit but distort fit indices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions