I have Bernoulli random graph model. With probability $p$ we take each edge. We have n vertices. Expected number of isolated vertices is $n{(1-p)}^{n-1}$.
But what about conditional expectation? I cant compute expected number of isolated vertices given number of edges.
I am starting with the definition $\mathbb{E}(X|Y)=\sum_{x \in X}x\mathbb{P}(X=x|Y)$ Where $X$ is the RV to denote number of isolated vertices, $Y$ is RV to denote number of edges in our random graph. $x \in \{0, 1, .. , n\}$.
And I can not compute probability $\mathbb{P}(X=x|Y)$. It is needed to know to compute this expectation by definition.
Maybe there is a good way to compute it or different way to compute conditional expectation.
Offtop: How to mark this as an answer?
– Nathan Oct 16 '16 at 15:25