Let $(X_n)$ be a simple random walk that starts from $X_0 = 0$ and on each step goes up one with probability $p$ and down one with probability $q = 1 − p$.
I need to calculate:
$E[X_8 | X_4 = -2] $
I have already calculated that $E[X_4] = 4(p-q)$. Would the answer just be $-2 + E[X_4]$ seeing as now essentially $-2$ is the starting point? Any help would be appreciated.
Yes, conditioned on $X_4=-2$, the remainder of the walk is a simple random walk starting at $-2$ and going up with probability $p$ and down with probability $1-p$ at every step.