I am trying to write an equation that looks like this, everything should be left aligned on the right hand side.
I am using the following code to write this equation.
\begin{equation}
D_{it} = \Bigg\{if \ bank \ i \ issues \ ABS \ at \ time \ t \\
2 \ if \ bank \ i \ issue \ CBs \ at \ time \ t \\
\ 0 \ otherwise
\end{equation}
I am putting \\ for a new line but it does not work. Please guide how I can write the desired equation.


casesenvironment of theamsmathpackage. Also the\text{}macro for setting text inside math mode. – Steven B. Segletes Nov 03 '16 at 17:28