\textbf{Question 2}
a)
\begin{align*}
P(a<\mu<b|\mathbf{y}) & = P(a<\mu|\mathbf{y}<b) \\
& = \int_{a}^b p(\mu|\mathbf{y}) d\mu \ \ \text{where} \ \ p(\mu|\mathbf{y}) \ \ \text{is a Student \textit{t} pdf.} \\
& = \int_{\mu} I_{(a<\mu|\mathbf{y}<b)} p(\mu|\mathbf{y}) d\mu
\end{align*}
\begin{align*}
\text{where} \ \ I_{(a<\mu|\mathbf{y}<b)} = \begin{cases} 1 & \text{if} \ a<\mu|\mathbf{y}<b \\ 0 & \text{otherwise} \end{cases}
\end{align*}
produces:
But I want it to look like:
ie, the first line of the align starts on the same line as a)
How can I adjust the code to do this?
|
to denote the "given" or "conditional on" symbol. There's a command called\mid
that inserts a vertical bar, but with thin spaces on either end. I think you'll like the resulting look.