- x
A psychonetrics model.
- alpha
Significance level to use.
- matrices
Vector of strings indicating which matrices should be pruned. Will default to network structures.
- verbose
Logical, should messages be printed?
- combinefun
Function used to combine models of different groups.
- return
What model to return? "best" for best fitting model (according to BIC), "partialprune" for the partialpruned model, "union_equal" for the union model with equality constraints, and "prune" for the originally pruned model without equality constraints.
- best
Should the lowest or the highest index of criterion be used to select the final model?
- criterion
What criterion to use for the model selection in the last step? Defaults to "bic" for BIC selection.
- final_prune
Should the last prune step be based on removing edges not significant in the last model in the partialprune algorithm or the first model (saturated model) in the algorithm? Defaults to "saturated". Set to "partialprune" to mimic psychonetrics < 0.13.1 behavior.
- useMIs
How to rank candidate equality constraints in the stepwise release loop. The default "joint" (introduced in 0.15.4) uses the joint multivariate score / Lagrange-multiplier test (one statistic per equality-constrained parameter, df = G - 1; see equalityScoreTest). The legacy "simple" option sums the per-group univariate modification indices instead, which reproduces the behavior of psychonetrics <= 0.15.3. For two-group models the two options are equivalent; they differ for G >= 3.
- release_model
Specifies the alternative model used in the BIC comparison when deciding whether to release an equality constraint in the stepwise loop. With the default "pruned" (new in 0.15.5), the just-released parameter is immediately fixed to zero in any group where the initial per-group prune (Step 1) had already removed it, BEFORE refitting and comparing BIC. The equality-constrained model is therefore tested against the asymmetric structure suggested by the initial per-group prune, rather than against a fully saturated per-group alternative. This improves specificity at low sample sizes by penalizing the alternative less heavily for spurious cross-group differences. Set to "saturated" to reproduce the psychonetrics 0.15.4 behavior in which the released parameter is freed in all groups with no per-group zero pattern applied until the final prune step.
- identify
Logical, passed to the internal prune, unionmodel, intersectionmodel, groupequal, and groupfree calls. When FALSE, identify is not invoked on the intermediate models, so user-fixed parameters (e.g. fixpar("beta", 1, 1, value = 1) in a multi-group Ising model) are not re-freed when equality constraints are introduced on matrices. Defaults to TRUE, which preserves the historical behavior.
- ...
Arguments sent to prune.