jacob-long / jacob-long/dpm

CFI/TLI are implausibly high, do not match Stata

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
R
Stars
16
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I've yet to figure this one out and it's been an issue going back to the 2017 *Socius* paper. Fitting these models in `lavaan` gives CFI/TLI (and probably any related fit index) values that are almost always extremely close to 1. I don't really know how to approach coming up with an alternative approach as I'm relying on `lavaan` to calculate fit indices. I assume there's an issue with how `lavaan` is defining the null model, but I don't know what `lavaan` sees as the null model or what an appropriate null model would be.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the CFI/TLI results from the R package's dynamic panel model fitting and compare them with Stata. Read how lavaan defines the null model and fit indices, then determine and validate an appropriate alternative; done means the indices are no longer implausibly close to 1 and agree with the reference behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.