Alternative Equation Formats

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

MathML

f ( y ) = { p for  y = 1 1 p for  y = 0 E ( Y ) = p V a r ( Y ) = p ( 1 p )

Math Rendered as SVG

Math as LaTeX Source

\begin{eqnarray*} f(y) & = & \left\{ \begin{array}{ll} p & \mbox{for } y=1 \\ 1-p & \mbox{for } y=0 \\ \end{array} \right. \\ \mr{E}(Y) & = & p \\ \mr{Var}(Y) & = & p(1-p) \\ \end{eqnarray*}