Skip to content

Row-effect co(variance) should be accounted for in getResidualCov #218

Description

@BertvanderVeen

getResidualCov retrieves the residual covariance matrix; this was designed when gllvm could only include simple row-effects, and does not account for the variation due to the row-effects. However, when row effects (or other random effects, for that matter) are included, these do scale the species' covariance, and should thus be accounted for.

There are different ways to better facilitate extracting the correct associations, we could have something like getTotalCov = getRowCov + getEnvironCor + getResidualCov or just include the row-effect variance in the getResidualCov.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions