Skip to content

Commit c1e4b9d

Browse files
committed
fix math formatting
1 parent f5a7945 commit c1e4b9d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/src/formula_syntax.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,19 @@ Under these assumptions, the model specification
5555

5656
corresponds to the statistical model
5757

58+
```math
5859
\begin{align*}
5960
\left(Y |\mathcal{B}=b\right) &\sim N\left(X\beta + Zb, \sigma^2 I \right) \\
6061
\mathcal{B} &\sim N\left(0, G\right)
6162
\end{align*}
63+
```
6264

63-
for which we wish to obtain the maximum-likelihood estimates for $G$ and thus the fixed-effects $\beta$.
65+
for which we wish to obtain the maximum-likelihood estimates for ``G`` and thus the fixed-effects ``\beta``.
6466

65-
- The model contains no restrictions on $G$, except that it is positive semidefinite.
66-
- The response Y is the value of a given response.
67-
- The fixed-effects design matrix X consists of columns for
67+
- The model contains no restrictions on ``G``, except that it is positive semidefinite.
68+
- The response ``Y`` is the value of a given response.
69+
- The fixed-effects design matrix ``X`` consists of columns for
6870
- the intercept, age, sex, education, and number of children (contrast coded as appropriate)
6971
- the interaction of all lower order terms, excluding interactions between age and sex
70-
- The random-effects design matrix Z includes a column for
72+
- The random-effects design matrix ``Z`` includes a column for
7173
- the intercept for each subject

0 commit comments

Comments
 (0)