Description
As a step towards supporting random effects in this package, the first simplest step could be to support a spatial covariance structure which provides a patient level random effects induced covariance structure.
The syntax could be sp_ref(cov1, cov2, ... | group / subject)
where cov1
is the first covariate to use (potentially a factor which leads to multiple design matrix columns), etc.
This will be possible because we can marginalize over the random coefficients in closed form, such that the induced covariance matrix for the $i$th patient is a quadratic form like
As long as we only have subject level random effects, then the overall covariance matrix is still blockdiagonal with these entries.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status