Stochastic Optimization problems in general deals with random variables in the 'loss function'.
Incase of a Deterministic optimization problem with basic objective $\parallel Ax-b \parallel_2^2$, we usually have,
\begin{equation} \min_{x} \parallel Ax-b \parallel_2^2 \end{equation}
With some uncertainty or possible variations in the data matrix A, it is natural to use the expected value of the objective function $\parallel Ax-b \parallel_2^2$:
\begin{equation} \min_{x} E\left( \parallel Ax-b \parallel_2^2 \right) \end{equation}
How is the above objective function different from the following objective function- \begin{equation} E\left( \min_{x} \parallel Ax-b \parallel_2^2 \right) \end{equation}
Certainly, for the basic objective function, first objective has a closed form compared the second objective. But, why aren't we dealing with the second objective in general ?
Which is more precise ?