Consider the linear model $y_i = \beta^Tx_i + \epsilon_i$. If we assume $\epsilon_i$ are IID, then for MLE, it is claimed that $y_i|x_i$ is also IID for all $i$.
Does this always hold? If not, when does it break down?
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.
Sign up to join this communityConsider the linear model $y_i = \beta^Tx_i + \epsilon_i$. If we assume $\epsilon_i$ are IID, then for MLE, it is claimed that $y_i|x_i$ is also IID for all $i$.
Does this always hold? If not, when does it break down?
Marginal independence is a weaker condition than conditional independence, so the former does not imply the latter. If you are willing to make the stronger assumption that $\epsilon_1,...,\epsilon_n$ are IID conditional on the design matrix $\mathbf{x}$ (e.g., by assuming that the error terms are not only IID but also independent of the explanatory variables), then $y_1,...,y_n$ are also IID conditional on $\mathbf{x}$.
In regression analysis, we always proceed conditional on the explanatory variables, so the stronger assumption is the one that is made. (Usually this is an assumption that the error terms are IID and that they are jointly independent of the explanatory variables.) Often the conditioning statement is accidentally omitted in the statement of assumptions, and this is annoying becuase it leads to this kind of issue.