I was making a Beamer presentation and am listing formulas and equations in a couple of the slides. Some of them I've used an array environment but I've noticed there's no corresponding equation number. Is there a way I can get that equation number to show and fall in line with other following equations?
Here's my coding:
Code: Select all
\begin{frame}
\frametitle{The Proportional Hazard Model}
\begin{equation}
T=\min\{T_0,I\}
\end{equation}
\[
\delta = \left\{
\begin{array}{l l}
1 & if \quad T_{0>I} \\
0 & if \quad T_{0\leq I}\\
\end{array} \right. \]
\begin{equation} \label{PH}
h(t)=\lambda(t)Exp(\beta X)
\end{equation}
\end{frame}