Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report for modification indices from lavaan #31

Open
DominiqueMakowski opened this issue Jul 15, 2019 · 1 comment
Open

report for modification indices from lavaan #31

DominiqueMakowski opened this issue Jul 15, 2019 · 1 comment
Labels
feature idea 🔥 New feature or request

Comments

@DominiqueMakowski
Copy link
Member

library(lavaan)
structure <- '
  # latent variable definitions
    ind60 =~ x1 + x2 + x3
    dem60 =~ y1 + a*y2 + b*y3 + c*y4
    dem65 =~ y5 + a*y6 + b*y7 + c*y8
  # regressions
    dem60 ~ ind60
    dem65 ~ ind60 + dem60
  # residual correlations
    y1 ~~ y5
    y2 ~~ y4 + y6
    y3 ~~ y7
    y4 ~~ y8
    y6 ~~ y8
'
model <- lavaan::sem(structure, data=PoliticalDemocracy)
modificationindices(model)

absolute MI threshold? Elbow of the curve (jump in ordered MI values using estimate's derivative)?

@strengejacke strengejacke added the feature idea 🔥 New feature or request label Mar 19, 2020
@DominiqueMakowski
Copy link
Member Author

For @Tam-Pham

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature idea 🔥 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants