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
The bug occurs when estimating a measurement and then structural model. When estimating the second model (the structural model) in a second tab, the chi-squared value of the first model changes. This bug seems to only happen when using the Satorra-Bentler model test.
Expected Behaviour
I assume there should be no change in the initial model chi-square value. Unless my knowledge of SEM is lacking.
Steps to Reproduce
Step of analysis:
Import attached data set
Change all variables to scale
Open Structual Equation Modelling module and change estimation option to:
Error calculation: Robust
Estimator: ML
Model test: Satorra-Bentler
Estimate the following measurement model in Tab 1:
@jonathanbart thanks for creating the issue. There was a problem with the R-package lavaan (which the SEM module is based on), because it uses always the standard chisq test statistic for the likelihood ratio difference test, even though you have specified to use the Satorra.Bentler test statistic.
JASP Version
0.18.0
Commit ID
No response
JASP Module
SEM
What analysis are you seeing the problem on?
Structural Equation Modelling
What OS are you seeing the problem on?
Windows 10
Bug Description
The bug occurs when estimating a measurement and then structural model. When estimating the second model (the structural model) in a second tab, the chi-squared value of the first model changes. This bug seems to only happen when using the Satorra-Bentler model test.
Expected Behaviour
I assume there should be no change in the initial model chi-square value. Unless my knowledge of SEM is lacking.
Steps to Reproduce
Step of analysis:
phy =~ phy1 + phy2
nut =~ nut1 + nut2
swb =~ swb1 + swb3 + swb4
ga =~ ga1 + ga2 + ga3
Note, the chi squared value for Model 1 is 68.307
phy =~ phy1 + phy2
nut =~ nut1 + nut2
swb =~ swb1 + swb3 + swb4
ga =~ ga1 + ga2 + ga3
swb ~ phy + nut
ga ~ swb
Note, the chi-square for model 1 is now 68.269
data.csv
Log (if any)
No response
Final Checklist
The text was updated successfully, but these errors were encountered: