compare_fit
Compare fit statistics from multiple Mplus .out files side by side. Optionally run chi-square difference tests between consecutive models, scaling for MLR when correction factors are present.
Instructions
Put the fit statistics of several .out files side by side - class enumeration, measurement invariance, nested model comparisons. With chisq_diff it also runs the chi-square difference test between consecutive models, scaled for MLR when Mplus reported a scaling correction factor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"out_paths": "<out_paths>"
},
"name": "compare_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | Row labels. Default: the file names. | |
| out_paths | Yes | Paths to the .out files, in the order to compare. | |
| chisq_diff | No | Also test consecutive models against each other. |