On 05/22/2014 10:11 PM, Lisa Henn wrote:
> In the meantime, I hope to understand better how lavaan handles the
> empty cells. I see in the cfa() documentation that the lavaan default
> depends on the mimic setting. It also appears that the default is to
> add 0.5 to small tables, but to adjust the values in the other cells to
> maintain the margins. Do I understand correctly?
For 2x2 tables (only!), the default is to add 0.5 to the empty cell, and
adjust the other cells, so that the margins remain the same.
For larger tables, the default is to add nothing.
The zero.add= and zero.keep.margins= arguments can be set to change this
behavior.
> I tried calling cfa() with zero.keep.margins set to FALSE with my test
> case. A handful of the parameter estimates are slightly different from
> before (in the third decimal place), but do not match my Mplus results.
> Are there other aspects about which I should be aware with regard to how
> lavaan handles empty cells?
Mplus uses zero.keep.margins=TRUE for 2x2 tables, as far as I can tell.
Yves.