Let $M \in \mathbb{R}^{m,n}$. The entries are in {$0, 1$} (with the value $1$ having probability $p$, and the value $0$ having probability $(1-p)$).
What is the expected rank of $M$?
Follow-up: how does this change if the entries are in {$-1, 1$} instead of {$0, 1$}?
There is already a post on a similar question here: Expected rank of a random binary matrix?
But that post assumes $p=0.5$, and I am more curious about non-uniform random entries, e.g. $p=0.75$.
I dived into the paper the post linked, which listed many other formulas, but none of them assumed the entries are drawn from a Bernoulli distribution where $p \neq 0.5$.