Alternative Equation Formats

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

MathML

d j = { 2 w j n j log ( q ^ j ) if  r j = 0 ± 2 w j [ r j log ( r j n j p j ^ ) + ( n j r j ) log ( n j r j n j q ^ j ) ] if  0 < r j < n j 2 w j n j log ( p ^ j ) if  r j = n j

Math Rendered as SVG

Math as LaTeX Source

\begin{eqnarray*} d_ j= & \left\{ \begin{array}{ll} -\sqrt{-2w_ jn_ j\log (\hat{q}_ j)} & \mbox{if }r_ j=0 \\ \pm \sqrt{2w_ j[r_ j\log (\frac{r_ j}{n_ j\hat{p_ j}})+ (n_ j-r_ j)\log (\frac{n_ j-r_ j}{n_ j\hat{q}_ j}) ]} & \mbox{if }0<r_ j<n_ j \\ \sqrt{-2w_ jn_ j\log (\hat{p}_ j)} & \mbox{if }r_ j=n_ j \end{array} \right. \\ \end{eqnarray*}