Skip to content

Commit 09908b5

Browse files
RJ-2024-012 fix eq9
1 parent eaa7a6e commit 09908b5

File tree

2 files changed

+2345
-1451
lines changed

2 files changed

+2345
-1451
lines changed

_articles/RJ-2024-012/RJ-2024-012.Rmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,9 @@ $$
356356
\boldsymbol{\mathbf{\mu}}_j^{(t+1)} & = \frac{\sum_{i=1}^N r_{ij}^{(t)}\boldsymbol{\mathbf{Z}}_i}{\sum_{i=1}^N r_{ij}^{(t)}} \label{eq6} \\
357357
\boldsymbol{\mathbf{\Sigma}}_j^{(t+1)} & = \frac{\sum_{i=1}^N r_{ij}^{(t)} \left(\boldsymbol{\mathbf{Z}}_i - \boldsymbol{\mathbf{\mu}}_j^{(t+1)} \right) \left(\boldsymbol{\mathbf{Z}}_i - \boldsymbol{\mathbf{\mu}}_j^{(t+1)} \right)^T}{\sum_{i=1}^N r_{ij}^{(t)}} \label{eq7} \\
358358
\gamma_j^{(t+1)} & = \frac{\sum_{i=1}^N r_{ij}^{(t)}Y_i}{\sum_{i=1}^N r_{ij}^{(t)}} \label{eq8} \\
359-
\sigma_j^{2(t+1)} & = \frac{\sum_{i=1}^N r_{ij}^{(t)} \left(Y_i - \gamma_j^{(t+1)} \right)^2}{\sum_{i=1}^N r_{ij}^{(t)}} \label{eq9}
360-
\end{aligned} (\#eq:eq5)
359+
\sigma_j^{2(t+1)} & = \frac{\sum_{i=1}^N r_{ij}^{(t)} \left(Y_i - \gamma_j^{(t+1)} \right)^2}{\sum_{i=1}^N r_{ij}^{(t)}}
360+
\end{aligned}
361+
\label{eq9} (\#eq:eq5)
361362
$$
362363

363364
Although maximization of $\boldsymbol{\mathbf{\beta}}_j^{(t+1)}$ in
@@ -705,7 +706,7 @@ cluster 2 features high levels of cg\_EPM2AIP1
705706
features including cg\_GRHL3 ($\mu_2 (\text{cg\_GRHL3})= -0.363$). The
706707
third table relates the exposures to the latent clusters. For instance,
707708
`hs_hg_m_scaled` represents the scaled level of maternal
708-
mercury exposure. The coefficient OR for `hs_hg_m_scaled` is
709+
mercury exposure. The coefficient OR for `hs_hg_m_scaled` is
709710
0.791, meaning that for each doubling of the scaled level of maternal
710711
mercury exposure, the odds ratio of being assigned to latent cluster 2
711712
is 2.205. Since latent cluster 2 is associated with a higher child level

0 commit comments

Comments
 (0)