Suppose jumps $X_1,X_2,....$ of a simple random walk and i.i.d distributed having beroulli random variables i.e
$P(X_1 = 1) = p ; P(X_1 = -1) = 1-p = q$
Random walk is the process ${[Y_n, n\ge0}]$ where $Y_0 = 0$ and $Y_n = Y_{n-1} + X_n $
I now have to show that the process $Y_n - n(p-q)$ is a martingale with respect to $[X_n, n=1,2,....]$
$$$$I started with the usual show that:
$$$$$E[Y_{n+1} - (n+1)(p-q)|X_1, X_2,.....,X_n] = Y_n -n(p-q) $
$$$$and i did this as follows:
$$$$$E[Y_{n+1} - (n+1)(p-q)|X_1, X_2,.....,X_n] = E[Y_{n+1}|X_1,...,X_n] -(n+1)(p-q)$
$= E[Y_n + X_{n+1}|X_1,...,X_n] -(n+1)(p-q)$
$=E[Y_n|X_1,...,X_n] + E[X_{n+1}] -(n+1)(p-q)$
$=Y_n +(1*p) + (-1*q) - (n+1)(p-q)$
$=Y_n - n(p-q)$
Which is the correct reslut, but i am not sure that my steps are correct. Mainly I am not 100% sure that $E[Y_n|X_1,...,X_n] $is really equal to $Y_n$.
Any help or tips?
To prove that a sequence is a martingale you first need to say with respect of what filtration it happens. Since you are going to calculate conditional expectations you also need to prove that the variables are integrable. About your specific doubt, $E[Y_n|X_1, \cdots, X_n]=Y_n$ because $Y_n$ is a function of $X_1, \cdots, X_n$ (you also need to remember the definition of conditional expectation, it is also important to you to recognize where you used the independence of $(X_i)_i$) and the remaining proof seems correct to me.
I hope I could help.