You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -94,32 +94,25 @@ model = MRVCModel(Y_miss, X, V; se = false)
94
94
```
95
95
96
96
# Special case: ``m = 2``
97
-
When there are __two__ variance components, you can accelerate fitting by avoiding large matrix inversion per iteration with the generalized eigenvalue decomposition of kernel matrices and variance components.
98
-
99
-
You can first simulate data with a slightly more memory-efficient code.
97
+
When there are __two__ variance components, you can accelerate fitting by avoiding large matrix inversion per iteration. To illustrate this, you can first simulate data as we did previously but with larger ``n \cdot d`` and ``m = 2``.
100
98
```@repl 1
101
99
function simulate(n, d, p, m)
102
-
Y = zeros(n, d)
103
100
X = rand(n, p)
104
101
B = rand(p, d)
105
-
V = [zeros(n, n) for _ in 1:m] # kernel matrices
106
-
Σ = [zeros(d, d) for _ in 1:m] # variance components
0 commit comments