GREMLData holds input data of a variance component model


  • y: 'n' vector of responses
  • X: 'n × p' matrix of covariates
  • r: 'q' vector of 'n × n' correlation matrices
  • dims: tuple of n = dimension of y, p = columns of X, q = dimension of r

GREMLModel holds data, parameters and optimization info of a variance component model


  • data: GREMLData
  • θ: 'q' vector of scalar variance component parameters
  • Λ: cholesky factorization of the 'n × n' model implied covariance matrix
  • μ: 'n' vector of model implied means
  • opt: GREMLOpt with optimization info