On 09/16/2015 03:47 PM, Paolo Ghisletta wrote:
> It appears that inspect() disregards equality constraints (as implied on
> p. 37 of the tutorial and on p. 38 of the reference manual, under the
> "partable" value for the what argument of the lavInspect(lavobject,
> what="free") function) : "/The non-zero integers represent both the fixed
> parameters (for example, factor loadings fixed at 1.0), and the free
> parameters if we ignore any equality constraints. They correspond with
> all entries (fixed or free) in the parameter table./"
That is correct, as of lavaan 0.5-18. It is a 'side-effect' of the 'big
change' (when it comes to handling equality constraints) that was
introduced in 0.5-18. The rationale behind this change is explained in
this document:
http://lavaan.ugent.be/notes/lavaan_eq_constraints.pdf
> Is it possible to obtain that parameter constraints are considered, so
> that the non-zero integers are repeated for parameters with equality
> constraints?
That was the case in 0.5-17. I liked that very much too. And this system
of 'repeating the parameter number' for those parameters that are
constrained to be equal works really well for simple equality constraint
(eg a == b), but it does not extend to more general constraints (eg a ==
2*b).
> Actually, if I may, this option would be extremely useful and precious
> for checking that one has correctly specified the tested model - as such
> it may even appear by default on the output.
I take it you are only talking about the output of inspect/lavInspect here?
I have considered the idea of showing the constraints (if any) somehow
in the output of inspect(). I will try something and get back.
Yves.