# iid variables, do they need to have the same mean and variance?

If two random variables $x$ and $y$ are identical and independently distributed, do they need to have the same mean and variance? Can there exist a case where they are iid and still have different parameters?

-

If two variables are iid , then they must have the same distribution.Which means they have the same parameters namely mean, std dev.

-

The mean and variance are determined by the distribution. Thus, if they have the same distribution, they must have the same mean and variance.

-

If $X$ and $Y$ are iid random variables with cumulative distribution function $F(t)=\mathbb{P}(X\leq t)=\mathbb{P}(Y\leq t)$ and if mean and variance of the variables exists, then $$\mbox{E}X=\int_\mathbb{R}tdF(t)$$ and $$\mbox{Var}X=\mbox{E}X^2-(\mbox{EX})^2=\int_\mathbb{R}t^2dF(t)-(\mbox{E}X)^2.$$ If $F(t)$ is differentiable then you can write $\int_\mathbb{R}tdF(t)$ as $\int_\mathbb{R}tf(t)dt$ where $f(t)$ is a density function of $X$ and $Y$. So if idd variables are defined with such distribution functions, then there is no difference in means and variances. But it might happen that your variable does not have variance or mean. One example is Cauchy random variable, then you can't say anything about the mean or variance, because those characteristics simply do not exist.

-