From a course problem:
Consider the regression model, $$y_i=\alpha_i+\beta x_i+\epsilon, \hspace{1em} i=1,\dots,n,$$ with $\epsilon_i\sim\text{N}(0,1/\lambda)$ i.i.d. and prior structure \begin{align}\alpha_i&\sim\text{N}(\mu,1/p) \; \text{independent for }i=1,\dots,n,\\\mu&\sim\text{N}(a,1/r),\\\beta&\sim\text{N}(b,1/q),\\\lambda&\sim\text{Ga}(c,d).\end{align} Show that the full conditional of each of the intercepts $\alpha_i$ is Gaussian and provide explicit expression for the parameters.
I'd like to begin by writing $$\pi(\alpha_i|\text{some variables})\propto\pi(\alpha_i)f(\text{some variables}|\alpha_i)$$ but I'm not sure what those variables should be. From given solutions I can deduce that $$f(\text{some variables}|\alpha_i)\propto\exp\left(-\frac{\lambda}{2}(y_i-\alpha_i-\beta x_i)^2\right);$$ does that mean $f$ should be $$f(y_i,\beta,x_i,\lambda|\alpha_i)?$$