One big caveat here is that if you use (linear) equality constraints,
the bounds do not work any more.
(The reason is that in the presence of linear equality constraints, the
constrained parameter vector is projected to a smaller but unconstrained
parameter vector; this is very efficient, but the bounds no longer have
any meaning in this projected space)
Yves.
On 8/25/21 1:09 AM, Fabrício Fialho wrote:
> Hi all,
>
> Hope you're all well.
>
> I have a few questions on the `bounds` and `optim.bounds` arguments in
> lavOptions() for an application. Per my understanding of lavaan's help
> file, both commands would enlarge the range of the bounds of the
> parameters. Is it possible to somehow /restrict/ the bounds? I ask so
> because I have tried, without much success, bounds="pos.ov.var" to force
> "observed variances" to be nonnegative, assuming this means the residual
> variances would be nonnegative.
>
> I have been successfully replicating a model (with categorical observed
> variables loading on two factors) in multiple groups using data from
> multiple years except for one group in one specific year, where residual
> variance for one sole variable tends to be negative (the variable is
> categorical, latent variate y* variance is set to one, and the estimated
> factor loading is slightly above one, ~1.1). The number of observations
> for the group is large enough (700+) to presume the residual variance is
> /not/ due to sampling fluctuation.
> In order to investigate the issue, among other things, I've played with
> different values for bounds and optim.bounds trying either to set an
> upper cap for the said factor loading or to prevent the residual
> variance to go negative, without much success. Are bounds and
> optim.bounds appropriate for what I am trying to do here?
>
> Overall, I would appreciate further info on how to use bounds and
> optim.bounds and what the arguments can/should do. This is my first run
> with them and I am eager to learn more about this feature!
>
> Best wishes,
> Fabricio
>
> --
> You received this message because you are subscribed to the Google
> Groups "lavaan" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
lavaan+un...@googlegroups.com
> <mailto:
lavaan+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/lavaan/82b74673-ddf7-4709-9ab3-9ee6f01d661en%40googlegroups.com
> <
https://groups.google.com/d/msgid/lavaan/82b74673-ddf7-4709-9ab3-9ee6f01d661en%40googlegroups.com?utm_medium=email&utm_source=footer>.