Often, I encounter some problem were probability is involved. On an intuitive level, I understand I think what is going on but when I have to formalize it with probability spaces I am a bit lost.
For example :
"Pick an edge uniformly at random in a graph". I understand what this mean. It means that I pick any edge of the graph with probability $1/m$ where $m$ is the number of edges in the graph. But what is the probability space here? We have $\Omega = \{edges\}$ right? Is there a uniform random variable involved $X : \Omega \to \mathbb{R}$? I know that I should have $P(X=e_i)=\frac{1}{\mid \text{\{edges\}} \mid}$ but then it seems like the random variable goes from $\Omega$ to $\Omega$ which is kind of weird. What is this random variable actually?