File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -837,10 +837,10 @@ definite. Like correlation matrices, covariance matrices only need a
837
837
single dimension in their declaration. For instance,
838
838
839
839
``` stan
840
- cov_matrix[K] Omega ;
840
+ cov_matrix[K] Sigma ;
841
841
```
842
842
843
- declares ` Omega ` to be a $K \times K$ covariance matrix, where
843
+ declares ` Sigma ` to be a $K \times K$ covariance matrix, where
844
844
$K$ is the value of the data variable ` K ` .
845
845
846
846
@@ -853,10 +853,10 @@ Because correlation matrices are square, only one dimension needs
853
853
to be declared. For example,
854
854
855
855
``` stan
856
- corr_matrix[3] Sigma ;
856
+ corr_matrix[3] Omega ;
857
857
```
858
858
859
- declares ` Sigma ` to be a $3 \times 3$ correlation matrix.
859
+ declares ` Omega ` to be a $3 \times 3$ correlation matrix.
860
860
861
861
Correlation matrices may be assigned to other matrices, including
862
862
unconstrained matrices, if their dimensions match, and vice-versa.
You can’t perform that action at this time.
0 commit comments