Skip to content
Prev 7867 / 20628 Next

extracting gradient and hessian matrix from lme4

On Fri, Mar 30, 2012 at 3:44 PM, Joshua Wiley <jwiley.psych at gmail.com> wrote:
I have been travelling and haven't tracked messages on the list
closely so I might have missed something here.  What do you mean by
"the variance parameters"?  The theta parameters aren't variances and
covariances.  They are values from the relative covariance factor.
For the model you fit the first element of theta is the standard
deviation of the intercept random effects divided by the standard
deviation of the per-observation noise.  The second and third elements
only make sense in terms of the Cholesky factor of the relative
variance-covariance matrix.

This choice is not arbitrary.  Although we are accustomed to thinking
in terms of variances and covariances or in terms of standard
deviations and correlations, these are difficult scales on which to
optimize because the constraints on these values are complicated
nonlinear constraints.

So as long as you recognize that the "variance parameters" aren't
variances or covariances you should be okay.