MxFitFunctionGREML
object.mxFitFunctionGREML(dV=character(0))
MxFitFunctionGREML
.dV
will usually require a custom mxComputeSequence()
. The derivatives of the REML loglikelihood function with respect to parameters can be internally computed from the derivatives of the 'V' matrix supplied via dV
. These loglikelihood derivatives will be valid as long as (1) the derivatives of 'V' evaluate to symmetric matrices the same size as 'V,' and (2) the model contains no MxConstraint
s. Internally, the derivatives of the 'V' matrix are assumed to be symmetric, and the elements above their main diagonals are ignored.MxFitFunctionGREML
for the S4 class created by mxFitFunctionGREML()
. For more information generally concerning GREML analyses, including a complete example, see mxExpectationGREML()
. More information about the OpenMx package may be found here.gff <- mxFitFunctionGREML()
str(gff)
Run the code above in your browser using DataLab