Alternative Equation Formats

The equation on this page is available in multiple formats. Depending on your browser, some formats might not render correctly.

MathML

z i | z i , y i { normal ( m i , v i ) I ( z i > 0 ) if  y i = 1 normal ( m i , v i ) I ( z i 0 ) otherwise m i = x i B w i ( z i x i B ) v i = 1 + w i w i = h i / ( 1 h i ) h i = ( H ) i i , H = x V x

Math Rendered as SVG

Math as LaTeX Source

\begin{eqnarray*} z_ i | \mb{z}_{-i}, y_ i & \sim & \left\{ \begin{array}{ll} \mbox{normal}(m_ i, v_ i) I (z_ i > 0) & \mbox{if } y_ i = 1\\ \mbox{normal}(m_ i, v_ i) I (z_ i \leq 0) & \mbox{otherwise}\\ \end{array} \right. \\ m_ i & =& \mb{x}_ i \mb{B} - w_ i(z_ i - \mb{x}_ i \mb{B}) \\ v_ i & =& 1 + w_ i \\ w_ i & =& h_ i / (1-h_ i) \\ h_ i & =& (\mb{H})_ ii, \mb{H} = \mb{x} \mb{V} \mb{x}^{\prime } \end{eqnarray*}