Alternative Equation Formats

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

MathML

P ( X i ) = j = 1 n y ( I ( Y j < X i )   +   0.5   I ( Y j = X i ) ) P ( Y j ) = i = 1 n x ( I ( X i < Y j )   +   0.5   I ( X i = Y j ) )

Math Rendered as SVG

Math as LaTeX Source

\begin{eqnarray*} P(X_ i) & = & \sum _{j=1}^{n_ y} \left( \, \mr{I}( Y_ j < X_ i ) ~ + ~ 0.5 ~ \mr{I}( Y_ j = X_ i) \, \right) \\ P(Y_ j) & = & \sum _{i=1}^{n_ x} \left( \, \mr{I}( X_ i < Y_ j ) ~ + ~ 0.5 ~ \mr{I}( X_ i = Y_ j) \, \right) \end{eqnarray*}