Given a weighted graph, using the Kirchhoff's matrix tree theorem, how can I compute the marginal edge presence probability: $$P_\beta(ij)=Z_\beta^{-1}\sum_{\text{T spanning tree:$(i,j)\in E(T)$}}e^{-\beta W(T)}$$ knowing that:
- $Z_\beta=\sum_{\text{T spanning tree:}}e^{-\beta W(T)}$
- $W(T)=\sum_{(i,j)\in E(T)}W(i,j)$
- $P_{\beta}(T)=Z^{-1}_{\beta}e^{-\beta W(T)}$ (Boltzmann distribution).
I managed to calculate $Z_\beta$ using the Kirchhoff's matrix tree theorem, but I couldn't handle the sum.