I begin with a graph $G=(V,E)$. For each edge $e \in E$, I colour the edge with probability $p_e$. I'm looking for the probability that two vertices $v,w \in V$ are the endpoints of a coloured path.
For an example of what I mean, consider the following graph:
The path $\left \lbrace (0,5),\, (5,4) \right \rbrace$ has been coloured, and the vertices $\lbrace 0,\, 4 \rbrace$ are endpoints of a coloured path. Note that vertex $5$ is not the endpoint of a coloured path as I define it, since more than one of its incident edges is coloured.
I've taken a look in some basic books about statistics/graph theory (Maurer/Ralston, Grimmett), but not found an easy answer to the problem, or a statement that it's truly difficult. I'm not too familiar with the literature, so reading suggestions would be appreciated.