I believe the source of the mismatch is the fact that 'temp' and 'nsol'
seem to vary within sites 6 and 10:
site '6' (first column is temp, second is nsol):
[46,] 13.6 8.161525 6
[47,] 13.6 8.161525 6
[48,] 13.6 8.161525 6
[49,] 13.6 8.161525 6
[50,] 7.4 7.577625 6
[51,] 7.4 7.577625 6
[52,] 7.4 7.577625 6
[53,] 7.4 7.577625 6
[54,] 7.4 7.577625 6
site '10':
[64,] 13.9 8.188484 10
[65,] 17.3 8.707429 10
[66,] 17.3 8.707429 10
[67,] 17.3 8.707429 10
[68,] 17.3 8.707429 10
[69,] 17.3 8.707429 10
[70,] 17.3 8.707429 10
[71,] 17.3 8.707429 10
[72,] 17.3 8.707429 10
Perhaps this is an error in the data?
For lmer, this does not matter, as no distinction is made between
level-1 or level-2 variables. For lavaan, level-2 variables are the
means (within cluster) only.
A warning should be in order though.
Yves.
On 4/30/19 9:22 PM, Darren Johnson wrote:
>
> I noticed that when the fixed correlation matrix is smaller, that the
> methods match.
> Would it be correct to say that lavaan is better than lmer in that it
> adjusts for the intraclass correlation before making estimates
> "but MSEM seperates level 1 and level 2 effects", hence I don't have to
> worry about this problem.
> I now I would still have to look at the predictions, etc..
>
> On Tuesday, April 30, 2019 at 12:57:33 PM UTC-5, Alex Schoemann wrote:
>
> The issue isn't the covariance of the predictors (though what you're
> reporting is the covariance of the /slopes /of the predictors, which
> --
> 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 post to this group, send email to
lav...@googlegroups.com
> <mailto:
lav...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/lavaan.
> For more options, visit
https://groups.google.com/d/optout.