This function computes the limiting solution to the estimating equation sum(x' V^-1 (y - x beta)) = 0 as the covariance V tends from V[, , 1] + V[, , 2] to V[, , 1].
fit_slim(x, V, y)
Arguments
x: list of design matrices, one for each subject, all having the same number of columns.
V: list of covariance arrays, one for each subject, matching the dimensions of y.
y: list of response vectors, one for each subject.
Returns
a list with components coefficients (the limiting solution), residuals, fitted_values, vcov_empirical and vcov_modelled.