Let $\{X_i\}$ be iid real random variables. And N be a random variable, taking values in $\mathbb{N}$.
My question is if $X_{N}$ has the same distribution as $X_{N+1}$, because of the iid assumption? If yes, have you any suggestions how to start this proof? Thank you verry much in advance!
We have:$$P\left(X_{N}\in A\right)=\sum_{n=0}^{\infty}P\left(N=n\right)P\left(X_{N}\in A\mid N=n\right)=$$$$\sum_{n=0}^{\infty}P\left(N=n\right)P\left(X_{n}\in A\mid N=n\right)$$ and:
$$P\left(X_{N+1}\in A\right)=\sum_{n=0}^{\infty}P\left(N=n\right)P\left(X_{N+1}\in A\mid N=n\right)=$$$$\sum_{n=0}^{\infty}P\left(N=n\right)P\left(X_{n+1}\in A\mid N=n\right)$$
So the answer is "yes" if: $$P\left(X_{n}\in A\mid N=n\right)=P\left(X_{n+1}\in A\mid N=n\right)\text{ for every }n\in\mathbb{N}$$
Sufficient conditions for this are:
$N$ and $X_n$ are independent for every $n\in\mathbb N$.
The rv's $X_{n}$ have identical distribution.